Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: RE: Service Changed characteristic Indication.

$
0
0

Hi,

You could try to issue

extern bStatus_t GAPBondMgr_ServiceChangeInd( uint16 connectionHandle, uint8 setParam ); line 294 of gapbondmgr.h
with GAPBondMgr_ServiceChangeInd(0xFFFF, TRUE); to update the bond database before you reboot into the new image.

If they are not bonded, you can try to call (a while after connection established in the new image)

extern bStatus_t GATTServApp_SendServiceChangedInd( uint16 connHandle, uint8 taskId ); line 593 of gattservapp.h
with the active connection handle and a taskID that should get a OSAL GATT Message about whether or not the indication was sent successfully.

Note that if the iOS device has not yet had time to enable the indication, the command will fail, so you will have to wait until this has happened. 

Best regards,
Aslak 


Viewing all articles
Browse latest Browse all 116964

Trending Articles



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