Missing Call to AirVantage Session State Handler

#1

I have been working with @jchitty and @Prush on these questions Multiple Apps Calling `le_avdata_RequestSession` and Poor Signal Quality and Air Vantage Data Costs

Based on a discussion with @jchitty yesterday I have added AirVantage session state handlers to all (3) apps that request sessions. I have one test unit the I popped the antenna off and then back on after a few minutes (yes I know not recommended but I don’t have attunators at the moment) and this resulted in only 2 of the 3 handlers being called before the app is restarted. See logs below.

If you search for AV Session State Handler you will see two calls to the handler before the third app terminates due to a failed record push @ 22:32:10. Then you see three calls to the handler after app restarts and the system is trying to connect to AirVantage @ 22:34:15 and then another three calls to the handler once the system is again connected to AirVantage @ 22:37:38

The other interesting thing is I have a PushRecord callback handler that also doesn’t seem to be called as there are no log printouts.

Thoughts, why are all 3 apps receiving the state change.

Running Legato 18.09.0.

Missing Handler Call Log May 17th.log (51.3 KB)

#2

@jchitty, @Prush Any thoughts on this. It seems strange that one of the 3 handlers isn’t called.

#3

Yeah, that seems strange (incorrect) to me too. Sorry I don’t have much more than empathy to offer on this topic, though. Hopefully someone responsible for maintaining this stuff will get some time to reproduce this without you having to share all of your code, so they can get to the bottom of this.

#4

@jchitty Thanks for the empathy :+1: I will cross post on the Legato forum since this seems to be a serious issue.

#5

Hi @dbeckwith The avPublisher app is the one not receiving the status. It is impossible for me to comment why your app didn’t receive the status only at that particular instance. Can you try a simple test with three apps simply receiving status when you plug in and plug out antennas. This can help isolate the problem? If that works then that implies avPublisher app is blocked on something.