hello!
I am developing communication using Nordic UART Service.
It defines the protocol of data sent by the ble_nus_data_send() function.
( err_code = ble_nus_data_send(&m_nus, data_array, &length, m_conn_handle); )
When composing a communication protocol, for reliability, it usually starts with STX (0x02) and ends with ETX (0x03) and uses length and checksum.
|STX | Length | data~~~~~~ | checksum | ETX |
By the way, if Nordic UART Service is used this time, I think there will be a data structure for reliability as above in the payload of Nordic UART Service. Is it okay to omit it and transmit only data?
|STX | Length | data~~~~~~ | checksum | ETX | =====> only data~~~~~~
Additionally, I want to see the data packets from NUS, but I can't find them. If it is public, please link.