Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

RTOS/CC2640R2F: EventPost causing the BLE connection to drop in Project Zero modified project

$
0
0

Part Number:CC2640R2F

Tool/software:TI-RTOS

Hello. 

I have modified project zero and the BLE + Sensor BoosterPack tutorial to create a packet handshake program. 
I have one service initialized by project zero init. The service has the following characteristics: 


VoltagePacket (20 bytes) read only &

HexLogic (1 byte)  write with response

I will post the while(1) loop where a packet load variable is modified and then passed into the VoltagePacket loop. EventPend waits for EventPost and then should run. 

I know that event post is killing the connection. I moved eventpost to the buffervoltage_readattr and the buffervoltage_writeattr. When I moved it the writeattr, the connection was killed when I tried writing into a characteristic. When it was in readattr, the connection was broken whenever I tried to initiate a read. 

P.S. I am reading the data from my IOS device. 


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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