RSS
Sort by » date activity ▼ answers views votes

110 questions

Tagged
  • x
13
views
no
votes
no
answers
Last activity 2018-01-23 09:42:54 +0200 by norman

Enforce order of connection to centrals

I have peripheral BLE device which can have several centrals in its whitelist. It should be able to connect to central with higher priority first, for example: device have 3 centrals in whitelist with A having highest priority, B second ... (more)

48
views
-1
votes
1
answer
Last activity 2018-01-13 17:26:45 +0100 by kasi

How to operate flash memory when using ble mesh examples?

I have couple of nRF51422 boards, nRF5-SDK-for-Mesh (v. 1.0.0) and good will to demonstrate some simple multihop mesh.

And I want to write some data to the flash, but operating the flash directly triggers an assertion(sleep_forever).

I ... (more)

31
views
no
votes
no
answers
Last activity 2018-01-12 15:00:19 +0200 by aircheese

Are TWI manager implemented low power features?

My environment is: SDK14.1 + SD132 V5.0 + NRF52832

2 sensors(MPU9250 + LPS22HB) 1 battery gas meter (LTC2942) are mounted on TWI ( +1mA)

SPI to spi flash. (+1mA) and UART for shell. (+1mA)

I used both manager. After putting all ... (more)

46
views
1
vote
no
answers
Last activity 2018-01-04 15:12:40 +0200 by picben

About EDIV and Rand

Hi everyone,

I have some questions regarding the use of EDIV and Rand in BLE Legacy Pairing.

  1. What I understood from the specs is that these are generated during the pairing phase by the slave device and exchanged with the ...

(more)

58
views
2
votes
1
answer
Last activity 2017-12-20 16:03:02 +0200 by nahro

peer manager delete peer by custom id

hi I am using peer manager to pair and bond android phone to nrf52840. I want to give custom peer id to this phone during bonding process, then if i lost this phone i will be able to delete bonding ... (more)

124
views
1
vote
1
answer
Last activity 2017-11-23 08:55:33 +0200 by Jakub Rzeszutko

Question about SPI transaction manager

Hello,

Some problems I meet when I try to use spi manager in ble_template example to read "who_am_i" register of LIS2DH12. The environment is set as below:

  1. nRF52832 DevelopKit with SDK 14.1.0, ble_app_template project.
  2. Connect the DevelopKit board ...

(more)

119
views
1
vote
2
answers
Last activity 2017-11-16 14:38:26 +0200 by Petter Myhre flag of Norway

How large is the size peer manager uses?

I'm trying to determine DFU_APP_DATA_RESERVED and FDS_VIRTUAL_PAGES. According to this Q&A, DFU_APP_DATA_RESERVED must be the same FDS_VIRTUAL_PAGES, if FDS_VIRTUAL_PAGE_SIZE is 1024.

My application uses 11 pages, so 11+the size peer manager uses must be FDS_VIRTUAL_PAGES( and DFU_APP_DATA_RESERVED ... (more)

62
views
1
vote
1
answer
Last activity 2017-11-13 18:58:25 +0200 by Jason Hendrix

aborting nrf_twi_mngr_perform

It seems like there is the possibility of an infinite loop in the function nrf_twi_mngr_perform() near line 361 where it calls the user function. If the I2C bus is messed up somewhow (e.g. TWI module is in suspend), we ... (more)

132
views
1
vote
1
answer
Last activity 2017-10-27 12:34:53 +0200 by Hung Bui

Is it possible to add my mobile device to whitelist without pairing?

I´m currently developing ble peripheral application for the nRF52832 with SDK v13.0.0. I need to have a secure connection between the nrf and android or ios mobile device and i figured that whitelisting with the peer manager ... (more)

41
views
2
votes
1
answer
Last activity 2017-10-26 11:19:59 +0200 by Bjørn Spockeli flag of Norway

Adding newer SDK features to existing application in SDK v10

I am working on adding DFU, persistent storage and pair/bond feature to an existing nRF51 application, developed with SDK v10.0.0 running on SoftDevice S110 v8.0.0.

I looked over the SDK documentation a little and found ... (more)

114
views
no
votes
1
answer
Last activity 2017-10-16 09:54:34 +0200 by emdi

SDK14 application and peer manager using FDS simultaneously

Test code:SDK14 ble_app_ancs_c

Hey guys, When I used ble_app_ancs_c demo to do FDS, there was a problem! I initialize FDS and register the drop back function。

image description

When I was working with FDS, I found that I didn't go ... (more)

149
views
4
votes
2
answers
Last activity 2017-10-02 14:37:31 +0200 by DerPMO

peer manager database : N_WRITE_BUFFERS = number of connected peers?

I didn't find any documentation in the peer manager for the need of this write buffers. I do understand, that peer device data is stored there before written to flash. But how big has this buffer to be? I ... (more)

142
views
3
votes
1
answer
Last activity 2017-09-29 17:27:56 +0200 by JiachengWang

SDK 14 soft device manager running error

I'm using SDK14, S132 5.0 and nRF52832, and trying to enable and disable softdevice in my application. In main function, the power management loop is like

  while(1)
  {
    if(nrf_sdh_is_enabled( ))
    {
      app_sched_execute();
      ret_code_t ret = sd_app_evt_wait();
      APP_ERROR_CHECK(ret);
    }
    else
    {
      __WFE ...
(more)

84
views
no
votes
1
answer
Last activity 2017-09-01 02:32:28 +0200 by jaytroymo

FDS multiple GC completed events and crash

Device: nrf52, sd132 v3.0.0, SDK 12.1 (and also 12.3), freeRTOS, BLE peripheral, gcc-arm-none-eabi-5_4-2016q2

I am experiencing an issue which is causing our device to crash and eventually reset due to the WDT.

See device log:

[103817690 ...
(more)

117
views
no
votes
1
answer
Last activity 2017-07-31 19:51:53 +0200 by Mushiru

Program not pairing/bonding and pm_evt_handler never called

Using SDK13

I have a Central program and I included the peer manager code from ble_app_hrs_c but I am having issues after connecting to another dev kit with Peripheral code running on it. It seems that the pm_evt_handler function is ... (more)

63
views
no
votes
no
answers
Last activity 2017-07-28 16:52:18 +0100 by Konstantin Chuvashev

pm_peer_rank_highest return values [closed]

Hi, Developer Zone!

Can pm_peer_rank_highest function return NRF_ERROR_STORAGE_FULL code? There is no this error code in description for function, but in the code I see that pds_peer_data_store function called inside pm_peer_rank_highest can return this error.

nRF5 SDK version 12.3 ... (more)

29
views
1
vote
no
answers
Last activity 2017-07-11 03:32:27 +0100 by peacock

Cannot Disable MEM_MNGR debug trace SDK 13.0

I have the Memory Manager module enabled in my custom sdk_config. Within the module, I have both of the following defined.

MEM_MANAGER_ENABLE_LOGS 0

ENABLE_DEBUG_LOG_SUPPORT 0

However, when the app runs, I get an unending stream of "Debug" level logs originating ... (more)

91
views
no
votes
1
answer
Last activity 2017-06-09 16:33:46 +0100 by Ulrich Myhre flag of Norway

Notification write (response) lost when bonding [closed]

This week I worked myself to a series of what seemed to be problems boiling down to one issue: The Notification Write Response is lost when bonding has to happen first.

I'll try to illustrate this in more detail ... (more)

122
views
1
vote
1
answer
Last activity 2017-05-31 08:47:43 +0200 by Jakub Rzeszutko

Cannot reveive bytes when using spi transaction manager

I'm trying sending and receiving data with spi transaction manager library (nrf_spi_mngr).

The problem is that I cannot receive bytes from SPI device as end_callback doesn't work while begin_callback works.

There is no problem using SPI driver (nrf_drv_spi_transfer ... (more)

2k
views
19
votes
1
answer
Last activity 2017-05-24 08:49:17 +0200 by Aryan flag of Norway

what are nrf51 SDK 10.0 known issues

On SDK 10.0 only

  • Do not judge the quality of SDK based on number of entries here. This thread should be considered part of Nordic effort to main the quality of the release.

GENERAL RULES TO KEEP THIS PAGE ... (more)

131
views
no
votes
no
answers
Last activity 2017-05-10 08:12:38 +0100 by Moritz Caspar flag of Germany

Peer manager returns invalid peer id

In our testing we encounter some devices (Centrals with nrf52832), where the peer manager event PM_EVT_BONDED_PEER_CONNECTED contains a invalid peer id 0x4000 (allowed values are between 0..255). This seems to be caused by a wrong FDS-record. The function "pds_peer_data_iterate ... (more)

80
views
no
votes
no
answers
Last activity 2017-05-09 08:58:16 +0200 by Rick flag of Netherlands

Persistent characteristic value with peer manager?

From this post here I learned that the device manager can be used to store characteristic values persistently. This post is quite old though and it seems more common to use the peer manager now. Does the peer manager have ... (more)

270
views
no
votes
1
answer
Last activity 2017-05-08 14:14:35 +0200 by Petter Myhre flag of Norway

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)

801
views
2
votes
2
answers
Last activity 2017-05-03 11:46:19 +0100 by Andrea

Device manager with bonds in RAM

I'm using SDK 6 + S110 v7.

Is it possible to use device manager to perform bonding but don't write bond information persistently in flash?

With old bond manager I could do this by removing ble_bondmngr_bonded_centrals_store() from BLE_GAP_EVT_DISCONNECTED event ... (more)

156
views
no
votes
1
answer
Last activity 2017-05-03 10:13:39 +0200 by Turbo J

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)

138
views
no
votes
1
answer
Last activity 2017-04-27 20:22:19 +0200 by Jakub Rzeszutko

SPI manager queue limitations

Hi all,

Having a bit of an issue with the SPI manager scheduler. When sending small packets (<4 bytes), I seem to be able to queue as many requests as I want.

However, sending a larger packet - even without any ... (more)

305
views
no
votes
no
answers
Last activity 2017-04-27 11:35:45 +0200 by NateABC

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)

106
views
1
vote
1
answer
Last activity 2017-04-27 09:10:41 +0100 by NateABC

Why is DEVICE_MANAGER_APP_CONTEXT_SIZE set to 16 bytes in hrs?

Hi,

I've read a couple of threads in this forum that suggested that the DEVICE_MANAGER_APP_CONTEXT_SIZE value (which should be a multiple of 4) is supposed to be 16 bytes as it is set in the hrs with dfu example ... (more)

441
views
no
votes
1
answer
Last activity 2017-04-18 15:44:39 +0200 by Petter Myhre flag of Norway

Peer Manager Peer Delete

Hello Nordic, Im using SDK13.0 and im struggling with pm_peer_delete() My way of testing this function:

  1. Raw firmware without any bonds.
  2. Create bond. Peer id is set to 0.
  3. Over this connection try to delete different bond using pm_peer_delete ...
(more)

847
views
1
vote
1
answer
Last activity 2017-04-06 14:42:52 +0100 by Jørn flag of Norway

How to save data on flash storage?

I need to save some data on the flash storage. This data will be some structures and I will write, read and modify them as and when required. I am also using peer manager in my application. Can my application ... (more)

Statistics

  • Total users: 26365
  • Latest user: Emma Garratt
  • Resolved questions: 11565
  • Unanswered questions: 4029
  • Total questions: 28763