Vous pouvez également envoyer une valeur hexadécimale brute (16 bits) au format '0xABCD'. Une liste complète des code HID 16 bit (''HID Consumer Control Key Codes'') peut être trouvé ici (section 12).
+
Vous pouvez également envoyer une valeur hexadécimale brute (16 bits) au format '0xABCD'. Une liste complète des code HID 16 bit (''HID Consumer Control Key Codes'') peut être trouvé [http://www.freebsddiary.org/APC/usb_hid_usages.php ici] (section 12).
−
{{ambox-stop|text=If you are not bonded and connected to a central device, this command will return ERROR. Make sure you are connected and HID support is enabled before running these commands.}}
+
{{ambox-stop|text=Si vous n'êtes pas appairé et connecté sur un périphérique centrale alors la commande retournera ERROR. Assurez vous d'être appairé et d'avoir activé le support HID avant d'avoir exécuté ces commandes.}}
−
<nowiki># Toggle the sound on the bonded central device
+
<nowiki># Mettre le volume du périphérique appairé en muet
AT+BLEHIDCONTROLKEY=MUTE
AT+BLEHIDCONTROLKEY=MUTE
OK
OK
−
# Hold the VOLUME+ key for 500ms
+
# Maintenir la touche VOLUME+ enfoncée pendant 500ms
AT+BLEHIDCONTROLKEY=VOLUME+,500
AT+BLEHIDCONTROLKEY=VOLUME+,500
OK
OK
−
# Send a raw 16-bit Consumer Key Code (0x006F = Brightness+)