Skip to content

Mac filtering

MAC address filtering (Bluetooth)

Address filtering allows the possibility to restrict the device

Using Bluetooth PIN

A Personal Identification Number (PIN) may be used on a Bluetooth connection to offer some authentication security.

The PIN is set on the Bluetooth Server device, and the Client requesting connection must supply that same PIN in order to have the request accepted.

The maximum length of the PIN code is 15 characters.

This should be read in conjunction with the general Bluetooth guidance.

Note

Once a Client has 'paired' to a Server, it will always be allowed reconnection.
This means that if a Client that successfully used a PIN to connect, then the PIN on the Server was changed - the Client will still connect. To prevent this, the user must clear all previously paired devices from the Server.

Write 0x64616F6C to 0x1011:0x66 [Delete BT Classic paired devices] to reset all paired Bluetooth classic devices.

See List Currently Paired Devices for more information.

After this, if the Server has the PIN enabled, all Clients must also have that same PIN to connect.

Enabling Bluetooth PIN

On the Server device

  1. Set 0x3002:0x06 [BT Classic Pin Code] to the desired value.

  2. Set 0x3002:0x07 [BT Classic Enforce Pin Code] to 1 (Enable).

On the Client device

  1. Set 0x3002:0x06 [BT Classic Pin Code] to the *same value as on the Server for the same object.

If the Server is configured as above, it will request a PIN from any Client attempting connection.
Only if the PIN matches, does the connection proceed.

Disabling Bluetooth PIN

On the Server device, set 0x3002:0x07 [BT Classic Enforce Pin Code] to 0 (Disable).

This means any Client will be allowed to connect.