x-IMU3 User Manual v0.11
April 6, 2022
8.1.8 Ping command
The ping command is sent to the device to trigger a ping response. The key is "ping" and the value is null.
The device will acknowledge a ping command by sending a ping response to the host.
Example:
"ping":null r n
8.1.9 Ping response
The ping response is sent from the device to the host in response to the ping command. The key is "ping" and
the value is a JSON object containing three key/value pairs indicating the communication interface, device
name, and device serial number. The keys are "interface", "deviceName", and "serialNumber", respectively
and all values are string types.
Example*:
"ping":
"interface":
"deviceName":
"serialNumber":
r n
* The actual JSON will not include any whitespace.
8.1.10 Reset command
The reset command is sent to the device to reset the device. The key is "reset" and the value is null. A reset
is equivalent to switching the device off and then on again. The device will reset two seconds after receiving
this command.
Example:
"reset":null r n
8.1.11 Shutdown command
The shutdown command is sent to the device to switch the device off. The key is "shutdown" and the value is
null. The device will shutdown two seconds after receiving this command.
Example:
"shutdown":null r n
8.1.12 Strobe command
The strobe command is sent to the device to strobe the LED bright white for 5 seconds. The key is "strobe"
and the value is null. This command can be used to quickly find a specific device when using multiple devices.
Example:
"strobe":null r n
8.1.13 Colour command
The colour command is sent to the device to set the LED colour. The key is "colour" or "color" and the value
is either a Red Green Blue (RGB) hex triplet expressed as a string, or null. Setting the colour will override the
normal LED behaviour. A value of null will restore the normal behaviour.
Example:
"colour":"FFFFFF" r n
"USB",
"x-IMU3",
"0123-4567-89AB-CDEF"
20
Need help?
Do you have a question about the x-IMU3 and is the answer not in the manual?