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

The modem hardware_reset is not working #1

Open
hosseinkalbasi opened this issue Oct 8, 2023 · 0 comments
Open

The modem hardware_reset is not working #1

hosseinkalbasi opened this issue Oct 8, 2023 · 0 comments

Comments

@hosseinkalbasi
Copy link

hosseinkalbasi commented Oct 8, 2023

Bug Description

The modem hardware reset is not working with the GPIO approach, causing the following error in this library

('Module boot message not found in requisite time - aborting', '')

I managed to replace the reset_hardware method with another method to reset the modem via an AT command that is turning the flight mode on and off (as far as I understood):

AT+CFUN=0 then AT+CFUN=1

This will return the messages that the library expects

required_msgs = [
            '+CPIN: READY', 'Call Ready', 'SMS Ready'
        ]

However, the hardware reset via GPIO would still be preferred. I tried with PINs 4 and 7 and neither worked. I am using the GPRS hat here with Raspberry Pi 3B

To Re-produce

Initialize the library on Rpi 3 - serial_port /dev/ttyS0

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

1 participant