Electronics > Projects, Designs, and Technical Stuff
SIM900 alternative
Marco:
--- Quote from: hussamaldean on September 10, 2019, 06:20:52 pm ---implanting such interrupt won't serve me anything since the data I receive is only when I receive the status of 200 otherwise I shall repeat the scenario.
--- End quote ---
You still need flow control, either RTS/CTS or XON/XOFF ... do you have flow control?
hussamaldean:
--- Quote from: FreddieChopin on September 10, 2019, 06:26:54 pm ---if latency is important then use UDP or raw sockets (works on XP without SP1)
--- End quote ---
the server requires JSON format and I have to use HTTP due to server limitation
FreddieChopin:
--- Quote from: hussamaldean on September 10, 2019, 06:35:51 pm ---
--- Quote from: FreddieChopin on September 10, 2019, 06:26:54 pm ---if latency is important then use UDP or raw sockets (works on XP without SP1)
--- End quote ---
the server requires JSON format and I have to use HTTP due to server limitation
--- End quote ---
Well there's your problem. First you use bloated HHTP and then bloat it even further with JSON. With right assembly code you can get few Mbit/s speed out of bock standard USART.
hussamaldean:
--- Quote from: FreddieChopin on September 10, 2019, 06:42:23 pm ---
--- Quote from: hussamaldean on September 10, 2019, 06:35:51 pm ---
--- Quote from: FreddieChopin on September 10, 2019, 06:26:54 pm ---if latency is important then use UDP or raw sockets (works on XP without SP1)
--- End quote ---
the server requires JSON format and I have to use HTTP due to server limitation
--- End quote ---
Well there's your problem. First you use bloated HHTP and then bloat it even further with JSON. With right assembly code you can get few Mbit/s speed out of bock standard USART.
--- End quote ---
few Mbps will be impossible since the module maximum baud rate is 115200bps
Marco:
Without flow control higher transfer rate between your microcontroller and the modem will just help you to screw up faster.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version