Micro Tracker Reference Guide FW 1.7 V1.1
Page 14 of 39
11th october 2018
Restricted distribution
The complete request content is shown below.
Writing parameter value with Write Command
Byte 0
Byte 1
Byte 2-5
WRITE_CMD
(
always 0x01
)
Parameter ID
Parameter Value
Before sending another command, the
Client application
should wait for the reception of the
NOTIFICATION
(containing the write status). Such a message is displayed below.
Writing parameter response from Notification
Status
Bytes 0
Success
0x00
Invalid payload
0x01
Invalid Parameter ID or value
0x03
Example:
To set the parameter having the identifier 0x05 with the value 0x01, the write command (
WRITE_CMD
)
0x010500000001 should be sent.
A
NOTIFICATION
will be received in response, with 0x00 if the write operation is a success.
4.3.6.3
Read parameters
Once the notification has been enabled, the
Client application
can read a parameter value by sending a write
command (
WRITE_CMD
) containing the parameter identifier to be read.
Reading parameter value with Write Command
Byte 0
Byte 1
Read Command (
always 0x00
)
Parameter ID
The response is contained within the following
NOTIFICATION
message.
Remember that the
Client application
should wait for this
NOTIFICATION
message before sending another
command.