Can I know which OS (Windows/iPad/Android) is connected?

I am developing a touch keyboard. (using SDK 17.1.0, nRF52840)
Of course, this product connects to all OSes such as Windows/iPad/MacBook via BLE.
However, there are keys that operate differently depending on the OS, so I am having trouble dealing with them.
After BLE connection, is it possible to know the differences in the OS of the connected device?

Can I know which OS (Windows/iPad/Android) is connected?

Thanks,

Best Regards,

Yim.

Parents
  • Hi Yim,

    I'm afraid what you want to achieve isn't currently possible.

    The best you can do is implement a GATT Client on your product and explore and read the central device's GATT Server to see if there are any characteristics that can tell you which OS it is.

    Two standard Services you that might be helpful are: GAP Service and Device Information Service.
    Among them, only GAP Service is mandatory by spec, and can only give you Device Name.

    Even this lone possibility isn't very helpful. I did a trial with my phone, and basically can only get my device's name, which does show my phone model. But device name can be changed by end-user, and phone model isn't helpful when there is an increasingly huge number of them.

    See also:  How to make device HID compatible with Win & Mac 

    Hieu

Reply
  • Hi Yim,

    I'm afraid what you want to achieve isn't currently possible.

    The best you can do is implement a GATT Client on your product and explore and read the central device's GATT Server to see if there are any characteristics that can tell you which OS it is.

    Two standard Services you that might be helpful are: GAP Service and Device Information Service.
    Among them, only GAP Service is mandatory by spec, and can only give you Device Name.

    Even this lone possibility isn't very helpful. I did a trial with my phone, and basically can only get my device's name, which does show my phone model. But device name can be changed by end-user, and phone model isn't helpful when there is an increasingly huge number of them.

    See also:  How to make device HID compatible with Win & Mac 

    Hieu

Children
No Data
Related