Mar 11, 2020
08:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 11, 2020
08:23 AM
Hello!
I have some troubles with UART. I'm trying to send message using wiced transport, but I don't recive expected message from another side.
I used different modes of operation for UART:
WICED_TRANSPORT_UART_HCI_MODE,
WICED_TRANSPORT_UART_RAW_MODE,
Code:
uint8_t data[] = "\x01\x00\x21\x02\x11\x01\xBD\x67";
wiced_result_t res = wiced_transport_send_data( HCI_CONTROL_COMMAND_UNBOND, data, sizeof(data));
if (res != WICED_SUCCESS)
{
WICED_BT_TRACE ( "Cannot send maja message \n");
}
Expected result: 01 00 21 02 11 01 BD 67 00
Current result: 19 0A 00 09 00 01 00 21 02 11 01 BD 67 00
How to avoid the appearance of a header '19 0A 00 09 00' in a message received through UART.
Thank you.
Solved! Go to Solution.
1 Solution
Apr 10, 2020
01:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 10, 2020
01:50 AM
4 Replies