# 286 questions

Tagged
• x
14
views
1
vote
no

## How to create a whitelist on the Central device

I want to create a whitelist on the Central device. Because there is a lot of peripheral devices around and I just want to connect one peripheral device. First I register the address of the central device to the peripheral ... (more)

13
views
no
no

## iOS Device show Peripheral Name as DFUTarg after Doing DFU ?

Hello,

I am able to get NRFtoolbox dfu code work for iOS 10.3. and now able to perform the DFU on BLE device.

But when I perform the DFU its GAP name changes from Beam to DFUTarg and it ... (more)

24
views
no
no

## ble_app_uart packet not sent more than 278 packets [closed]

I am testing ble_app_uart. Softdevice is S130 and SDK is nRF5_SDK_12.2.0_f012efa.

My development board is Waveshare's NRF51822 Eval Kit.

When I test the ble_app_uart firmware, I cannot send more than 278 packets to ... (more)

28
views
4
1

## Interaction between sd_ble_gap_adv_start and sd_ble_gap_scan_start?

Hi everyone,

I'm using a custom wrapper (https://github.com/sandeepmistry/ardu...) with softdevice S130 v2.0.1. I've extended the wrapper to allow simultaneous advertising and scanning, by calling both sd_ble_gap_adv_start and sd_ble_gap_scan_start.

This works as intended ... (more)

35
views
1
vote
no

## Using the SDK 11 with NRF6310

Hello, I'm working with the NRF6310 Motherboard and play with it a little with SDK 6.1, but i want to create profiles with the Bluetooth Developer Studio, so I started using the SDK 11.0 and test with ... (more)

36
views
no
1

## Bluetooth stops working after integrating ble_nus service

Hello developers, I am trying to integrate ADC, TWI based MPU6050 for accelrometer with ble_nus service for data transmission. The ADC and MPU6050 works perfect but once I integrate ble_nus the code compiles but my NRF51 DK does not advertise ... (more)

116
views
no
1

## HCI interface

Is there a HCI interface according to BT-SIG requirements?

106
views
1
vote
1

## Softdevice vs non-Softdevice

Hi,

I would like to know which is the difference between using a Softdevice or not.

Looking at the blinky example, the two versions are provided. The "main.c" file is the same for both and the only different files ... (more)

45
views
no
1

## How Can I limit Gatt Data bytes that I write? (Not With Zero-Fill)

I created an characteristic that has MAX_Length = 20 Bytes characteristic.

And When I'm trying to write less than 20bytes on this Characteristic, It Always send with 20Bytes with Zero filled data bytes.

For example, I'd like to write ... (more)

27
views
no
no

## sporadic hardfault on nRF51822 SDK9 S130

Sporadic program restart from main. I suppose, it is hardfault exception. How can I catch it?

Check pls my memory settings. ROM: start- 0x1c000 size 0x23000 RAM: start- 0x200028000 size 0x5800

stack and heap I changed to 1024 for each ... (more)

43
views
2
1

## In GATT Packet transfer, is there occurs any packet loss and retrial?

In GATT Packet transfer, is there occurs any packet loss and retrial?

I'm trying to connect about -90 Rssi dBm peripheral device with my nRF51-dk.

In this far range, does it may occur with packet loss in this far ... (more)

143
views
3
3

I have this working and producing good and accurate results, but I'm still puzzled by some of the examples in the SDK and the documentation.

I am using the processor to call for the saadc sample (i.e, not ... (more)

53
views
1
vote
no

Hello, I am using an nrf51822 but have no success in advertising. I tried so far to load the ble_app_template from the peripheral examples where I' ve only changed

 #define APP_ADV_INTERVAL                10


I tried to load another ... (more)

24
views
no
1

## How to read 0x1801 gerneric attribute service in iOS ?

Hi,

I have changed in my services so I have added 0x2A05 (service changed) characteristic in my 0x1801 service. But I am not able to read the service.

In didDiscoverServices I have below code.

- (void)peripheral:(CBPeripheral *)peripheral didDiscoverServices:(NSError ...
(more)

137
views
1
vote
1

## high current in System off [closed]

I don't understand why i have a current consumption of 0.535mA in system off. In my soft i use PWM, SPI a Button,, I put all things off before i go to system off but still not understanding ... (more)

35
views
1
vote
1

## Do I have any restriction with HW Pinout Peripheral when using s130?

if I use softdevice 130 Enabled, then do I have any restriction with using all of the pinout of NRF51xxx?

Or if I use Nrf-51 DK, Do I have any restriction with nrf 51xxx's full pinout functionality?

To Make ... (more)

223
views
2
1

## Can I get BLE Other Signal Indicator not just RSSI?

I'd like to collect other device's Signal information for more delicate communication.

For example, Some Peripheral device which is just next to Smartphone (which can interfere signal -> RSSI value changes capriciously) might be scanned by central, but it ... (more)

58
views
1
vote
1

## does UART is interrupted by BLE SEQUENCE?

Q0. What IRQ Priority does BLE Has? and also what IRQ Priority does UART can have?

I'm guessing that from s130's document P65, Exception Model, It says,
Softdevice Timing Critical has Cortex M0 priority 0,
Application Interrupt priority ...

(more)

63
views
1
vote
1

## Edit 1

To narrow down I did this... Below is ble_dfu_init() from ble_dfu.c.

uint32_t ble_dfu_init(ble_dfu_t * p_dfu, const ble_dfu_init_t * p_dfu_init)
{
uint32_t      err_code;
ble_uuid_t    ble_uuid;
ble_uuid128_t nus_base_uuid = BLE_DFU_BASE_UUID;

VERIFY_PARAM_NOT_NULL(p_dfu);
VERIFY_PARAM_NOT_NULL(p_dfu_init);

p_m_dfu = p_dfu; // TODO: find a nicer solution to ...
(more)

71
views
no
1

## nrf51822 advertising packet not detected

Hi,

I would like to ask your support for a very unusual problem that I'm facing with a project based on nrf51822.

The board under test is based on nrf51822, SDK12.1, softdevice S130. The nordic example used for ... (more)

51
views
3
1

## How can I enable gatt_cccd notification automatically?

I've searched for enabling notification, but there are some points that I can't understand.

GATT characteristic attributes and characteristic cccd values are dedicated to GATT_S.

Q1. To Enable my GATT_S characteristic notification, which device is responsible for enabling ... (more)

62
views
3
1

## HardFault_Handler() called when NRF_LOG_ENABLED is disabled

In my application when I disable NRF_LOG_ENABLED, HardFault_Handler() is getting called. To debug this issue I defined a HardFault_Handler() in my code and inserted a break point in it. Below is the backtrace

#0  HardFault_Handler () at main.c:165
#1 ...
(more)

45
views
no
1

## How to fetch peer's base uuid?

Hi experts,

I have just tried lbs example. I saw in the ble_lbs_c.h, the base uuid and service uuid are defined for the peripheral peers who are going to be connected. However, if I don't know these uuids ... (more)

50
views
no
1

## Beacon and Central

Good afternoon.

I have 2 boards NRF51:

• One as beacon (SDK 9), use example code "nRF51_SDK_9.0.0\examples\ble_peripheral\ble_app_beacon".

• The other as central (SDK10, softdevice s130), use example code "nRF5_SDK_10.0.0\examples\ble_central\ble_app_uart_c" to read beacons ...

(more)

60
views
no
no

## Bonding issue in SDK11 with ANCS

Hi I am using SDK11 with S130, NRF51822 that using ANCS and facing bonding problems after reach the max bonds. Reference to nRF51-ble-peripheral-bond-handling example, I use the ble_app_ancs_c project example and add app_bond.c and app_bond.h to the project ... (more)

86
views
4
1

## Does SoftDevice S130 V.2 have limitation in L2CAP_MTU size by 23 bytes?

Hello,

I want to clarify one thing related to the limitaion in SoftDevice S130 V.1 of L2CAP_MTU size by 23 bytes. Is any way to extended it?

Because I see that changes BLE_L2CAP_MTU_DEF higher than 23 follows that sd_ble_l2cap_tx ... (more)

66
views
1
vote
1

## How can I found out my NRF51's device Address? (with Softdevice using Random static address?)

How can I found out my NRF51's device Address? (with Softdevice using Random static address?)

Does Softdevice has any API for fetching my device's BLE Address?

As I Know, default Softdevice address has Random static address, and It ... (more)

62
views
1
vote
1

## How to save data persistently(non-volatile) to nRF51 core not effected by powering off and on?

How to save data persistently(non-volatile) to nRF51 core not effected by powering off and on?

(How to save static data persistently without deleted when the core is turned off and on?)

I think there is some kind of an ... (more)

120
views
no
1

## Communication between nrf52

hi, i was looking for example of two nrf52 communication. One is central of course and other one is peripheral. But i have following doubts. 1. If one is central then how peripheral device will connect to central? Are we ... (more)

131
views
1
vote
no

## SDK12.2 nrf_delay_us 32MHz

Hi,

I use nrf51822 with HF XTAL Frequency of 32 MHz

I am migrating from SDK9 S110 to SDK 12.2 S130 and have a problem that the code stop on nrf_delay_us.

#ifndef CLOCK_ENABLED
#define CLOCK_ENABLED 1
#endif
#if  CLOCK_ENABLED ...
(more)

#### Statistics

• Total users: 20387
• Latest user: Debdasora
• Resolved questions: 9454
• Total questions: 22463

## 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

• ### BLE GATT_INTERNAL_ERROR 129

Posted 2017-05-30 14:53:16 by Mrunali
• ### Data storing in flash based on timer.

Posted 2017-05-30 13:54:41 by Prashant Singh
• ### Testing coded PHY with UART?

Posted 2017-05-30 13:45:39 by slowhand