EasyManua.ls Logo

Microchip Technology RN4870 - Page 35

Microchip Technology RN4870
65 pages
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...
2016 Microchip Technology Inc. DS50002466A-page 35
2.6.21 JA,<0,1>,<MAC>
Command JA is used to add a MAC address to the white list. Once one device is added
to the white list, the white list feature is enabled. With the white list feature enabled,
when performing a scan, any device not included in the white list does not appear in
the scan results. As a peripheral, any device not listed in the white list cannot be con-
nected with a local device. RN4870/71 supports up to 16 addresses in the white list. If
the white list is full, any attempt to add more addresses returns an error.
Command JA expects two input parameters. The first parameter is 0 or 1, indicating
that the following address is public or private. The second parameter is a 6-byte
address in hex format.
A random address stored in the white list cannot be resolved. If the peer device does
not change the random address, it is valid in the white list. If the random address is
changed, this device is no longer considered to be on the white list.
2.6.22
JB
Command JB is used to add all currently bonded devices to the white list. Command
JB does not expect any parameter.
The random address in the white list can be resolved with command JB for connection
purpose. If the peer device changes its resolvable random address, the RN4870/71 is
still able to detect that the different random addresses are from the same physical
device, therefore, allows connection from such peer device. This feature is particularly
useful if the peer device is a iOS or Android device which uses resolvable random
address.
10 TK value
11 Security OOB flag
12 Slave connection interval range
14 List of 16-bit service UUIDs
15 List of 128-bit service UUIDs
16 Service data
FF Manufacture Specific Data
Example: IA,Z // Clear all advertisement content
IA,09,313233 // Set AD type to local name “123”
Response: AOK
ERR
// Success
// Syntax error or invalid parameter
Default: None
Example: JA,0,112233445566 // Add public address 0x112233445566 to
// white list
Response: AOK
ERR
// Success
// Syntax error or invalid parameter
Default: None
Example: JB // Add all bonded devices to white list
Response: AOK // Success
TABLE 2-13: LIST OF AD TYPES (CONTINUED)
AD Type (HEX) Description

Other manuals for Microchip Technology RN4870

Related product manuals