\
BLE2USBHID
\
Bluetooth transferUSBKeyboard and mouse Mobile control computer keyboard and mouse
\
\
Detailed documentation£º
\
\
\
working principle£º
\
equipmentUSBInterface implementationUSBKeyboard and mouse protocol£¬Receive Bluetooth from mobile phones and other devicesBLEForward incoming data toUSB£¬Realize the input action of keyboard and mouse¡£
\
\
\
\
Application scenario£º
\
Mobile phone keyboard and mouse control computer
\
PPTcontrol
\
Bluetooth login password input device
\
The lottery machine issues tickets automatically
\
Industrial control
\
Game script
\
Advertising machine Maintenance of intelligent terminal equipment without keyboard
\
\
\
usage method£º
\
1¡¢takeUSBThe device is inserted into the controlled computer£¬At this time, the computer recognizesHIDKeyboard and mouse input device
\
2¡¢Open wechat applet or self-developed Bluetooth application to connect to Bluetooth deviceusb2usbhid ,And send keyboard and mouse commands
\
\
communication protocol£º
\
After the Bluetooth application is connected to the Bluetooth device£¬toFFE0ServiceFFE3Feature write data can be forwarded toUSB
\
\
data format£º data type attribute HIDStandard data
\
\
\
|
\
data type(1Byte)
\ |
\
attribute(1Byte)
\ |
\
HIDdata(Indefinite length)
\ |
\
keyboard
\ |
\
01
\ |
\
default0
\ |
\
8byte
\ |
\
mouse
\ |
\
02
\ |
\
default0
\ |
\
4byte
\ |
\
Multimedia keyboard
\ |
\
03
\ |
\
default0
\ |
\
8byte
\ |
\
Custom data
\ |
\
04
\ |
\
default0
\ |
\
Longest64byte
\ |
\
Keyboard example£º
\
Bluetooth transmission 01 00 00 00 22 00 00 00 00 00 Represents an analog keyboard5 Press
\
Bluetooth transmission 01 00 00 00 00 00 00 00 00 00 HIDwhole0Indicates that all keys are released
\
\
\
\
HIDFor detailed description of keyboard and mouse format, refer to the following articles£º
\
\
\
\
\
FAQ:
\
Why can`t I search for Bluetooth devices£¿
\
Confirm that the equipment power light is on; Confirm that Bluetooth is not connected£¬You can power on again and search again¡£Some mobile phones may have Bluetooth compatibility problems. You can try to update the system or replace other mobile phones for testing¡£
\
\
how far £¿
\
The distance of Bluetooth is generally tens of meters£¬Generally used within visual distance
\
\
\
Can you use other controls besides mobile phone control£¿
\
As long as it supports Bluetooth£¬WIN10The computer has built-in Bluetooth or external connectionUSBBluetooth adapters can also be connected and controlled
\