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.

CC2540KEYFOB-RD: unable to get accelerometer service

Part Number: CC2540KEYFOB-RD

Hi Guys,

I am developing a BLE Master device using BLE121LR for controlling the CC 2540 KEYFOB. 

I am able to get all the services, even switch keys service of keyfob by writing to corresponding handlers. But when I try to enable the accelerometer service, writing 01:00 to handlers 0x34 and 0x3B is giving an error value 0x0181. Which means "Device is in wrong state to receive command". 

And I am able to get all the services including accelerometer using BT TOOL and CC 2540 dongle.

So, please help in achieving this accelerometer service. 

  • Hi Santhosh,

    Can you provide a sniffer capture?

    Not sure what could be causing the issue, it could be controller related for the BLE121LR - if that's the case, please contact SiLabs for more information on how to get their device working. (Most likely, it's probably a buffer not being ready or something of that nature)