This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Notifications on CC2541

Other Parts Discussed in Thread: CC2541

Hi All,

 I am trying to get notifications working on my design. I have based it on the SimpleBLEPeripheral.

I believe my firmware is OK, and that the problem is that the GATT client has to enable notifications.

I have a characteristic 0x2902 which is set to 00:00 according to BTool. (I am using BTool for my GATT client.)


How does this work with BTool. How do I tell BTool to tell my GATT server to enable notifications?

How do notifications show up in BTool?

Thanks,

Chris.

  • To enable notifications then just double left-click on the Client Characteristic Configuration attribute for the desired characteristic and write 01:00 to this attribute. This can also be done in the Characteristic Write section under the Read/Write tab in BTool.

    Section 4 ("Using BTool") in the CC2541 Evaluation Module Kit User’s Guide describes how to use BTool in General:
    www.ti.com/.../swru301a.pdf
  • Hi Eirik,
    Good answer - thanks!
    I was putting in 00:01 into BTool, which was being rejected. 01:00 does make a difference!
    So now it works as I expected, which is that I write to one characteristic, and the notification means that another characteristic gets sent from Server to Client (i.e. shows up in BTool).
    And I hadn't seen that user guide for BTool, so thanks for the link.
    Regards,
    Chris.