by bewo001 · 3y ago · 0 comments
It is astounding that the 3g/4g modem industry did not come up with a better way to talk to their devices. Even ISDN had a widely implemented proper API.
In any case, it fills me with equal parts nostalgia, awe, and fear. :)
https://docs.espressif.com/projects/esp-at/en/latest/esp32/A...
Setting up a data connection over QMI / MBIM however is much easier and more efficient than messing around with AT + PPP
No parsing of text. No escaping of '+++' to avoid that a '+++ATH' in the data stream closes the connection (I wonder how the download time of a file containing only '+' differs from a file with other characters).
And with increasing mobile network speeds, you really want something like DMA instead of reading individual bytes from a serial interface.
<pause>+++<pause>ATH<CR>
The pauses, I think 1 second by default, were exactly for this reason. "+++ATH" racing by in a data stream would be transmitted as is.
Or is that an urban legend of some sort?