How to speed up sensor data collection / transmission on WICED Sense?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

What's the recommended approach to increase the speed of data collection and transmission from the sensors on the WICED Sense project?  Can this be adjusted by modifying the parameters in bleprofile_SendCOnnParamUpdateReq()?  Also, is the function blecm_ConnectionEventNOtificationEnable() documented?

0 Likes
1 Solution

I spoke to the developers today and they believe that you can change the following:

bleprofile_SendConnParamUpdateReq(64, 96, 0, 500);

with parameters of 24,24,0,500

But that the host will ultimately decide what to give you (i.e. iOS or Android)

Android and iOS both enforce limitations in this area.

View solution in original post

0 Likes
4 Replies
Anonymous
Not applicable

Have you seen this:

WICED Sense Firmware Walk-Thru Video

Thanks

JT

0 Likes
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

Can you be more specific as to what you want speeded up?

  • iOS/Android application
  • Sample rate on the I2C bus where the sensors reside
  • Sensor driver optimization

According to the internal team, We designed it to send the very latest Gyro, Accelerometer, and eCompass sensor data right before we need to transmit it over the air - for real-time display on the phone. The Temp, Pressure and Humidity don't change as much so we don't send them as frequently.

Unfortunately, we can't speed it up any faster.


tjaekel

0 Likes
Anonymous
Not applicable

Yes, I can see how the code is set to perform data collection on the sensors 6.25msec before we get a TX opportunity; I guess in the simplest terms I'm trying to find out how to increase the rate at which we get these opportunities.

0 Likes

I spoke to the developers today and they believe that you can change the following:

bleprofile_SendConnParamUpdateReq(64, 96, 0, 500);

with parameters of 24,24,0,500

But that the host will ultimately decide what to give you (i.e. iOS or Android)

Android and iOS both enforce limitations in this area.

0 Likes