root
Toggle table of contents
goblin-drivers
Target filter
goblin-drivers
Switch theme
Search in API
Skip to content
root
root
/
fi.utu.tech.powergoblin.drivers.usb
/
SmartPowerHandler
/
Handler
Handler
goblin-drivers
inner
class
Handler
:
AutoCloseable
,
Runnable
Members
Constructors
Handler
Link copied to clipboard
goblin-drivers
constructor
(
)
Properties
cmd
Queue
Link copied to clipboard
goblin-drivers
val
cmdQueue
:
LinkedBlockingQueue
<
SmartPowerProtocol
>
Functions
close
Link copied to clipboard
goblin-drivers
open
override
fun
close
(
)
init
Link copied to clipboard
goblin-drivers
fun
init
(
)
Initialize the smart power firmware. Only required just before starting measurement.
read
Link copied to clipboard
goblin-drivers
fun
read
(
)
:
ByteArray
run
Link copied to clipboard
goblin-drivers
open
override
fun
run
(
)
write
Link copied to clipboard
goblin-drivers
fun
write
(
msg
:
SmartPowerProtocol
)