Communicate with USB and Bluetooth HID devices using signal11/hidapi.
devices:=hid_enumerate ()
Parameter
Type
Description
devices
COLLECTION
status:=hid_open (vendor_id;product_id;serial_number)
Parameter
Type
Description
vendor_id
LONGINT
product_id
LONGINT
serial_number
TEXT
status
OBJECT
status:=hid_open_path (path)
Parameter
Type
Description
path
TEXT
status
OBJECT
hid_close (device)
Parameter
Type
Description
device
LONGINT
status:=hid_write (device;data)
Parameter
Type
Description
device
LONGINT
data
BLOB
status
OBJECT
status:=hid_read (device;data{;milliseconds})
Parameter
Type
Description
device
LONGINT
data
BLOB
milliseconds
LONGINT
status
OBJECT
status:=hid_send_feature_report (device;data)
Parameter
Type
Description
device
LONGINT
data
BLOB
status
OBJECT
status:=hid_get_feature_report (device;data)
Parameter
Type
Description
device
LONGINT
data
BLOB
status
OBJECT
status:=hid_set_nonblocking (device;nonblocking)
Parameter
Type
Description
device
LONGINT
nonblocking
LONGINT
status
OBJECT
PREVIOUSSimple PostgreSQL Client