I was able to set up 2 CSR1010 as follow:
Device 1 as Peripheral
Detice 2 as Server
The Peripheral broadcasts data and read by the Server, that works great.
Now, I would like to send information from the Server to the Peripheral - I was searcching to see how to
1) Establish connection between the 2 (request for establish, as I understand it should come from the Server - maybe using GattCoonectReq(TYPED_BD_ADDR_T * address, flag).... But I could not find any LM_EV_code corresponding to reception of connection request etc....
Question 1: How to establish connection?
2) Once connected, what are the commands to send and receive data?
I was reading this forum to see any examples... without luck.
Can someone help me?