mongoose-os-libs / pppos

PPPoS / cellullar modem support
Other
27 stars 23 forks source link

u-blox nina lisa u200 and sara g350 #25

Open tcpipchip opened 2 years ago

tcpipchip commented 2 years ago

Lisa u200 works perfectly on mongoose pppos :) To make the Sara works i had to comment these line! Now working perfectly too :) image

rojer commented 2 years ago

interesting. AT+COPS operator selection is a standard command, i don't see why it wouldn't work. can you run at debug.level=3 and post output?

tcpipchip commented 2 years ago

hi, where i enable debug.level=3 ? And do you want the debug with uncommented option, right ?

rojer commented 2 years ago

hi, where i enable debug.level=3 ?

add - ["debug.level", 3] to your app's config_schema section or after flashing, and assuming you have rpc-uart library, run mos config-set debug.level=3

And do you want the debug with uncommented option, right ?

yes, naturally.

tcpipchip commented 2 years ago

attached very weird Attached capture.txt capture2.txt capture3.txt capture4.txt capture5.txt

tcpipchip commented 2 years ago

i see in the source code some comments about g350, then looks that already was tested on G350.

rojer commented 2 years ago

that was before the quick operator reconnect was introduced, i didn't test it afterwards.

mgos_pppos.c:127        >> AT+COPS=0
mgos_pppos.c:137        8 -> 9 13.198152 613.194741
mgos_pppos.c:777        Command failed: AT+COPS=0

we don't log the response, really? dammit. can you hack the code a bit to print the response when at LL_DEBUG?

tcpipchip commented 2 years ago

Hi @rojer Weird that works perfectly with SARA G450 and LISA U200. On G350 the AT+COPS=0 returns nothing...i tested on REALTERM...very weird! Maybe is hardware G350 problem...(firmware is updated) But if you send again AT+COPS=0 i finally gets a OK Looks that there is not a TIME OUT implemented to AT+COPS=0 command...and stay in a LOOP.

tcpipchip commented 2 years ago

btw, i love this PPPos, one of more stable that i have seen!

rojer commented 2 years ago

indeed, weird. so maybe just implementing a retry of COPS command will do? kinda hacky, but not too difficult.

tcpipchip commented 2 years ago

yes, should be good! I had tried to do that...but i am still not familiar with the CODE :)

tcpipchip commented 2 years ago

@roger let me know when have updates :)

rojer commented 2 years ago

i checked my pile of stuff and i actually happen to have the 350 in there. when i get some spare time i'll set it up and see what's up.

tcpipchip commented 2 years ago

Excelent!!! Excelent!!!!!!!!!!

tcpipchip commented 2 years ago

If works at your side @rojer , then It´s a hardware problem in my side!