Part Number: CC2541
Hello,
I have to Three Devices..
1. CC2541(1) which is running SimpleBleCentral Code.
2. CC2541(2) which is Advertising the data
3. Mobile phone having BLE Scanner App.
What i did...
(A) 1st i use my mobile and scan Device (2) and then goto Custom Characteristics and then enable notification of 0xFFF4 UUID. and it shows the data 0x03.
(B) 2nd i run Device (1) and then i discover 0xFFF0 characteristic (#define SIMPLEPROFILE_SERV_UUID 0xFFF0) and under this i read 0xFFF1 and i got data what i want.
(C) 3rd i run Device (2) and then i discover 0xFFF0 characteristic (#define SIMPLEPROFILE_SERV_UUID 0xFFF0) and under this i try to enable notification of 0xFFF4 but i am not able to do the same.
i also check (simpleBLECharHdl != 0) after using (GATT_ReadUsingCharUUID( simpleBLEConnHandle, &req, simpleBLETaskId )) this function and it returns 0.
My questions are...
(1) how and where we need to enable the notification in SimpleBleCentral code ?
(2) Can we use ((GATT_ReadUsingCharUUID) function for 0xFFF4 ?
(3) How to read Data from 0xFFF4 (what i did in (A)) using SimpleBleCentral Code?
Hope for positive reply.
Thanks in advance.