Bluetooth Connection Modifications: Windows 10
Windows 10 utilizes a workstation/device pairing mechanism for
Bluetooth,
- The concept is similar to Mac OS X, although some specifics
differ.
- From what I know, a Windows 10 workstation cannot communicate
with a robot, unless a pairing has been established.
MyroC on Windows 10 can work directly with a MAC address. If that
address is not fully specified, the connection process
- Uses a lookup service to run through all paired devices
- Finding the proper MAC address can take some time.
- Once a MAC address is found, programmers are advised to hardcode
the address into
rConnect
If not serial number is given, rConnect on Windows
provides a listing of all paired robots, as is done with Mac OS X.
The MAC discovery process yields an appropriate address structure.
However, Bluetooth communication also requires determination of a
port number.
- Bluetooth protocols allow port numbers 1-31.
- My investigation finds no reference to Windows functions that
return what port number a robot expects.
- Without a mechanism to discover the port number directly,
MyroC's
rConnect tries port 1, port 2, ..., in
sequence, until a useable number is found.
- In practice, connections usually are established on port numbers 1, 2,
or 3.
created 29 January 2021
revised 30 January 2021
|
|
|
previous next
|