EasyManua.ls Logo

Stollmann BlueMod+B20 - Remote Configuration

Default Icon
38 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BlueMod+B20/BT2.1
User Guide
Release r03 www.stollmann.de Page 21 of 38
5 Remote Configuration
The BlueMod+B20 can be configured via Bluetooth by using another Bluetooth device.
Make sure the BlueMod+B20 is powered on and in range of the local Bluetooth device.
By default the configuration port of the BlueMod+B20 is not accessible and not visible.
To make it visible and accessible for other Bluetooth devices the configuration port
must be set to “accessible and visible” first (ATS403=2).
Initiate a new scan of the Bluetooth area. When the BlueMod+B20 is found perform a
service discovery. In the result you will get 2 services (ports):
“SPP” (UUID 0x1101, service channel 1)
“Remote Config” (UUID 0x1101, service channel 2 or other)
Connect to the “Remote Config” and open the terminal program at the appropriate
COM port.
Once the Bluetooth connection is established successfully (signaled with “RC ONLINE”
response at the remote BlueMod+B20) the BlueMod+B20 answers the commands in
the UART of the remote side. Now you can configure the remote BlueMod+B20 using
the AT commands. You can close the connection by using the ATH command
(signaled with “RC OFFLINE” response at the remote BlueMod+B20).
The configuration port of the BlueMod+B20 can be disabled using the ATS403=0
command.
The following flow chart will give an example of the remote configuration connection
between two BlueMod+B20 modules (BT device A + B).
The Bluetooth device (BT device A) enables the visibility and the access of the “remote
config port” first (ATS403=2). After that the BT device B starts a service discovery to
BT device A followed by a remote connection.
During the remote connection BT device B reads out the BT address of BT device A
(ATI4) and the local device name (ATS301?).
The remote connection is closed from the BT device B with a local DTR drop.
The “Application” part simulates the device at the end (DTE) which communicates to
the local Bluetooth device with configuration commands.
The box calledAIR” signals which part of communication will be transmitted over
Bluetooth to the destination side.