Home > database >  How to read and write in PB serial port operation from a serial port receives the null character (th
How to read and write in PB serial port operation from a serial port receives the null character (th

Time:09-20

How to read and write in PB serial port operation from a serial port receives the null character (that is, the hexadecimal '~ h00)?
Urgent urgent!!!!!! thank you

CodePudding user response:

http://download.csdn.net/detail/pcwe2002/4771500
 
Long ll_error ll_event, ll_len
String ls_data
Blob lb_data

Ll_event=LOWORD (wparam)


Lb_data=https://bbs.csdn.net/topics/blob (space (1024))
If ll_event=1 then
//data read lb_data, ll_len for the length of the read, lb_data can contain 0 x00
SatSerial_Read (il_serial lb_data, 1024, ll_len)
//mle_1. Text +=trim (string (lb_data))
End the if

CodePudding user response:

Download the above address is wrong, changed to: http://download.csdn.net/detail/pcwe2002/4780334

CodePudding user response:

http://download.csdn.net/detail/pcwe2002/4780334

CodePudding user response:

refer to the second floor pcwe2002 response:
download address is wrong, changed to: http://download.csdn.net/detail/pcwe2002/4780334


Turned out to be charge!
  • Related