-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
esp-modem next step : ppp auth ? (IDFGH-12496) #542
Comments
Ah, found esp_netif_ppp_set_auth() somewhere, but it doesn't seem to make a difference. See https://sourceforge.net/p/lilygo-t-sim-7080-s3/code/HEAD/tree/trunk/modem1/main/pppos_client_main.c Current output :
|
With logs set to verbose, two stack overflows appeared to happen which previously went undetected.
How do I debug further ? |
Ok, looks like I also needed a loop to wait on good signal quality. The initial wait (which the sim7080g docs describe as 12 seconds after triggering it with pin 39) doesn't work well for me yet. This piece of code :
Any clues on how to make it reliable ? |
Hi @dannybackx I'm sorry we cannot help with the initial sequence. It's out of the scope of this library and very much dependent on the actual device and needs. but again, should be adjusted to the actual application needs. |
Understandable, thanks for providing input anyway. Meanwhile I found a solution, I think (see below) - do the described startup sequence twice with 2s waits surrounding it. Not the 12s mentioned in the doc. So for me this successfully starts the modem on a LilyGo T-SIM7080-S3
|
Answers checklist.
General issue report
My SIM card provider wants me to set username + password.
In the example Kconfig files, there are variables like EXAMPLE_MODEM_PPP_AUTH_USERNAME but none of the examples seem to use this.
So how should I set these ?
I'm staring at this section of pppos_client_main.c and I'm guessing it should go here somewhere, but ..
The text was updated successfully, but these errors were encountered: