RSS
Sort by » date activity ▼ answers views votes

25 questions

Tagged
  • x
31
views
no
votes
1
answer
Last activity 2017-10-11 12:49:37 +0200 by gkovelman_tap

how to handle PM_EVT_PEER_DATA_UPDATE_FAILED

Hi,

I'm seeing this error PM_EVT_PEER_DATA_UPDATE_FAILED sometimes and I need to understand what are the options on handling this error except for just asserting it. I can't seem to find any information on it.

So far, I've ... (more)

53
views
no
votes
1
answer
Last activity 2017-10-02 12:10:52 +0200 by Petter Myhre flag of Norway

What are the purpose of the keypress and lesc function in Peer Manager?

I try to add function for the peer manager initialization and set the security parameters. I did not understand keypress and lesc parameters exactly. Documentation says for keypress;

  • Enable generation of keypress notifications.

Also documentation says for lesc;

  • Enable LE ...
(more)

91
views
1
vote
1
answer
Last activity 2017-09-26 09:28:37 +0200 by Petter Myhre flag of Norway

Bonding errors in SDK 14

Hello,

I have recently ported our application from SDK 13 to SDK 14. Everything that worked in SDK 13 works in SDK 14. I then added the peer manager according to the ble_hrs example.

Every time I try to initiate ... (more)

67
views
no
votes
1
answer
Last activity 2017-08-16 16:09:16 +0200 by Joakim Jakobsen flag of Norway

ble_cfg.gap_cfg.role_count_cfg.central_sec_count clarification

I'm trying to reduce the RAM requirements of the softdevice for my application and am looking at some of the options in ble_cfg_t.

What does ble_cfg.gap_cfg.role_count_cfg.central_sec_count actually do?

documentation states

/**< Number of SMP instances shared between ...

(more)

51
views
no
votes
no
answers
Last activity 2017-08-11 01:43:46 +0200 by goldwake

pm_conn_secure pairs to devices but eventually stops

Hi all,

I am using an NRF52 and SDK 13.0

I have an external device (central) that I am connecting to using my (peripheral) device.

My peer manager set up is

#define SEC_PARAM_BOND                   1                                          /**< Perform bonding. */
#define SEC_PARAM_MITM                   0 ...
(more)

64
views
no
votes
no
answers
Last activity 2017-08-11 01:08:41 +0200 by goldwake

pm_init hides real cause of error

Hi Nordic,

I have recently received an error from pm_init that I have never seen before, NRF_ERROR_INTERNAL. After some debugging, I found it was really due to NRF_ERROR_STORAGE_FULL (I'm not sure how it got to this state).

Why does ... (more)

63
views
no
votes
1
answer
Last activity 2017-07-28 14:18:58 +0200 by Hung Bui

Pairing and limiting paired devices without manager

Hi,

Is it possible to make pairing without the peer/device/bond manager? I am using SDK 12.3 on NRF51 and/or NRF52 and would like to get it to pair with a certain device (android or iOS) and ... (more)

84
views
1
vote
1
answer
Last activity 2017-07-11 14:18:13 +0200 by Antony Tom Mathews

Bond information not stored in Flash

Hi, I was in a process of developing a central device with nrf51422 in PCA10028 board with NUS service client.I use SDK v12.2.0.We have an example code in the library which I modified for multiple devices ... (more)

96
views
3
votes
1
answer
Last activity 2017-07-04 14:28:21 +0200 by Vidar Berg

Peer manager flash write disabling

Hello,

i am writing an application which uses the SDK13 peer manager library for bonding. The Nordic chip is acting as a peripheral.

Is there an easy way to prevent the peer manager from saving every change to flash memory ... (more)

82
views
1
vote
1
answer
Last activity 2017-06-07 13:13:09 +0200 by Hung Bui

S130 / SDK 12.3.0 Flash footprint

So, does anyone have practical advice for reducing the code size of peer_manager and related modules, so that the ble_app_template project fits on the nrf51822 128KB part?

This is for a very basic peripheral based on NUS service. The related ... (more)

140
views
no
votes
1
answer
Last activity 2017-03-14 11:24:23 +0200 by Jørn flag of Norway

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)

290
views
1
vote
1
answer
Last activity 2017-02-21 13:36:02 +0200 by Jørgen Holmefjord flag of Norway

NRF52 PM_EVT_ERROR_UNEXPECTED because of dirty FDS pages

Peer manager worked fine for bonding on my pca10040 board. However, when I flashed the code to my prototype, built with a SparkFun nrf52832 prototype board, I received PM_EVT_ERROR_UNEXPECTED messages during bonding, causing an assert-reset.

I dug down, down the ... (more)

81
views
1
vote
1
answer
Last activity 2017-02-17 15:12:32 +0200 by Definitely Confused

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)

78
views
no
votes
1
answer
Last activity 2017-02-13 19:49:35 +0200 by jaytroymo

Best way to change FS_PAGE_END_ADDR or use Peer Manager from RAM?

Using nRF52 with SD 132 3.0.0.

Peer manager uses fstorage to store information. I need to be able to specify the address range which fstorage can use. Is there a configurable way to do this? Right now my ... (more)

57
views
no
votes
1
answer
Last activity 2017-02-02 22:16:09 +0200 by Petter Myhre flag of Norway

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.

304
views
no
votes
1
answer
Last activity 2017-01-09 14:37:36 +0200 by Sigurd flag of Norway

How to use Bluetooth Developer Studio with SDK12

I installed Bluetooth Developer Studio, (BDS), which appears to offer a way of setting up a custom profile without have to spend too much time on writing low level code. I also installed the Nordic nRF5 plugin for BDS, which ... (more)

138
views
no
votes
1
answer
Last activity 2016-12-16 15:53:23 +0200 by Definitely Confused

Peer Manager Whitelist Disable But Not Erase [closed]

Is there a way to disable (not use) the peer manager's whitelist without setting it to NULL? I'd like to be able to temporarily disable the whitelist without potentially losing it should an unexpected shutdown occur.

128
views
no
votes
no
answers
Last activity 2016-12-01 16:58:46 +0200 by piff

peer_manager ios pair/bond

I have trouble making iOS to reconnect after a device firmware update: I assume the issue is due to flash being rewritten and so loosing information about the iOS peer. The iPhone try to reconnect and shows the pairing dialog ... (more)

285
views
no
votes
1
answer
Last activity 2016-11-10 12:16:51 +0200 by Hung Bui

sdk 12 buttonless dfu without peer_manager

Hi,

I was trying to integrate a more simple version of the buttonless dfu example on my application. My first step was to get rid of the peer_manager and also the flash (FDS) modules but I don't know if ... (more)

418
views
no
votes
no
answers
Last activity 2016-10-19 05:58:41 +0200 by Henry

How to minimize the code size of peer manager?(SDK12, S130)

Hi Nordic, I started from an empty project with peripherial control first, the code size is about 12KB. Then after adding peer manager and related code(fstorage, fds and etc.), the code size become 27KB.In order not to reach ... (more)

424
views
2
votes
1
answer
Last activity 2016-10-03 13:58:47 +0200 by Aryan flag of Norway

Peer Manager fail to save a bonding data in SDK11 and SDK12

Noticed this for gcc with -0s optimization an application fail to save a bonding data. It is caused by byte alignment of

 static uint8_t buffer_memory[(n_blocks) * (block_size)];

in the macro PM_BUFFER_INIT in (pm_buffer.h).

261
views
1
vote
1
answer
Last activity 2016-09-19 09:23:55 +0200 by VanNuru flag of Germany

Linker-file and peer manager RAM problem

I'm working on my owm dfu service and until recently I used pstorage_raw for handling memory. Now as I wanted to implement bonding, I added the peer manager, because I'm not so sure about implementing the security features ... (more)

225
views
no
votes
1
answer
Last activity 2016-09-13 16:38:04 +0200 by Ole Bauck flag of Norway

Problem: peer_manager_init report NO_PAGES error

Hi:

I compiled the ble_app_cts_c project of the SDK12 using the Segger Embedded Studio having as target the PCA10040 board (S132 stack). After spending some time to convert the Keil project to a Segger project, I was able to compile ... (more)

241
views
5
votes
1
answer
Last activity 2016-09-08 17:09:16 +0200 by Patrice Rudaz flag of Switzerland

[bug report] SDK v12 C++ issue in peer_manager_types declaration

Hello,

I'm currently porting all my C++ code from SD130 SDK10 to SD132 SDK12 and I also upgrading from device_manger to peer_manager.

I've noticed that in peer_manager_types.h file there is a declaration with an empty array:

/**@brief ...
(more)

982
views
no
votes
1
answer
Last activity 2016-01-18 11:08:59 +0200 by Petter Myhre flag of Norway

Peer_manager Question: how to handle the line in ble_advertising_start

I am attempting to make the change to peer_manager, fromd evice manager, and the in ble_advertising_start() pstorage_access_status_get() call, I'm not sure what to change this to.

I've run through the tutorial, but, this one line isn't handled.

Statistics

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

User menu

    or sign up

Recent questions