-
Notifications
You must be signed in to change notification settings - Fork 11
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
GPS data send server, stops after 1 day #16
Comments
@KaranRajPradhan - didn't we see and debug this too? Did we push our reconnect changes? |
@tejpochiraju Can anyone help? |
@cityba - which code do you mean by "gps-tracker code"? |
@KaranRajPradhan demo_gps_tracker.c
|
@KaranRajPradhan Then what should i modify on the me code? |
@cityba Just add the code that captures the events as done here
And then call the appropriate reattach/reactivate function: https://github.com/IoTReady/a9_gsm_gps_library/blob/main/a9_mqtt_lib/src/mqtt_example.c#L40 |
@KaranRajPradhan ...#define MAIN_TASK_NAME "GPS Test Task" static HANDLE gpsTaskHandle = NULL; bool AttachActivate() |
Can you send your AttachActivate function? |
|
Please use this:
|
@KaranRajPradhan I did not notice the difference, thank you, head to the test . I will apply tomorrow to see if it worked. |
@KaranRajPradhan unfortunately it stops in exactly 24 hours. `void EventDispatch(API_Event_t* pEvent)
}...` |
@KaranRajPradhan How can I restart every 24 hours? with what code? |
@KaranRajPradhan `AT 01 : old pdp context, no change
AT 11 : Memory OS_Free p: 0, cos:0p8212b330-0p82257330, csw:0p820d3b18-0p8212b318 AT 11 : Memory OS_Free p: 0, ret:0 AT 11 : Memory OS_Free p: 0, cos:0p8212b330-0p82257330, csw:0p820d3b18-0p8212b318 AT 11 : Memory OS_Free p: 0, ret:0 AT 11 : Memory OS_Free p:0p8212d338, cos:0p8212b330-0p82257330, csw:0p820d3b18-0p8212b318 AT 11 : Memory OS_Free p:0p8212d338, ret:1 MMI 01 : gsm network deactived AT 01 : attach status:1 MMI 02 : gsm Aattach status:1 AT 01 : get act state:0 MMI 02 : gsm Aactivate status:0 MMI 02 : gsm APDP:0 AT 01 : old pdp context, no change |
@KaranRajPradhan I run the gps-tracker code, rewriting it a bit, and 24 hours after turning it on, the data transfer stops, the sim card goes, it rings. What could be wrong? why does it stop after exactly 1 day? is there any hidden function that causes this? release code also stops at 24 hours.Can anyone help?
The text was updated successfully, but these errors were encountered: