...
dn_uart.h
: these functions allow the to send bytes over the serial port, and receive bytes from the serial port. A "flush" function is provided in case the serial (UART) driver of your platform is buffer-oriented rather than byte-oriented, e.g. if the serial port is driven through a DMA module. The doesn't handle flow control - the mote doesn't need it when your microcontroller is sending incoming flow control (the UART_RX_CTSn
and UART_RX_RTSn
lines) when your microcontroller is sending . You will need to monitor UART_TX_RTSn
and assert/de-assert UART_TX_CTSn
as part of your application if your microcontroller cannot wake on data.
dn_lock.h
: these functions allow the to operate in a multi-threaded environment. If this is the case in your system, your implementation of these functions would typically consist is pending/posting a mutual exclusion semaphore (mutex). You can use stub functions (i.e. empty functions) if the does not operate in a multi-threaded environment.
...
{"serverDuration": 247, "requestCorrelationId": "b6fed5ed2d074458b70bb6811c73a1f3"}