Part Number: CC2640R2F
Hi all,
I'm a beginner to BLE. Please help me out.
Requirement - I have a large set of data saved in the flash of the CC2640R2F flash (approximately - 100 Byte frames x 1000). I want to send all these data to I-phone (Which has a app that accept data and save it [This part already there]) in a single connection with the phone.
What I have done so far - I tried out simple_peripheral example program it on CC2640R2F LP. and connected with I phone app. Filtered only to read characteristic 5 value (Which is a string of 40Bytes).
What I want - I want to use this example and send the required amount of data (above mentioned) to I-phone by looping it in the "SimpleBLEPeripheral_performPeriodicTask()" function. I know that this function is looping in every 5 seconds (SBP_PERIODIC_EVT_PERIOD). If I can loop it in every 1ms and use it to transfer small frames (64Bytes) I will able to transfer the data in few seconds.
* I use SimpleProfile_SetParameter() to update the value of characteristic 5 in "SimpleBLEPeripheral_performPeriodicTask()" function which is looping. It didnt work.
I want to know how to send data continuously in "SimpleBLEPeripheral_performPeriodicTask()" function which will loop and transfer all data in one connection?
Regards
Dulip