User's Manual
Table Of Contents
2014 Microchip Technology Inc. DSXXXXXXXXA-page 9
RN4020
6.0 ASCII COMMAND API
The RN4020 command API is documented in RN4020
Command Reference: doc-xxx-xxxxxx:
Commands are categorized into the following func-
tions:
• Built-in public services
- Enable/Disable service as Server or Client
- Red value
- Set value
•Max Tx Power
- Set Power in DB
•Role
- Peripheral or Central
• Advertising
- Start/Stop
• Bonding
- Bond/Unbond to Master
• Private Service
- Set Private Service UUID
- Set Characteristic UUID for Private Service
• Microchip Low Energy Data Protocol
- Enable/Disable
- Peripheral side configuration
- Central side configuration
• Device Information Profile settings
• Connection
-Status
- Disconnect
- Kill active connection
- Establish connection (Central role only)
- Start/Stop inquiry scan for other devices
(Central role only)
•IO
- Configure GPIO mask
- Set/Get GPIO states
- Ready raw ADC values
• System
- Reboot
- Enter deep sleep
- Factory default
- Test functions for type approval
- Display configuration
DRAFT