8000 How to set HID properties manufacturer_string and product_string · Issue #139 · adafruit/Adafruit_CircuitPython_BLE · GitHub
[go: up one dir, main page]

Skip to content
How to set HID properties manufacturer_string and product_string #139
Open
@ThomasAtBBTF

Description

@ThomasAtBBTF

How can one set the HID 'manufacturer_string' and 'product_string' for the (BLE) HID device which is created using the HIDService()?

Setting the Bluetooth Name which shows up in the host while pairing is easy and documented.

But how to set the HID device properties I have no idea where to look.

Printing these properties on the host is easy like so:

import hid
    infos = hid.enumerate(0, 0)
    for info in infos:
        print(info['manufacturer_string'], info['product_string'], info['path'])

hid library from: https://pypi.org/project/hid/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0