# 55 questions

Tagged
• x
21
views
no
no

## Why are discoverable modes not permitted with Whitelisting?

On this question it is said: "Error code 0x3201 means BLE_ERROR_GAP_DISCOVERABLE_WITH_WHITELIST: Use of Whitelist not permitted with discoverable advertising."

Why does example ble_app_hids_mouse (SDK v12.3.0) advertise with

    adv_flags                       = BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE;


and has Whitelist

    options.ble_adv_whitelist_enabled      = true;


enabled?

62
views
2
1

I have a problem using ble_advertising_restart_without_whitelist(). According to the documentation (as I understood) it should start advertising without whitelist even if a whitelist exists (hence it skips BLE_ADV_EVT_WHITELIST_REQUEST). In the next call of ble_advertising_start() advertising should use the whitelist again ... (more)

33
views
1
vote
1

## Device disconnects after Foget Device from ANCS server?

Hi, I am using "nrf5 sdk v11.0" ble_peripheral "ble_ancs_c" example for nrf52_DK(PCA10040) .

When i connect to the my ios device then accepted pairing request then i am able to get the notification from ios ANCS server . But when ... (more)

74
views
no
no

## Adding whitelist causes crash [closed]

I'm still learning about whitelisting, advertising, ect. My project originated as a copy of the ble_hrs example provided by nordic. I wanted to add the ble_cts_c service client to my project, so I began integrating the relevant parts from ... (more)

88
views
1
vote
1

## enable whitelist in advertising SoftDevice S130

Hello, I got problem in enabling whitelist on starting advertising.

My working enviroment is PCA10028 V1.1.0 2015'18, SoftDevice S130 2.0.1, SDK 12.2.0 MCP works on Android 6.0.1, Nexus 7(2013).

I ... (more)

77
views
no
no

## Getting peer id invalid after pm_conn_secure in central

Hi,

I've one central and one peripheral devices. I'm trying to make a connection between them, perform a bonding process and finally add the peripheral id in the whitelist of the central one and vice versa. I'm ... (more)

115
views
no
1

## Advertising with device_name Vs whitelisting

I am confused with whitelisting and advertising/scanning with device name

I have a peripheral and a central device, peripheral device is advertising with device name set as 'PERIPHERAL_DEVICE' and my central device is scanning for the name 'PERIPHERAL_DEVICE' (m_target_periph_name ... (more)

187
views
no
1

## use whitelist in Central(SDK12)

I want to use whitelist in Central (nrf51822,SDK12),but I don't know which function to add the MAC address. These three functions：

peer_list_get(pm_peer_id_t * p_peers, uint32_t * p_size);
scan_start_with_whitelist(void);


If there are examples of this, better for me，thanks.

315
views
1
vote
1

## how to implement Whitelist in SDK12.2.0 [closed]

Hi, I test Whitelist function in the example ble_app_hids_keyboard_pca10040_s132 using SDK12.2.0. I donnot understand the code in "case BLE_ADV_EVT_WHITELIST_REQUEST:" located in function on_adv_evt(). Following is my question:

105
views
1
vote
1

## Whitelist: Maximum devices to add in a whitelist

Hi

According to previous answers (1 & 2), the limitation on the maximum number of devices that can be added to a whitelist is 8, and is due to softdevice timing limitations. However this value is modifiable in ble_gap.h, so ... (more)

95
views
1
vote
1

## Whitelisting with pc-ble-driver 2.0, S132, API v3 [closed]

Hello,

I develop a BLE central device based on nRF52 (with the newest connectivity firmware and SoftDevice with API v3) and the pc-ble-driver in version 2.0.

Since my device has to connect only known peripherals (previously bonded) I would ... (more)

81
views
1
vote
1

## Reject when whitelist empty [closed]

Is there a way to reject requests when the whitelist is empty? I support clearing out the whitelist, but after clearing out the whitelist I would still like to reject connection requests. Is there a way I can do this ... (more)

182
views
1
vote
1

## Device still visible while advertising with whitelist

I've come across the following situation:

We have a device (nrf52) which uses fast advertising with whitelist after it has established a bond with a single phone. When the device restarts it begins directed advertising to the phone in ... (more)

85
views
1
vote
1

## Whitelisting the Dongle/MCP

I have an advertising device (NRF52DK+SD132_V3.1.0+SDK_12.2.0) where I whitelisted an address corresponding to my NRF51 Dongle (0xDA509C569622).

While the dongle is initiating (with help of MCP v3.10.0.14) a connection to my ... (more)

354
views
6
1

## Setting up whitelist in SDK V12.2.0

ble_app_template.zipI need to setup whitelist. To achieve that while calling ble_advertising_init I specified

ble_adv_whitelist_enabled = true


then, while handling BLE_ADV_EVT_WHITELIST_REQUEST I use:

uint32_t err_code;
switch ...
(more)

145
views
3
1

## [ble_advertising] GAP filter policies while using whitelist

Hello,

Working on a project using the pairing and bonding security model, I would like to filter out of a central's scan all already bonded peripheral devices. Or, I could read in the BLE specification that it should be ... (more)

273
views
1
vote
1

## SDK12 - sd_ble_gap_connect returns NRF_ERROR_INVALID_PARAM when using whitelist [closed]

Dear developers,

We had a working application with SDK11 SD2.0.1 that we have migrated to SDK12 SD3.0.0. With SDK11 we could successfully bond to multiple peripherals and one central at the same time using a whitelist ... (more)

148
views
4
1

## Peripheral MAC change

Hello,

if we want protect our (central) device against tracking and still allow it to connect with specific Peripheral we can use whitelist with IRK (and?) mac address (is mac still mandatory on the list with IRK?). My question - what ... (more)

142
views
no
1

## sd_ble_gap_connect NRF_ERROR_INVALID_PARAM whitelist

Hi every one.

I am developing on S130 SDK 11 and I try to use whitelist connection for optimisation. I have currently a working project which scan for 1 sec for any BLE and then try to connect each one ... (more)

286
views
no
1

## How to manage bonding/whitelist

Hello,

I have implemented the nRF52 as a central using softdevice S132. This central will only connect to one or more peripherals that has been paired (whitelisted). The whitelist and max bonding is limited to 8 peripherals.

My question is ... (more)

615
views
3
1

## How to use an IRK

I know that I am supposed to use an IRK for bonding with devices like iPhones, how do I actually add it to a whitelist and resolve it?

I am using SDK 10 and softdevice s130.

248
views
1
vote
1

## Invalid whitelist created by peer manager in SDK11

Hi

I've implemented a peripheral with bonding support by the peer manager. Additionally the device should scan for bonded devices by using a whitelist. I used the function pm_whitelist_create to create the whitelist. The function succeeds but the scan ... (more)

222
views
no
1

## ble central with whitelist cannot connect to peripheral unless selective disabled first

my central application is scanning for, and connecting to, only a single pre assigned peripheral device/address.

This central device is used in a high RF/BLE peripheral advertising environment.

I add the target peripheral address to the whitelist in ... (more)

68
views
2
1

## Two masters try to connect in the same time

What happens if two masters scan the same channel and try to connect with the peripheral at the same time. And second question - what if one of that masters will be on the whitelist? If peripheral rejects the connection request ... (more)

235
views
no
no

## How to use whitelist only for scan requests?

According to this advertising blog: "The advertiser can use a whitelist to limit the interaction to a number of scanner/central device. The whitelist contains an array of the peer device addresses or IRK numbers (when central use resolvable random ... (more)

167
views
1
vote
1

## Can device or ID address with all zero be added to whitelist?

Hi,

Can we add device address with all fields set to zero's to whitelist.

I went through the spec, but it doesn't talk about the address set to zeros.

Thanks, rangineni

436
views
2
2

## Connecting to only one central. How to? detailed [closed]

Hi, i know this question has been ask before but, i was reading and readind and i could find a way to do it. I got the theory but when i'm going to implement it in my code i ... (more)

906
views
2
1

## Whitelist & Random Resolvable Address

Does the Bluetooth Peer Address of NRF51 Chips change randomly [every 15mins] or does it remain same?

When implementing whitelisting for secured connection, it is required that this must remain same othewise the whitelisting concept is defeated.

426
views
1
vote
1

## sd_ble_gap_connect modifying the whitelist

Using S130, Central device, Manual whitelist, custom hardware.

Manual connection to 1 or 2 peripherals depending on a switch position.

This device is a central that makes a connection, sends a message and then immediately disconnects. I'm passing a ... (more)

79
views
no
no

## Whitelisting a device based on RSSI

Hello!

I would like to whitelist a peripheral when -60 dBm RSSI is achieved (this means that central will bond to peripheral by proximity) but later data exchange must occur independent of the RSSI.

-> Just and example: Peripheral is far ... (more)

#### Statistics

• Total users: 24915
• Latest user: Wilbur Calhoun
• Resolved questions: 10673
• Total questions: 26111

## Recent blog posts

• ### How to build continuous integration and delivery process for embedded SW development

Posted 2017-10-03 11:01:29 by Yaniv Nis
• ### Multiple channels in RTT

Posted 2017-09-29 11:51:52 by Krzysztof Zaraska
• ### 6 Things to Know about Bluetooth Beacons

Posted 2017-09-22 08:27:00 by Rose Martin
• ### Creating a Keil project for a Bluetooth Mesh example (Updated for 0.10.0)

Posted 2017-09-19 12:08:11 by Kristian Skordal
• ### Using millis() like in Arduino.

Posted 2017-09-18 11:58:04 by schef

## Recent questions

• ### SDK supports which nRF5 chips?

Posted 2017-10-18 19:51:25 by Mario Ribeiro
• ### spi slave race condition

Posted 2017-10-18 19:41:54 by Matej
• ### S140 BLE config

Posted 2017-10-18 18:42:45 by mich_x
• ### BLE App UART PCA10056

Posted 2017-10-18 18:29:51 by Meriba
• ### uart_rx disable

Posted 2017-10-18 18:06:46 by phanhust