nRF51 SDK - S110 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
BLE DTM

DTM - ble_dtm_init

Function packet format

Frame format encoding of the ble_dtm_init packet.

The ble_dtm_init is encoded without a operation code byte. Packet contains only DTM UART configuration (TX pin, RX pin and baud rate).

The order of the encoding is:

Length Parameter Value
1 byte UART TX DTM UART transmit pin.
1 byte UART RX DTM UART receive pin.
1 byte UART Baudrate DTM UART baud rate.


ble_dtm_init_packet.png
Figure 1: Encoding of ble_dtm_init.


Response packet format

Frame format encoding of the ble_dtm_init response packet:

Length Parameter Value
4 bytes nRF Error Code see ble_dtm_init


response_only_error_code.png
Figure 2: Packet format for ble_dtm_init response.