This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

CONNECTABLE MODES - PERIPHERA and CENTRAL

hi, i survey the Bluetooth again , i have some issue about the Connectable mode

  1. Connectable mode.

i see the peripheral connectable setting : PERIPHERAL :

Non-Connectable Mode (BLE_GAP_ADV_TYPE_ADV_NONCONN_IND) Undirected Connectable Mode(BLE_GAP_ADV_TYPE_ADV_IND) Directed Connectable Mode (BLE_GAP_ADV_TYPE_ADV_DIRECT_IND)

On the other hand , On Central the ble define some "CONNECTION ESTABLISHMENT PROCEDURES"

Auto Connection Establishment Procedures automatically connect to a set of devices – uses white lists General Connection Establishment Procedure connect to anydevice –supports private connections Selective Connection Establishment Procedure connect to set of devices –separate configuration perdevice Direct Connection Establishment Procedure connect to “that” device – any private / unknown device possible

Now, my system Architecture(the system framework basic on smart remoter 2) is peripheral at nRF51; another is iOS(central) . when it pair and Bond then disconnect , if when peripheral do advertising again. it will do "Auto Connection Establishment procedure" , if i don't want to do it . How to Implement ?

i think it is white list and central (see the attachments file ). ? if it is right, the white list how to clear ?(central /peripheral)

ref: nRFready Smart Remote 2

auto connect devzone.nordicsemi.com/.../ios-corebluetooth-reconnecting-device-with-pair

connect mode.png

  • Unfortunately, I'm having some trouble understanding what you try to achieve.

    In general, you can not use directed advertising with an iOS device, since it changes its address every once ina while. You can however use whitelisting based on the IRK, if you only want previously bonded devices to connect.

    There is no built-in way to ban a specific device from connecting (there is no blacklisting). If you want to achieve this, you'll have to do some other tricks, for example changing the Bluetooth address so that the device looks like a new one to the Central. However, in most cases except for HID, connection from the iOS device is app-controlled, so you should be able to tell your app that it shouldn't try to reconnect, by for example sending a notification on a specific characteristic or similar.

    If I don't answer your question, can you please edit it and expand it a little?

  • thank you reply. That is just what I want to know. another think , Can you explain about the white list on filter policy.

    Thank you for considering my request.

Related