Reference Manual
Table Of Contents
- Introduction
- Electrical specifications
- Pinout
- Quick start
- Functional description
- State indication using the LED pins
- Sleep mode
- Identification of a Proteus-III device on the radio
- Connection based data transmission, with or without security
- Unidirectional connectionless data transmission using Beacons
- Energy-efficient distance estimation solutions
- Configure the module for low power consumption
- Start the direct test mode (DTM)
- Using the 2 MBit and LE Coded phy
- Connection setup using LE Coded phy
- Host connection
- The command interface
- Scan for other modules in range
- Setup connections
- Transmit and receive data
- Configuring the module and modifying the device settings
- Manage the device state
- Run the Bluetooth test modes
- Switching GPIOs by remote control
- Other messages
- Message overview
- UserSettings - Module configuration values
- FS_DeviceInfo: Read the chip type and OS version
- FS_FWVersion: Read the firmware version
- FS_MAC: Read the MAC address
- FS_BTMAC: Read the BLE conform MAC address
- FS_SerialNumber: Read the serial number of the module
- RF_DeviceName: Modify the device name
- RF_StaticPasskey: Modify the static passkey
- RF_SecFlags: Modify the security settings
- RF_SecFlagsPerOnly: Modify the security settings (Peripheral only mode)
- RF_ScanFlags: Modify the scan behavior
- RF_BeaconFlags: Interprete the advertising data
- RF_AdvertisingTimeout: Modify the advertising timeout
- RF_AdvertisingFlags: Configure the advertising packet
- RF_ScanFactor: Modify the scan factor
- RF_ScanTiming: Modify the scan timing
- RF_ConnectionTiming: Modify the connection timing
- RF_TXPower: Modify the output power
- RF_SPPBaseUUID: Configure the SPP base UUID
- RF_Appearance: Configure the appearance of the device
- UART_ConfigIndex: Modify the UART speed
- CFG_Flags: Configure the module
- DIS_ManufacturerName: Configure the manufacturer name
- DIS_ModelNumber: Configure the model number
- DIS_SerialNumber: Configure the serial number
- DIS_HWVersion: Configure the HW version
- DIS_SWVersion: Configure the SW version
- DIS_Flags: Configure the device information service
- Timing parameters
- Peripheral only mode
- Remote GPIO control
- Customizing the Proteus-III
- Custom firmware
- Firmware update
- Firmware history
- Design in guide
- Reference design
- Manufacturing information
- Physical dimensions
- Marking
- Bluetooth SIG listing/qualification
- Regulatory compliance information
- Important notes
- Legal notice
- License terms
7.4 Configuring the module and modifying the device settings
It is strongly recommended to have identical settings on all devices, which have
to open a connection with each other or are to be used in Beacon mode.
The module’s parameters are stored in flash, but have a local copy in RAM. The flash param-
eters can be modified by the
CMD_SET_REQ
, read by the
CMD_GET_REQ
and retain their content
even when resetting the module.
7.4.1 CMD_SET_REQ
This command enables direct manipulation of the parameters in the module’s settings in
flash. The respective parameters are accessed by means of the corresponding settings in-
dex, which can be found in Table
20
.
Parameters of 2 or more Bytes have to be transferred with the LSB first unless noted differ-
ently in the corresponding description.
The modified parameters only take effect after a restart of the module. This
may be done by a
CMD_RESET_REQ
if the module does not restart automatically.
The flash memory used to store these settings has a limited count of write
cycles. Try to avoid performing periodic
CMD_SET_REQ
as each command will
use one write cycle.
The validity of the specified parameters is not verified. Incorrect values can
result in device malfunction!
To save the parameters in the flash memory of the module, the particular mem-
ory segment must first be flushed entirely and then restored from RAM. If a
reset occurs during this procedure, the entire memory area may be corrupted
(e.g. due to supply voltage fluctuations).
Recommendation: First, verify the configuration of the module with
CMD_GET_
REQ
and only then apply a
CMD_SET_REQ
if required to avoid unnecessary flash
cycles.
Format:
Proteus-III reference manual version 0.11 © November 2019
www.we-online.com/wireless-connectivity 75