2016 Microchip Technology Inc. DS50002466A-page 17
2.4.4 S:,<H16>,<Hex>
This command is used to change any settings in configuration NVM.
This command expects two parameters. The first parameter is a 16-bit hex value that
represents memory address of eFlash of the first byte of data. If more than one byte of
data is provided, the memory address automatically increases. The second parameter
is the data value in HEX format, up to 32 bytes.
2.4.5
SA,<1-3>
The Set Authentication command sets RN4870/71 Input/Output (I/O) capability which
decides authentication method to be used when securing BLE link. The parameters are
described in Table 2-2.
Once a remote device exchanges pin codes with the RN4870/71 device, a link key is
stored for future use. The device automatically and permanently stores up to eight peer
devices in flash memory.
CAUTION
This command must be used with caution to avoid corrupting the NVM configuration
settings. Consult the Microchip Representatives for detailed memory layout of NVM
configuration settings.
Default: N/A
Example: S:,0006,41424300 // Set device name to be ABC, where device
// name is stored in eFlash starting from
// memory shift address 0x0006
Response: AOK
ERR
// Success
// Syntax error or invalid parameter
TABLE 2-2: SET I/O CAPABILITY
Value Description
1 Display Yes/No. If authentication is enabled, RN4870/71 must display the pin code
to enable remote peer device to input the same pin code.
2 No I/O Capability. This mode works without request to display or input any security
pin.
3 Keyboard I/O. If authentication is enabled, RN4870/71 must input the pin code that
displays on the remote peer device.
Default: 2
Example: SA,1 // Set device to be able to display pin
Response: AOK
ERR
// Success
// Syntax error or invalid parameter