Quantcast
Viewing all articles
Browse latest Browse all 116964

Forum Post: Problem with GATT_Handle_Value_Notification and Slave Latency

Hello,

I am working on a BTLE peripheral in slave mode that's connected to a master device with the following link parameters:

-short connection interval(<20ms)

-high slave latency(>100)

The reason being that the device does not send much data, but when it does they are relatively time sensitive.  What I am trying to achieve is to have notifications send out at the next connection event defined by connection interval, while keeping slave latency high for power conservation in inactive periods.

I've noticed by calling GATT_Handle_Value_Notification, the device doesn't send them out at the next connection event, but wait for the maximum amount of time allowed by slave latency to send the data.  This causes a significant delay (>2 seconds) and often causes the library to run out of memory if too many notifications are queued.  

I was wondering if this is expected behavior, and is there anything within Bluetopia library that allows me to skip slave latency for notifications.  


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>