# Problems in Selective data sending to Airvantage server WP85

**URL:** <https://mangoh.discourse.group/t/problems-in-selective-data-sending-to-airvantage-server-wp85/948>\
**Category:** Cloud & Connectivity\
**Created:** [November 29, 2017, 11:15am UTC](https://mangoh.discourse.group/t/problems-in-selective-data-sending-to-airvantage-server-wp85/948 "2017-11-29T11:15:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jaison\_Ollukkaran](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@Jaison\_Ollukkaran](https://mangoh.discourse.group/u/Jaison_Ollukkaran)\
**Post date:** [November 29, 2017, 11:15am UTC](https://mangoh.discourse.group/t/problems-in-selective-data-sending-to-airvantage-server-wp85/948/1 "2017-11-29T11:15:30Z")

</div>

In my project I am sending parameters to Airvantage server in a selective manner. 15 Min and 24 Hr, Here in 15 Min once I am uploading 4 parameters and 24 Hr once I am uploading 98 parameters. In module code I am using

Code details:

//To end and terminate the application  
le\_sig\_Block(SIGTERM);  
le\_sig\_SetEventHandler(SIGTERM, sig\_appTermination\_cbh);

/\* Start AVC Session \*/  
// Register a AVC handler.  
avcEventHandlerRef = le\_avc\_AddStatusEventHandler(AVsessionHandler, NULL);

result = le\_avc\_StartSession();  
if ( result == LE\_FAULT )  
{  
le\_avc\_StopSession();  
le\_avc\_StartSession();  
}  
assetI = le\_avdata\_Create(ASSET\_NAME24HR);

Then these APIs are used to set values periodically with timers.  
le\_avdata\_SetInt();  
le\_avdata\_SetFloat();  
le\_avdata\_SetBool();  
le\_avdata\_SetString();

There are no problems in receiving 15 min parameters but in the case of 24 Hr data, I am missing Half of the parameters data in Airvantage server.

Also I am unable to use the below APIs

le\_avdata\_AddResourceEventHandler();  
le\_avdata\_PushRecord(recRef, PushCallbackHandler, NULL);

which throws an error — error: ‘le\_avdata\_AddResourceEventHandler’ was not declared in this scope

I am using legato.framework.16.10.3.wp85-wp750x-201705031608, legato.toolchain.1.7.3.SWI9X15Y\_07120900-wp85-wp750x-native-x86\_64-201705021320  
with Developer studio 5.1  
Do I need an upgrade my framework to use the above two API.?
