I want to send an image with a GPRS module and through a TCP connection to the server. but my photo contains some value "1a" (CTRL + Z) in some bytes. As we know, this is a terminator character for sending SMS or data using AT commands. how can i send ctrl + z as a data byte?
Also, when the sending process reaches the \ 0 character, it stops and returns an error. I mean, the GPRS module sends ERROR to the serial port. Example:
FF D8 FF E0 00 10
FF and D8 and FF and E0 will send successfully, but the error occurred at 00. what is the problem? Thank you
saeed source share