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.

CC2541 Remote Control Kit HOGP with Android 5.0.1

Prodigy 20 points

Replies: 3

Views: 1575

I am evaluating the TI CC2541 BLE Advanced Remote Control (ARC) implementation of HID over GATT profile (HOGP) to control an Android Phone (Nexus 5 running Android 5.0.1). I am able to get the ARC to advertise and the Android phone makes a connection. After this, the ARC mouse and keypresses are received by the Android phone ... works great.

If I leave the ARC idle for a few moments and then try to mouse and keypress again, the Android device does not receive them. I see the ARC is advertising itself again (ADV_IND) when I press the keys or move the mouse but the Android Phone is not detecting/responding to them.

Has anyone had success with the TI ARC in controlling and Android device?

3 Replies

  • Hi,

    It looks like the issue may be with Whitelisted advertising. Can you edit HidDev.c in HidDev_highAdvertising(), HidDev_lowAdvertising()  to set the GAP_FILTER_POLICY_ALL instead of WHITELIST and check again after building?

    Regards,

    Arun

  • In reply to Arun Menon:

    Hi,

    Just to add, normally auto re-connection in BLE essentially means advertising with the whitelist filter policy set to only allow connection requests from white listed devices. But the problem doing so is that some central devices, such as all iOS devices as well as Android 5.0 devices with privacy mode enabled, will change their address periodically. So disabling White list would be the better solution for iOS devices and Android 5.0 devices. FOr older devices you can use White list feature.

    Regards,
    Arun
  • Hi Arun,

    Thank you for the suggestion. I made the change you suggested and the connection between the remote ARC and an Android Nexus 5.0.1 phone does appear to work!

    Regards,
    Steve

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.