i want to send a picture with GPRS module and through a TCP connection to a server. but my picture contains some "1a" (CTRL+Z) value in some bytes. As we know this is the terminator character for sending sms or data with AT commands. how can I send ctrl+z as a byte of data ?
Also when sending process reaches to character \0, it stops and returns an error. I mean GPRS module sends ERROR to serial port. Example:
FF D8 FF E0 00 10
FF and D8 and FF and E0 will send successfully but error occurred at 00. what is the problem? thanks.
I was working on a project to sen sms from pc using AT Commands. Here I was using following command for ctrl+z.
outputStream.write(26);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With