Hello all,
I am very new to embedded systems and programming and just started working with CC2540 mini kit. I am trying to understand how it works by going through OSAL, HAL document and anything coming on my way. During this time I started playing with simpleBLEperipheral application and found out that notification from keyfob can be enabled for characteristic 4 and key press. I read about what needs to be done and tried it as given in some ti document. I first read handle using discover characteristic by UUID and wrote 01:00.
First time i wrote successfully and i was getting notifications from keyfob but when i disabled and tried to enable( i mean writing 00:00 and again 01:00), i couldn't do it. It gave me Write_not_permitted error. I tried this after two days, it worked then when i tried again to enable after disabling. I am getting same error msg. I think there is another characteristic which can send notification at UUID FFE1. I haven't been able to enable it even once.
I am really confused and thinking what could be the reason for such behavior. If anybody has encountered such problem and solved it. Please help me out.
I also read in forums that notification can be enabled using GATT_Notification and some other GATT API in application itself. But I don't know arguments that need to be passed.
Waiting for response and Thank you in advance.