PreviousNext
Standard operations in general
Help > Peripherals > Standard operations in general

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. If the [sync] command is executed on [C] it important to send a next command after it is fully executed or the subsequent command will be ignored.

 

Commands marked [comdown] wait for a maximum of 100 ms to flush output buffers of SPI/UART Peripheral/Interface and then shut it down. This is to prevent raising HW interrupts or to release the OS bufferCOM variable that is 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.