# AirVantage data push status callback never called

**URL:** <https://forum.legato.io/t/airvantage-data-push-status-callback-never-called/3334>\
**Category:** Legato Application Framework\
**Created:** [June 13, 2018, 8:14pm UTC](https://forum.legato.io/t/airvantage-data-push-status-callback-never-called/3334 "2018-06-13T20:14:56Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![nvd](https://avatars.discourse-cdn.com/v4/letter/n/82dd89/32.png) [@nvd](https://forum.legato.io/u/nvd)\
**Post date:** [June 13, 2018, 8:14pm UTC](https://forum.legato.io/t/airvantage-data-push-status-callback-never-called/3334/1 "2018-06-13T20:14:56Z")

</div>

Hello all,

I have a bit of a weird bug on my hands: when using [`le_avdata_PushRecord`](https://docs.legato.io/latest/le __avdata__ interface_8h.html#a0bca8b820b8175e11ad693582fc7f7b5), the callback function passed as the `handlerPtr` argument never seems to get called anymore. Note that synchronous call to `le_avdata_PushRecord` does return `LE_OK`.

My initial thought was to try and reproduce this on a specific version of Legato. We confirmed this was working in Legato 17.11 in December 2017 so I rolled back and rebuilt Legato. Unfortunately I saw this issue on Legato 17.11, 18.02, 18.03, and 18.04 (skipped 18.01 due to other breaking bugs). I was sure to confirm the correct version was applied by invoking `legato version` on the target.

My best guess is that some interface between the AirVantage servers and AirVantage client has changed in some way.

Any help is greatly appreciated,  
Cheers!

---

<div class="post-metadata">

**Author:** ![esun](https://avatars.discourse-cdn.com/v4/letter/e/8e7dd6/32.png) [@esun](https://forum.legato.io/u/esun)\
**Post date:** [June 14, 2018, 10:50pm UTC](https://forum.legato.io/t/airvantage-data-push-status-callback-never-called/3334/2 "2018-06-14T22:50:17Z")

</div>

I’m surprised the handler does not get returned. This feature is regularly tested per release.  
Can you provide some debug logs?  
Also which release and module are you using?  
Thanks!

---

<div class="post-metadata">

**Author:** ![nvd](https://avatars.discourse-cdn.com/v4/letter/n/82dd89/32.png) [@nvd](https://forum.legato.io/u/nvd)\
**Post date:** [June 27, 2018, 9:53pm UTC](https://forum.legato.io/t/airvantage-data-push-status-callback-never-called/3334/3 "2018-06-27T21:53:44Z")

</div>

Hey @esun,

Sorry for letting this sit. What level do you want? I was thinking `loglevel debug && logread -f | grep avc > avc.log`. We’re using Legato 18.04 with a WP85 (and release 15 of the firmware).

---

<div class="post-metadata">

**Author:** ![esun](https://avatars.discourse-cdn.com/v4/letter/e/8e7dd6/32.png) [@esun](https://forum.legato.io/u/esun)\
**Post date:** [June 27, 2018, 11:06pm UTC](https://forum.legato.io/t/airvantage-data-push-status-callback-never-called/3334/4 "2018-06-27T23:06:17Z")

</div>

Np, that should be sufficient for now. Please attach them somewhere and I’ll have a look.

---

<div class="post-metadata">

**Author:** ![nvd](https://avatars.discourse-cdn.com/v4/letter/n/82dd89/32.png) [@nvd](https://forum.legato.io/u/nvd)\
**Post date:** [June 28, 2018, 5:33pm UTC](https://forum.legato.io/t/airvantage-data-push-status-callback-never-called/3334/5 "2018-06-28T17:33:44Z")

</div>

Here is a small sample: [avc.log · GitHub](https://gist.github.com/nvandoorn/c4422e50dd2a336d1986b3fbaa6e76a4). I’m currently collecting a larger one I’ll post in an hour or so.

---

<div class="post-metadata">

**Author:** ![nvd](https://avatars.discourse-cdn.com/v4/letter/n/82dd89/32.png) [@nvd](https://forum.legato.io/u/nvd)\
**Post date:** [June 29, 2018, 8:46pm UTC](https://forum.legato.io/t/airvantage-data-push-status-callback-never-called/3334/6 "2018-06-29T20:46:20Z")

</div>

Hey @esun, here is quite a large sample: [https://gist.githubusercontent.com/nvandoorn/f3cc6f666cfe9c2434d198f000c20486/raw/14048f8f88231064160c8d68d8f0d9913ceae14c/avc.log](https://gist.githubusercontent.com/nvandoorn/f3cc6f666cfe9c2434d198f000c20486/raw/14048f8f88231064160c8d68d8f0d9913ceae14c/avc.log)

---

<div class="post-metadata">

**Author:** ![nvd](https://avatars.discourse-cdn.com/v4/letter/n/82dd89/32.png) [@nvd](https://forum.legato.io/u/nvd)\
**Post date:** [August 8, 2018, 5:00pm UTC](https://forum.legato.io/t/airvantage-data-push-status-callback-never-called/3334/7 "2018-08-08T17:00:48Z")

</div>

Hello all,

I’m still seeing this problem. Have you guys been able to confirm this on the WP85 witht Legato 18.04?

---

<div class="post-metadata">

**Author:** ![muralinagraj](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@muralinagraj](https://forum.legato.io/u/muralinagraj)\
**Post date:** [October 26, 2018, 12:54pm UTC](https://forum.legato.io/t/airvantage-data-push-status-callback-never-called/3334/8 "2018-10-26T12:54:16Z")

</div>

Hi @nvd,

We verified with legato-18.04.0 on top of WP85’s Release 15 and also using the latest Release 16(legato-18.06.1), We see that callback function is getting called and also we see that data is pushed successfully.

Please fallow the below steps to check that callback function is getting called and data is pushed successfully:

1. Create an application using the attached [PushRecord.c](https://forum.legato.io/uploads/short-url/5BUgi3djIDXHjlIDTmZR0zzGnU5.c) (1.5 KB) file.

2. Start an AV session(at+wdss=1,1), wait for session to be started successfully.

3. Install the application on the target and start the application.

Regards,  
Muralidhara N.

---

<div class="post-metadata">

**Author:** ![nvd](https://avatars.discourse-cdn.com/v4/letter/n/82dd89/32.png) [@nvd](https://forum.legato.io/u/nvd)\
**Post date:** [October 26, 2018, 10:17pm UTC](https://forum.legato.io/t/airvantage-data-push-status-callback-never-called/3334/9 "2018-10-26T22:17:41Z")

</div>

Thanks @muralinagraj. I never had much luck with this bug so I simply removed our usage of a push callback function. I’ll test this again early next week.

---

<div class="post-metadata">

**Author:** ![plu](https://avatars.discourse-cdn.com/v4/letter/p/e19b73/32.png) [@plu](https://forum.legato.io/u/plu)\
**Post date:** [November 8, 2018, 8:46am UTC](https://forum.legato.io/t/airvantage-data-push-status-callback-never-called/3334/10 "2018-11-08T08:46:46Z")

</div>

HI @nvd  
did you have a chance to test the suggestion?  
do you still have any issue?  
best regards
