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.

cc2540: GATT & HID profile working at the same time

Other Parts Discussed in Thread: CC2540

I am developing a device with a cc2540 which will contain two profiles of BLE: GATT and HID. The device act as a keyboard using a HID profile and everthings works perfect. Also the device has some sensors which I want to use as the sensor Tag using a GATT profile. Both profiles works perfects one without the other, but if I enable both, then the GATT profile with the lectures of the sensors stops working.

Is there any limitation to use two profiles at the same time?

Regards,

  John

  • Hi,

    Are you using SimpleGATTprofile for GATT profile? What are the other included services?

    As such, there should be no limitation, but please ensure that you register both the services(HID & GATT). Also while setting parameters(for sensor output), please take care to populate the rite attributes, and do not mix both the profile attributes.

    Regards,

    Arun