how to find out a central device supports HID input

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
hugangbin
Offline
Last seen: 6 months 1 week ago
Joined: 2020-09-21 06:32
how to find out a central device supports HID input

Hi, Dialog

Good to know that DA14531 can be connected with multiple central devices.

We are going to implement a remote based on DA14531 which will be connected with a smartphone an a thirdpart central device.

Here is my question, How can we know which central device supports HID input feature without extra self-defined protocol?

Thanks.

Device: 
PM_Dialog
Offline
Last seen: 2 days 9 hours ago
Staff
Joined: 2018-02-08 11:03
Hi There,

Hi There,

Thanks for your question and for your interest in our DA14531 BLE solution. Please take a look at the DA14585/DA14586 - DA14531 Multiperipheral Example. This example demostrates how a single peripheral can be connected to more than one centrals. The DA14531 is able to support up to 3 simultaneous connections.

For the initial setup, please read the Software Example Setup Using Python Link Script document.

>>> How can we know which central device supports HID input feature without extra self-defined protocol?

Would it be possible to explain the above question and describe what you would like to accomplish? Do you mean if the which Central includes the HID profile? Please provide more inputs.

Thanks, PM_Dialog

hugangbin
Offline
Last seen: 6 months 1 week ago
Joined: 2020-09-21 06:32
Hi,

Hi,

Sorry for my bad expression ability.

As I know, remote plays the HID device role, and smartphone plays the HID host role.

Yes, we want to know which one of thoes two central devices is the HID host.

We can exchange some data between remote and the thirtpart ble device to determin which one is the HID Host, but this may be a complex way.

Is there any easier way to do that?

Thanks.

PM_Dialog
Offline
Last seen: 2 days 9 hours ago
Staff
Joined: 2018-02-08 11:03
Hi There,

Hi There,

The connection is always initiated by the Central, so the Central should support the HID profile, connect to the Peripheral and check is the HID profile is supported.

>>>Yes, we want to know which one of thoes two central devices is the HID host.

Are both central a DA14531 SoC?

Thanks, PM_Dialog