Page 59
SmartOne C User Manual
Confidential & Proprietary Information
9100-0410-01 R2.4
SEND RAW MESSAGE (SERIAL MESSAGE TYPE 0X27)
The SmartOne will send raw user data using the Raw Payload command 0x27.
53 bytes plus 6 bits of user data may be sent. Two bits are set in the on-air message by the SmartOne informing the
recipient that the message is Raw.
The following table defines the message structure used to send a Raw message.
BYTE
BIT
PARAMETER
DESCRIPTION
DEFAULT VALUE
0
7.2
SUBMASK BITS
User data bits. Bits 1:0 are reserved and will be
masked by SmartOne
0X00
VARIABLE
USER DATA
Any user data
Supports a maximum of 53 total bytes in this field.
User application (smart sensor) should transmit only as
many bytes as needed (don’t pad the message) in order
to keep on air packets to a minimum
Example 1 - Sending a Raw User Message:
The Host sends:
AA 0E 27 10 22 33 44 55 66 77 88 99 <CRC-low> <CRC-high>
The SmartOne Responds:
AA 05 27 <CRC-low> <CRC-high>
What actually goes out over the air is:
12 22 33 44 55 66 77 88 99
NOTE:
The least two significant bits of the first byte are always “10” for a raw message (a HEX or decimal
value of “2”, the remaining 6 bits make up the top 6 bits of the first byte sent in the serial command, in this
example 000100xx (with the “xx” representing the two bits that the SmartOne forces to “10”).
Example 2 - Using a Longer Message:
The Host sends:
AA 21 27 10 22 33 44 55 66 77 88 99 AA BB CC DD EE FF 11 22 33 44 55 66 77 88 99 AA 44
56 78 <CRC-low> <CRC-high>
NOTE:
The length field, the command contains a total of 33 bytes. The length is 21 Hexadecimal,
which is equal to 33 decimal.
The SmartOne Responds:
AA 05 27 <CRC-low> <CRC-high>
What actually goes out over the air is:
12 22 33 44 55 66 77 88 99 AA BB CC DD EE FF 11 22 33 44 55 66 77 88 99 AA 44 56 78 00
00 00 00 00 00 00 00
NOTE:
All on air messages are padded to a multiple of 9 bytes. This is the reason for the trailing zeros in
this example.