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.

Stonestreet One Bluetooth HID demo. How to set the device info (eg VID, PID, serial Number)?

Other Parts Discussed in Thread: BT-MSPAUDSOURCE-RD, MSP430F5229

I would like to use the SS1 HID Demo as a starting point to implement a custom bluetooth (classic) HID device and I'm having trouble finding how to set device information such as VID, PID, SerialNumber, etc. (to be used for device enumeration)

I'm using a BT-MSPAUDSOURCE-RD (MSP430F5229+CC2564B) with the CC256x MSP430 Bluetopia SDK v1.5 R2. I've modified the sample HID Demo to work with the BT-MSPAUDSOURCE-RD and have been able to successfully pair and connect to the device from a Windows 7 machine. However, when I look at the hardwareID of the HID compliant mouse, there is no VID or PID, just the generic: HID\{00001124-0000-1000-8000-00805f9b34fb}_LOCALMFG&000a (please see below).

I have looked into using the DIS api, but that seems to be for GATT and BLE devices - is this correct?

Can someone please help point me in the right direction for setting this information?

Thank you in advance!

Chris.

  • Hi Chris,

    As per the HID Spec:

    ***
    5.3.2 Bluetooth HID device SDP Requirements

    Bluetooth HID devices shall implement a Bluetooth SDP server with a database containing at least the mandatory HID service attributes defined in Table 5.3 and SDP attributes required by the Bluetooth Core Specification [6]. Bluetooth HID devices shall also implement the Device Identification Profile [13].
    ***

    The Device Identification Profile spec (different from DIS) is available at: www.bluetooth.org/.../DownloadDoc.ashx

    You can use "SDP_Add_Attribute()" to add those attributes

    Regards,
    Gigi Joseph.
  • Hi Joseph.

    Thank you for your quick response!That is pretty much exactly what I was looking for.

    By using a custom HID report (instead of the default "mouse" report), I was also able to enumerate the device using the signal11-hdiapi and was able to gather the following info (that is set by default). Hopefully this can be useful to others in the future.
    - VID = 0xFFFF
    - PID = 0x0000
    - Serial # = Bluetooth address of device

    Thank you again!
    Chris.