Arduino Ver 2.3.0 LTE Example LteGnsTracker Freezes While Not Moving Correctly

Asked 2 years ago, Updated 2 years ago, 37 views

Verifying Operation

Running the Arduino Ver 2.2.1 LTE Example LteGnsTracker worked fine, but
EnEndPoint, User, Password, Certificate, etc. are configured correctly.
I updated to Arduino Ver 2.3.0 with the same example and also to Bootloader.
The logs freeze from SerialMonitor after double checking.

Could you please check it as it may be a degradation on the LTE side?

log

Starting GNSS tracker via LTE.
DEBUG: Modem restart:0
DEBUG: Successful modem poweron.
DEBUG: Successful start searching.
DEBUG:Successful get IMS capability:FALSE 
DEBUG: RAT changes are not supported in the FW version of the modem.
DEBUG: LTE_NET_RAT_CATM is already set on the modem.
Attempting to connect to network.
Gnss setup OK
Waiting for successful attach.
DEBUG: Report netinfostat:0
DEBUG: Report netinfostat:2
DEBUG: Report netinfostat:1
DEBUG—Successful PDN attach.

spresense

2022-09-29 22:30

2 Answers

Tentative Measures

I removed lte_set_report_netinfo(NULL) in activatePDNCallback() in LTECore.cpp and was able to resolve it.

Cause

The modemStatus remains LTE_CONNECTING and does not become LTE_READY.
I tried to find out why LTE_READY didn't work, but when I ran lte_set_report_netinfo(NULL) in activatePDNCallback(), I couldn't run the LTECore.setStatus(LTE_READY) without getting out of lte_set_report_netinfo(NULL).

activatePDNCallback registration flow

ActivatePDNCallback is registered in the following order:
attach→connectNetwork→lte_activate_pdn(&apnSetting, activatePDNCallback)


2022-09-29 22:30

Thank you for pointing it out.
Regarding the LteGnsTracker defect, we fixed it in Spresense Arduino v2.3.1.
Sorry for the inconvenience, but could you use this version?

Spresense Arduino v2.3.1 Release Notes

Thank you for your continued support for SPRESENSE.


2022-09-29 22:30

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.