Integration Guide

SMK900 Integration Guide Revision 4
0x03
Packet Type
0x04 = SetRegister
0x04
Register Type
0x00=RAMBUF (direct register writes disallowed for RAM and EEPROM
banks)
0x05
Register Offset
0x00-0x14 = Configuration register offset in register bank
0x06
Register Size
0x01-0x08 = Configuration register size (N) of register to be written
0x07 - …
Register content
From 1 to 8 bytes of data (byte count is N): this is the content of register being
modified, with variables or structures being stored in a Little-Endian manner
SetRegisterReply
This is the reply corresponding to SetRegister 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
SetRegister as the wrapped command.
SetRegisterReply (reply)
Byte offset
Field
Description
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
0x14 = SetRegisterReply
TransferConfig
This is a command for transferring content from one register bank to another bank (see section 7.3
for the definition of register banks), or to reset node to factory settings. Note that a factory reset
might set the node address to another address than its current address, in which case the node
address should be changed to its desired value immediately after a factory reset operation (either
via local SetRegister UART command writing new values in RAMBUF bank register addressBuf as
defined in section 7.3, followed by a TransferConfig command for RAMBUF to EEPROM, followed
by a device reset, or via the equivalent VM execution commands, which are defined in section 5).
This command can be wrapped as an air command.
TransferConfig (command)
Byte offset
Field
Description
0x00
Start-of-Packet
0xFB = Indicates start of protocol formatted message
0x01 - 0x02
Length
0x02 0x00 = Number of bytes in message following this byte (Little-Endian)
0x03
Packet Type
0x0B = TransferConfig
0x04
Transfer Type
0x00 = RAM->TMP, 0x01 = TMP->RAM, 0x02 = TMP->EEPROM, 0x03 = RESET
TO FACTORY DEFAULTS
TransferConfigReply
This is the reply corresponding to TransferConfig 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 TransferConfig as the wrapped command.
TransferConfigReply (reply)
Byte offset
Field
Description
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
0x1B = TransferConfigReply
TXAirCmdWrapper
This command is used to wrap a local serial device command, so that it can be rerouted from a
gateway to a given set of nodes, and executed there. This is useful when one needs to send a
29