Commands marked [sync] are executed after IQMESH routing is finished thus this event is synchronized among all devices that handled the original DPA Request. This applies to the DPA Request being sent using the broadcast address.
Commands marked [comdown] wait for a maximum of 100 ms to flush output buffers of SPI/UART Peripheral/Interface and then shuts it down. This is to prevent raising HW interrupts or to release the OS bufferCOM variable that has to be used internally. After the command is finished the object is restarted.
DPA Requests may return the following error codes:
ERROR_PCMD The
PNUM does not support the specified PCMD.
ERROR_PNUM The specified PNUM is not supported or the PNUM does not support the specified PCMD.
ERROR_DATA_LEN The number of bytes at the PData message parameter is not appropriate for the specified PNUM/PCMD pair.
ERROR_HWPID The
specified HWPID does not correspond to an HWPID of the device.
ERROR_NADR The NADR specifies the non-bonded device.