Connectivity
Device Setup
The data transfer performance depends on the following factors:
- Location of the Bluetooth antenna (Depends on the surroundings, max. distance depends on the antenna and chip, common max. distance rates are class based)
Class | Distance |
---|---|
1 | Approx. 100 m |
2 | Approx. 10 m |
3 | Approx. 1 m |
The connection is established on a free channel in the 2.4 GHz spectrum, so make sure there are open channels left. Possible problems sources are other wireless devices in the 2.4 GHz spectrum.
Communication
The Bluetooth device driver connects and communicates in the following way:
Make sure that:
- The devices are paired
- The "partner" device is running and listening to incoming requests with the "partner" service UUID
- HumanOS® Bluetooth device driver uses the same service UUID and knows the name of the "partner" device (which is given through pairing)
Requests
The device driver supports requests for an action. The following requests are taken:
Request | Action | Format |
---|---|---|
Write | Writes data to another device | dynamic |
Request | Request data from another device | dynamic |
Scripting
The action executed by this request and the format is generic and needs additional scripting.