Hello,
1. I have two PC (one running CC2540 HostTest example, and another running CC2540 SimpleBLEPeripheral example). I tried to discover the SimpleBLEPeripheral and establish connection with it. I only managed to connect with it once in every 10 trying. I did modify the Supervision Timeout value to the max (32000ms) but nothing change. And, every time the connection dropped, it is giving the 0x08 (Supervision Timeout). Hope someone with experience can explain on this.
2. Okay, the second question is on how can I received the GATT_Notification message sent from HostTest? I tried to put in the "printf" function inside the simpleBLEPeripheral_ProcessOSALMsg, and the result is, regardless of how many GATT_Notification I sent, the simpleBLEPeripheral program won't even run into that function.
Please help. Thanks in advance.
Sincerely,
Kwan