ubxlib icon indicating copy to clipboard operation
ubxlib copied to clipboard

Unable to bring up the network!

Open alexmaron81 opened this issue 3 years ago • 6 comments

Hi,

sometimes the connection is not successfully established, so that the module no longer works.

Unfortunately I don't use the following options: U_CFG_APP_PIN_CELL_ENABLE_POWER U_CFG_APP_PIN_CELL_RESET U_CFG_APP_PIN_CELL_VINT

What other option is there to reset the module via software?

alexmaron81 avatar Jun 14 '22 11:06 alexmaron81

Hi Alex: it would depend on the nature of the "no longer works".

If the module is responsive to AT commands then you can call uCellPwrReboot() and ubxlib will tell the module to reboot via the AT interface.

However, if the module is not responding to AT commands, the only way out that I am aware of would be a physical connection to either the PWR_ON or RESET_N pins of the module from one of your MCU pins; this could be done using any GPIO that you control of course. You should check the SARA-R4 System Integration Manual for details of exactly what you need to do with those pins to effect a reset.

RobMeades avatar Jun 14 '22 11:06 RobMeades

ok nice, thanks for the info!

alexmaron81 avatar Jun 14 '22 11:06 alexmaron81

Hi Rob,

to use uCellPwrReboot() do I need u_cell_pwr.h? but then comes the following

image

alexmaron81 avatar Jun 20 '22 12:06 alexmaron81

Hi Alex: yes, you'll need to #include u_cell_net.h just before u_cell_pwr.h. We've removed this problem in the 1.0.0 release that we are about to make by just dumping all required headers into one ubxlib.h that you can include.

RobMeades avatar Jun 22 '22 06:06 RobMeades

Thanks Rob, it works very well!

alexmaron81 avatar Jul 13 '22 11:07 alexmaron81

Hi Rob, I run the uCellPwrReboot(devHandle, NULL); , but the device still does not turn on

image

alexmaron81 avatar Aug 09 '22 08:08 alexmaron81

Can't remember whether we resolved this one or not now, maybe in direct comms? Gonna close it - please re-open if there is still an issue.

RobMeades avatar Oct 05 '22 09:10 RobMeades