Airvantage data push stops after some time

Hi chinnaobi,

Yes, AIrvantage data push stop is relate to data connection stopped.

Jul 17 09:01:30 swi-mdm9x28 user.warn Legato: -WRN- | avcDaemon[6782]/avcDaemon T=main | avcClient.c ConnectionStateHandler() 317 | Disconnected from data connection service, current state 1
Jul 17 09:01:30 swi-mdm9x28 user.info Legato: INFO | avcDaemon[6782]/avcDaemon T=main | avcClient.c BearerEventCb() 251 | Connected 0
Jul 17 09:01:30 swi-mdm9x28 user.info Legato: INFO | avcDaemon[6782]/avcDaemon T=main | avcServer.c ProcessUpdateStatus() 1364 | Update state: Session stopped

Do you have any idea why it get disconnected?
Does restart the app RedSensorToCloud recover this?

To check further, maybe good to check below, before and after the stop:

cm radio
cm data

And Legato API to get the disconnect reason:

le_mdc_GetDisconnectionReason()
le_mdc_GetPlatformSpecificDisconnectionCode()
le_mdc_GetPlatformSpecificFailureConnectionReason()
https://docs.legato.io/latest/c_mdc.html#le_mdc_session_networkItf

Hope it helps.
Thx