5.3.5.4 Add One Device Into Accept List or Accepted List by Address

Table 5-52. Format
Firmware Version 1.0Firmware Version 1.2 and Later
JA,<0,1>,<BDA>

ALA,<0,1>,<BDA>

Note: All firmware version 1.0 syntax remains valid in version 1.2 and later.

Use command JA or ALA to add a MAC address to the accept list. When one device is added to the accept list, the accept list feature is enabled. With the accept list feature enabled, when performing a scan, any device not included in the accept list does not appear in the scan results. As a peripheral, any device not listed in the accept list cannot be connected with a local device. The RNBD350 module supports up to eight addresses in the accept list. If the accept list is full, any attempt to add more addresses returns an error.

Command JA or ALA 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 six-byte address in hex format.

When the input address is a random address, it must be a static random address. If there is a change in the random address, this device is no longer considered to be on the accept list.

ItemFirmware Version 1.0 and LaterDescription
Default:None
Example:JA,0,112233445566Add public address 0x112233445566 to

accept list

Response:AOKSuccess
ErrSyntax error or invalid parameter
ItemFirmware Version 1.2 and LaterDescription
Default:None
Example:ALA,0,112233445566Add public address 0x112233445566 to

accept list

Response:AOKSuccess
ErrSyntax error or invalid parameter