handleZwApplicationUpdate method

  1. @override
void handleZwApplicationUpdate(
  1. List<int> data
)

FUNC_ID_ZW_APPLICATION_UPDATE - Get a list of supported (and controller) command classes

Implementation

@override
void handleZwApplicationUpdate(List<int> data) {
  /*
  application update message:
  data[0] - 0x01 SOF
  data[1] - message length excluding SOF and checksum
  data[2] - 0x00 request or 0x01 response
  data[3] - function id 0x49 application update
  data[4] - sub command (e.g. UPDATE_STATE_NODE_INFO_RECEIVED)
  data[5] - source node
  data[6] - command length
  data[*] - command data
  data[n] - checksum
   */
  nodeWithId(data[5]).dispatchApplicationUpdate(data);
}