# 146 questions

Tagged
• x
17
views
no
1

## Always reconnect after peers deleted

Hi community,

I'm working on a BLE gamepad with custom board based on 51802 and s130, code modified from ble_app_hids_keyboard. The gamepad works like a charm on my Android phone, but I found there's a strange problem with ... (more)

48
views
3
2

## ANCS Code base (bonding) with NUS and strange behaviour with nRF Toolbox

Hello the Nordic Team,

I come here after a lot of research and testing and do not understand what is going on in my program. (is it Embedded or iPhone nRF Toolbox side ?)

I took the ANCS code ( nRF5_SDK_12.2 ... (more)

46
views
no
1

## cannot bond in the example ble_app_hrs_pca10040_s132(nrf52832)

Hi,

I use ble_app_hrs_s132 project for experiment on bonding function. The version of SDK is v12.2.0. It seems that this example has all the conditions the bonding function needs according to the document. Following is all the step ... (more)

97
views
no
2

## bond question with Peer Manager [closed]

I use example ble_app_hrs_pca10040_s132 with SDK12.2.0 to test bonding function.It works as a server and it is bound by client. But I fail to bond. It seems that example has peer manager and also has bond function ... (more)

51
views
1
vote
1

## Bonding with nRF52 as Central

Hi, I have a need to connect to a peripheral device from and nRF52 with a Bonded connection.

My device handles bonding when it is a peripheral, but what is needed to enable bonding in Central mode? Is there some ... (more)

43
views
no
1

## Deny Connection if Unencrypted

How do I deny a connection if the connection is unencrypted? I'm currently trying to do it with the peer_manager using

case PM_EVT_CONN_SEC_FAILED:
{
/** In some cases, when securing fails, it can be restarted directly. Sometimes it can
*  be restarted ...
(more)

191
views
no
no

## Device manager and preserved bonding info across DFU questions (NRF51, SDK10)

Hi,

After successfully managing to preserve our devices bonding information (and custom app context data) across DFU updates, we have a few related questions.

I should note that we are working on custom peripheral boards based on the nRF51822, S110 ... (more)

70
views
2
1

## Bonding information lost after DFU OTA update SDK 10.0 SD 8.0

Hi,

We are currently facing this issue, where after a DFU application firmware update (or bootloader update) the bonding information gets wiped out.

We are using a custom board as peripheral based on NRF51822, with Soft Device S110 8.0 ... (more)

164
views
1
vote
1

## If no use bonding and secure fuction may I just mask the pm_conn_secure in central device project

Hi I use nRF52832 and SDK13 and Central Device project. and my device has not bonding function so may I mask my central device pm_conn_secure call here is my part of code

#define SEC_PARAM_BOND  0//1
static void peer_manager_init(void ...
(more)

163
views
4
1

## NRF_ERROR_INTERNAL while bonding?

Hi,

After finding that Windows doesn't like HID devices if they can't be bonded to, I've been attempting to add peer_manager and bonding into my application.

However, having added it I'm getting loads of problems. I ... (more)

53
views
2
1

## BLE_HCI_CONN_TERMINATED_DUE_TO_MIC_FAILURE after re-connection

Hi,

I ported some SDK code into my device (SDK 10 adapted for S110v7x) where I can successfully Bond my device and use the Services I need (ANCS on my case). I have simplified the example to not use the ... (more)

90
views
no
1

## What are the peer_manager and BONDING does?

Hi I saw the Central and Peripheral example code has peer_manager in sdk 12.2 and BONDING_ENABLE in sdk10.

What are they does and where has document I can read. If I dont use should I set true or false ... (more)

80
views
no
1

## Proper way to delete bond information before DFU

Dear Nordic experts,

After experiencing a lot of random issues when retaining bond information during a DFU on some mobile devices, we've decided to choose the safest route and remove any bond information prior to performing a DFU. However ... (more)

101
views
2
2

Hello, I've been trying to get directed advertising and auto-connection working on an NRF51822 peripheral.

I'm using SDK V11.0 with SD130 v2.0.1

This is the scenario I'd like to get working:

• Start normal (fast ...
(more)

94
views
2
2

## connect to bonded device using Masteremulator C#

Hi all,

I am using a C# application with the masteremulator dll to connect to a nRF51822 with S110 V8.0.0

I can bond with a new device, and communicate with it in a secure way. But I don ... (more)

43
views
no
1

## Temporarily Disable Bonding

Hello,

Is there a way to temporarily disable bonding and just allow any connection? I want to generally use bonding, but there are certain corner cases where I need to allow just any device to connect.

203
views
4
3

I have been using the pc-ble-driver Python bindings to implement a peripheral. I have extended BLEDriver to support sd_ble_gatts_* the functions. I now have a working peripheral, however I have a problem when trying to support bonding.

When the central ... (more)

52
views
no
no

## Pairing procedure failed by bonding

Hello everybody,

for my project, i will bond the peripherial with the central. I test my device with the MCP and can connect without problems. When i press the Bond Button on the MCP, i get following log-file:

>     7315;15 ...
(more)

86
views
2
1

## How to enforce connecting to a specific master when bonded to many.

Problem:

In our project we have one peripheral which can be bonded to many phones at the same time (of cause) while they are still close to it, thus connected via OS.

In that situation we need to selectively unblock ... (more)

95
views
no
1

## IOS bonding procedure?

I understand that in order to trigger bonding procedure you need to read/write a secure characteristic.

I am using the nRF Connect application on IPhone and trying to see when if a bonding passcode will pop-up when I read ... (more)

120
views
no
no

## Pairing/bonding with ble_app_template example not working for me

Hi,

I just recently got into designing Bluetooth devices and I am experimenting with NRF51822 and BLE400 board. I managed to compile and upload the examples from SDK 11.0.0 to the device with SEGGER Embedded Studio and I ... (more)

47
views
no
1

## pc-ble-driver-py - ble_gap_sec_params_reply hangs [closed]

I have been using the pc-ble-driver Python bindings to implement a peripheral. I have extended BLEDriver to support sd_ble_gatts_* the functions. I now have a working peripheral, however I have a problem when trying to support bonding.

When the central ... (more)

93
views
no
no

## pc-ble-driver 1.0 - bonding

Hello,

I work on an application which use the pc-ble-driver 1.0 as BLE central for handling external peripheral devices.

Now, I am working on bonding procedure. To make it simpler I started from 'Just Works' bonding and followed this ... (more)

90
views
4
1

## how to avoid bonding of device more then one time.

Hello iam using softdevice 110 and SDK 10.0.0, i want to know the way to avoid bonding of device more then once, or deleting the bonding information from persistent memory if bonded device requests for bond again. Iam ... (more)

322
views
6
3

## No disconnect event after bond on Android

Hello,

To reproduce this problem I use these steps:

1. Bond to NRF51822 using Android 6.0.1 and latest nRF Connect version;
2. After successful bond, connect to NRF51822;
3. Use "DISCONNECT" button in nRF Connect application;

After these steps my application ... (more)

193
views
5
1

## device context storing issue

what is the procedure to find connected device is bonded or not, should i store the device, application or service context in persistent memory to help recognizing bonded devices? Iam using SDK10.0 and SoftDevice Version 110. iam using device ... (more)

198
views
no
1

## Best place to put sd_ble_gap_tx_power_set() to reduce power during bonding?

Hi,

I am using peer manager to use static passkey with nrf51822, sdk11 and s130 v2.

Is the "case PM_EVT_CONN_SEC_START:" the best place to put sd_ble_gap_tx_power_set() to reduce power during bonding to avoid MITM attack and then increasing it again ... (more)

191
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)

403
views
1
vote
no

## How to Disable Bond on iOS?

Hi,

my device : nRF51822 with sdk 10.0

Before I talk my question, let me make clear. When peripheral connects to iPhone, it's on iOS's setting too but it doesn't go out even if app's closed ... (more)

291
views
1
vote
no

## Reconnect device with existing bond with android

I am trying to re-connect my android phone to nrf51822 using already existing bond, I am able to reconnect to the card, but the issue is I still need to perform gatt.discoverServices, and then setCharacteristicNotification, then writeDescriptor to receive ... (more)

#### Statistics

• Total users: 20224
• Latest user: Mari Tucker
• Resolved questions: 9439
• Total questions: 22432

## Recent blog posts

• ### The complete tutorial for developing and debugging nRF52 applications on a Mac

Posted 2017-05-11 04:13:06 by Mohammad Afaneh
• ### Bluetooth 5 2Mbps Demo with nRF52 Series and Samsung Galaxy S8

Posted 2017-05-09 14:20:22 by John Leonard
• ### Setting up Segger on a mac or pc and debug - step by step for humans

Posted 2017-05-05 14:03:35 by Lola

Posted 2017-04-11 11:49:17 by Radosław Koppel
• ### Taking a deeper dive into Bluetooth 5

Posted 2017-04-07 14:53:51 by John Leonard

## Recent questions

• ### nrf52 sdk12 custom service full example

Posted 2017-05-28 19:34:43 by Remi
• ### Antenna for the beacon

Posted 2017-05-28 18:06:06 by Usman
• ### Gazell nRF51822

Posted 2017-05-28 00:40:13 by Andrew Kohlsmith
• ### Is Zephyr I2c Master Supported pca10040

Posted 2017-05-27 23:21:37 by gidjit
• ### Throughput of ble_app_uart

Posted 2017-05-27 19:14:00 by mansfield