WriteEeprom
WriteEeprom

Contains logic for the WriteEeprom Node command

Functions
buildCommand
static ByteStream buildCommand(
NodeAddress nodeAddress,
uint16 eepromAddress,
uint16 valueToWrite
)

Builds the WriteEeprom command packet

Parameters
nodeAddress

the address of the Node to build the command for

eepromAddress
uint16

the Eeprom address to write to

valueToWrite
uint16

the value to write to the Eeprom

Returns

A ByteStream containing the command packet

Constants
Packet Bytes
COMMAND_ID

0x0004  - The Command ID for the WriteEeprom Command