Skip to content
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

ValueError: invalid literal for int() with base 10: ',' #6

Open
nilpntr opened this issue Sep 27, 2019 · 5 comments
Open

ValueError: invalid literal for int() with base 10: ',' #6

nilpntr opened this issue Sep 27, 2019 · 5 comments

Comments

@nilpntr
Copy link

nilpntr commented Sep 27, 2019

I can't set the T-mobile PDP settings. Also when I try to use module._at_action('AT+CFUN=1') I get the same error as the title of this request.
Screenshot 2019-09-27 at 17 49 55

@Krolken
Copy link
Contributor

Krolken commented Sep 28, 2019

Seems like you get an unexpected data sequence on URC: CEREG

What module are you using?
What RAT? (NB-IoT, LTE-M).
What board are you using?

Could you enable debug logging and send a complete log. I would like to see the data that is sent and received.

@nilpntr
Copy link
Author

nilpntr commented Sep 28, 2019 via email

@nilpntr
Copy link
Author

nilpntr commented Sep 28, 2019 via email

@Krolken
Copy link
Contributor

Krolken commented Sep 28, 2019

OK. Thanks for the logs.

You are sending CEREG=5 which enables the URC to send all available data.
The program as of now cannot handle the full response URC, I didnt see the need for it in my use cases. (though I have a note that I propably should use regex to handle the URC :P )

Do you need all the info? Otherwise I would ask you to just send CEREG=1

Or you can use the enable_signaling_connection_urc() function.

You could also use the setup() function that will run most of the commands you have used.

Hope this helps

@nilpntr
Copy link
Author

nilpntr commented Sep 29, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants