Integration Guide

SMK900 Integration Guide Revision 4
0x00
Start-of-Packet
0xFB = Indicates start of protocol formatted message
0x01 - 0x02
Length
0x01 0x00 = Number of bytes in message following this byte (Little-Endian)
0x03
Packet Type
0x1A = DynConfigReply
GetRegister
This is a configuration parameter register read command, in a certain register bank, and with a
given offset (see section 7.3 for specific configuration register details). Note that the correct
expected register size has to be provided as an argument, as the transceiver will use this to verify
validity of the GetRegister command (in case of an invalid size, it will return an error event
message). This command can be wrapped as an air command.
GetRegister (command)
Byte offset
Field
Description
0x00
Start-of-Packet
0xFB = Indicates start of protocol formatted message
0x01 - 0x02
Length
0x04 0x00 = Number of bytes in message following this byte (Little-Endian)
0x03
Packet Type
0x03 = GetRegister
0x04
Register Type
0x00=RAMBUF, 0x01=RAM, 0x02=EEPROM (configuration register bank
selector)
0x05
Register Offset
0x00-0x14 = Configuration register offset in register bank
0x06
Register Size
0x01-0x08 = Requested configuration register size
GetRegisterReply
This is the reply corresponding to GetRegister command. An equivalent air command reply wrapped
accordingly can be sent out from a node back to its gateway if the latter sent an air command with
GetRegister as the wrapped command.
GetRegisterReply (reply)
Byte offset
Field
Description
0x00
Start-of-Packet
0xFB = Indicates start of protocol formatted message
0x01 - 0x02
Length
(0x04 + N) 0x00 = Number of bytes in message following this byte
(Little-Endian), where N is the Register Size parameter (see below)
0x03
Packet Type
0x13 = GetRegisterReply
0x04
Register Type
0x00=RAMBUF, 0x01=RAM, 0x02=EEPROM (configuration register bank
selector)
0x05
Register Offset
0x00-0x14 = Configuration register offset in register bank
0x06
Register Size
0x01-0x08 = Returned configuration register size (N)
0x07 - …
Register content
From 1 to 8 bytes of data (byte count is N): this is the content of register being
read, with variables or structures being stored in a Little-Endian manner
SetRegister
This is a configuration parameter register write command, in a certain register bank, and with a
given offset (see section 7.3 for specific configuration register details; note that some registers are
read-only). The correct expected register size has to be provided as an argument, as the transceiver
will use this to verify validity of the SetRegister command (in case of an invalid size, it will return an
error event message). This command can be wrapped as an air command.
SetRegister (command)
Byte offset
Field
Description
0x00
Start-of-Packet
0xFB = Indicates start of protocol formatted message
0x01 - 0x02
Length
(0x04 + N) 0x00 = Number of bytes in message following this byte
(Little-Endian), where N is the Register Size parameter (see below)
28