First time here? Check out the Tour!
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)
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;
Also documentation says for lesc;
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)
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?
/**< Number of SMP instances shared between ...
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 ...
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)
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)
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)
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)
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)
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)
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)
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)
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)
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.
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)
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.
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)
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)
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)
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).
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)
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)
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:
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.