Closed diplfranzhoepfinger closed 7 months ago
@david-cermak
here is my Ouput of
https://gist.github.com/diplfranzhoepfinger/8085a54f2320639e93eab6c43a846061
running this Code
@diplfranzhoepfinger Did you include the fix I mentioned in https://github.com/espressif/esp-protocols/issues/375#issuecomment-1772525793 ?
Just merged it yesterday; and added a new CI runner, which runs this example (S2+A7670E) https://github.com/espressif/esp-protocols/actions/runs/6628377154/job/18006092226#step:5:161 with this config:
this looks cool, i will try.
With your mentioned patch it works perfect in INFO Logging Mode:
Gist with Logs:
INFO https://gist.github.com/diplfranzhoepfinger/44aa433829e36bc7266f11f1e7fc5ab2
VERBOSE https://gist.github.com/diplfranzhoepfinger/0e478bf118ab78914b6a202e7488ae67
Repo with my Code: https://github.com/diplfranzhoepfinger/esp-protocols-tree-master-components-esp_modem-examples-pppos_client/tree/v0.2
Good to hear that it works, closing then
This would create the corresponding DTE with these two terminals already included:
https://github.com/espressif/esp-protocols/blob/3e8de3af3a8bda2c1b0b1eb3e20c277fe123c40a/components/esp_modem/examples/pppos_client/main/pppos_client_main.c#L220-L222
The rest is the exactly same (one DTE, one DCE, one network interface).
PS: This constructs a DTE which simply takes two terminals, and sets the mode to
DUAL_MODE
so no further switching is necessary.https://github.com/espressif/esp-protocols/blob/3e8de3af3a8bda2c1b0b1eb3e20c277fe123c40a/components/esp_modem/src/esp_modem_dte.cpp#L33-L36
Originally posted by @david-cermak in https://github.com/espressif/esp-protocols/issues/375#issuecomment-1773086446
so, made a github here: https://github.com/diplfranzhoepfinger/esp-protocols-tree-master-components-esp_modem-examples-pppos_client/tree/feature/USB-Modem
and a log here: https://gist.github.com/diplfranzhoepfinger/0a3c1c1921502d753910e54c7af1fdc7
strange thing:
AT+CSQ
is replied by
+CSQ: 99,99
but we get a
E (22361) pppos_example: esp_modem_get_signal_quality failed with -1 ESP_FAIL