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.7.8 CMD_GPIO_LOCAL_READ_REQ
This command reads the free GPIOs of the local device. This command can be only run
successfully if the respective pins of the local device have been configured as output or
input pins before.
Format:
Start signal Command Length Block
1
. . . Block
n
CS
0x02 0x27 2 Bytes x Bytes x Bytes 1 Byte
Response (
CMD_GPIO_LOCAL_READ_CNF
):
Start signal Command | 0x40 Length Status Block
1
. . . Block
n
CS
0x02 0x67 2 Bytes 1 Byte x Bytes x Bytes 1 Byte
Status:
0x00: Request received and processed
0x01: Operation failed
0xFF: Operation not permitted (i.e. no device connected via BLE)
CMD_GPIO_LOCAL_READ_REQ block structure
Each Block has the following format:
Length GPIO_ID
1
. . . GPIO_ID
n
1 Bytes 1 Byte 1 Byte
Length: Length of the subsequent bytes in this block
GPIO_ID: ID of the GPIO, see chapter
11.1
CMD_GPIO_LOCAL_READ_CNF block structure
Each Block has the following format:
Length GPIO_ID Value
0x02 1 Byte 1 Byte
Length: Length of the subsequent bytes in this block
GPIO_ID: ID of the GPIO, see chapter
11.1
Value:
0x00: The remote GPIO is low.
0x01: The remote GPIO is high.
0xFF: Failed reading remote GPIO value.
Proteus-III reference manual version 0.11 © November 2019
www.we-online.com/wireless-connectivity 104