2016-09-24 02:37 AM
hi
I'm using nuclei-f446re and LoRA communication module.recently, i tried to send 0x00(null).but i can't.so i tried all all code send using LoRA comm module to another module. The result was not successful.Not sent char : 0x00, 0x07, 0x08, 0x0A, 0x0D, 0x1B (6 character not sent)How can i send this character?source code------------------------------------------------------------------------
for
(n=0;n<=97;n++) sendData[n] = n;sendData[98] =
'\r'
;sendData[99] =
'\n'
;HAL_UART_Transmit(&huart2,(
uint8_t
*)sendData,100,1000);------------------------------------------------------------------------2016-09-24 03:52 AM
Can you send something else like text. I ask because it matters if you are able to send something or nothing at all.
2016-09-24 06:26 AM
Sounds like you might want to read the documentation for your LoRA module to understand how it actually works and what it expects.
I suspect that you need to look at how it ''escapes'' special characters, like you do in C '\n' or ESC ESC for other protocols.