AnsweredAssumed Answered

How can i send 0x00,0x07,0x08,0x0a,0x0d,0x1b using HAL_UART_Transmit??

Question asked by sohaeng.lee on Sep 24, 2016
Latest reply on Sep 24, 2016 by Clive One
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);

------------------------------------------------------------------------



Outcomes