Serial Accessory Message; Notification Message - X-IO x-IMU3 User Manual

Hide thumbs Also See for x-IMU3:
Table of Contents

Advertisement

x-IMU3 User Manual v0.11
April 6, 2022
The following message examples are for a timestamp of 1 second (1,000,000 microseconds) and argument
values of:
1. RSSI percentage =
2. RSSI power =
-50
ASCII example:
W,1000000,100.000,-50.0000
Binary example:
D7 40 42 0F 00 00 00 00 00

8.2.13 Serial accessory message

The serial accessory message provides timestamped received serial accessory data. Serial accessory
messages are sent as serial accessory data is received as configured in the device settings. The first value of
an ASCII message is the character "S" and the argument is the received data. Received byte values less than
0x20 or greater than 0x7E will be replaced with the character "?" so that the argument is a string of printable
characters. The string is not null-terminated. The first byte of a binary message is 0xD3 (equal to 0x80 + "S")
and the argument is the unmodified received data. The message arguments are described in Table 25.
The following message examples are for a timestamp of 1 second (1,000,000 microseconds) and argument
values of:
1. Data =
0x61 0x62 0x63 0x31 0x32 0x33 0xF1 0xF2 0xF3
ASCII example:
S,1000000,abc123???
Binary example:
D3 40 42 0F 00 00 00 00 00

8.2.14 Notification message

The notification message provides timestamped notifications of system events. Notification messages may be
sent by the device at any time and cannot be disabled. The first value of an ASCII message is the character
"N". The first byte of a binary message is 0xCE (equal to 0x80 + "N"). The argument of both ASCII and binary
messages is a string of printable characters. The string is not null-terminated. The message arguments are
described in Table 26.
Argument
1
2
Table 24: RSSI message arguments
100
Argument
Description
1
Received serial accessory data
Table 25: Serial accessory message arguments
r n
Argument
1
Table 26: Notification message arguments
Description
RSSI percentage
RSSI power in dBm
r n
00 00 C8 42
00 00 48 C2
61 62 63 31 32 33 F1 F2 F3
Description
Notification string
0A
0A
30

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the x-IMU3 and is the answer not in the manual?

Table of Contents