# 230 questions

Tagged
• x
102
views
no
1

The problem is because of these flags I only have 26 bytes left instead of full 29 bytes. It is crucial for me to have no less than ... (more)

68
views
no
no

## Would the RSSI-value be affected?

Hello, this might be a stupid question but if I have a Bluetooth 5 module that is advertising and another module getting the RSSI-value without actually being connected to the BT5 module. Would the RSSI-value be affected depending on if ... (more)

25
views
no
1

## Advertising shortened local name corrupts utf-8 characters

We were playing with renaming some of our test devices to use emoji and other multi-byte utf-8 characters. We have a custom characteristic that allows renaming (since iOS won't allow writes to the device name) and supports up to ... (more)

58
views
no
2

## Problem buiding the tutorial "A beginner's tutorial: Advertising" [closed]

I am trying to build the project which I downloaded from github for the "A beginner's tutorial: Advertising" but I get errors for missing files when I try to build it both in Keil and Segger IDEs.

I know ... (more)

34
views
no
no

Hi,

We are currently developing a new product using nRF8001 IC and it is pretty much stable (not 100%) until now.

My algorithm is straight forward: When the MCU is in idle mode I issue a connect command to the ... (more)

55
views
no
no

## Advertising not starting after disconnection -s140

Hi,

I have a problem with advertising, application starts advertising and makes connection normally, but after disconnection advertising is not starting. sd_ble_gap_adv_start() returns no errors. It's a program based on ATT_MTU throughput example with openthread added.

74
views
2
1

## Parsing of Advertising Data in Android and IOS.

Hi,

We are integrating a 3rd party device with our application and while we were parsing advertising data, we found the same data received in Android at 3rd and 4th index of the advertising packet, while in IOS it is ... (more)

32
views
no
no

## Why are discoverable modes not permitted with Whitelisting?

On this question it is said: "Error code 0x3201 means BLE_ERROR_GAP_DISCOVERABLE_WITH_WHITELIST: Use of Whitelist not permitted with discoverable advertising."

Why does example ble_app_hids_mouse (SDK v12.3.0) advertise with

    adv_flags                       = BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE;


and has Whitelist

    options.ble_adv_whitelist_enabled      = true;


enabled?

50
views
no
no

We have a software application for the NRF52 with BLE communication. The communication part is based on nordic example “ble_app_hids_keyboard”.

We are using Softdevice 132 and SDK V12.3 on a nrf52832_xxAA chip. The counter part is a smartphone with ... (more)

108
views
no
2

## From Discoverable to Non-discoverable (but still connectable!) using the Advertising Library

1) Is it possible to configure the parameters of the advertising library (eg. SDK v12.3.0 using SD130 v2.0.1) so that my peripheral device (eg. nRF51) changes after a limited time -say 2 minutes- from limited discoverable ... (more)

72
views
1
vote
1

## Which features are already implemented on nRF52840?

Hi everyone,

I would like to test the capabilities of nRF52840. I understand that it should be capable of higher throughput (x2), increased broadcast capacity (x8), and long range advertisements.

But are these features already implemented or only expected to ... (more)

79
views
2
1

I have a problem using ble_advertising_restart_without_whitelist(). According to the documentation (as I understood) it should start advertising without whitelist even if a whitelist exists (hence it skips BLE_ADV_EVT_WHITELIST_REQUEST). In the next call of ble_advertising_start() advertising should use the whitelist again ... (more)

129
views
2
1

## why does nrf52832 ble peripheral device reset after advertising timeout?

after the advertising timeout occurs the board goes into sleep mode and then immediately runs from the top of the main function. I know that a pin state change can wake up the device. Is there any other way that ... (more)

114
views
no
no

We have a discovery issue that seemingly only happens with the Samsung Galaxy S8.

We are using the nRF52832 with SoftDevice S132 v2.0.1, and do directed advertisements to the last connected peer when disconnecting. We do not use ... (more)

306
views
no
2

## BLE advertising data flags field and discovery

For the BLE GAP advertising flags byte in the advertising data, we have the following options:

/**@defgroup BLE_GAP_ADV_FLAGS GAP Advertisement Flags
* @{ */
#define BLE_GAP_ADV_FLAG_LE_LIMITED_DISC_MODE         (0x01)   /**< LE Limited Discoverable Mode. */
#define BLE_GAP_ADV_FLAG_LE_GENERAL_DISC_MODE         (0x02)   /**< LE General Discoverable Mode. */
#define BLE_GAP_ADV_FLAG_BR_EDR_NOT_SUPPORTED         (0x04)   /**< BR/EDR ...
(more)

147
views
no
1

## SCAN_RSP and SCAN_REQ

The scan request consists of two device addresses, without any host data. What is the effect of the scan request and the scan response?

90
views
no
1

## Advertising on secondary frequency channels

Hello,

I'm looking at BLE 5 advertising packets and the new feature allows to redirect the adv packets from primary frequency channels to secondary ones with an option to switch the PHY (for example for "LE Coded") as described ... (more)

93
views
no
1

Hi,

I'm working with nRF52832 chip following the example "ble_app_beacon". I see the advertising packet is limited to 31 bytes only. However, I'd like to take an advantage of BLE 5 spec and increase the size to 255 ... (more)

69
views
1
vote
1

Hi,

Most of the sections of my application are functioning as I want it to, except these two (step 3 and step 4).

Application:

1. Connect device (with Auto connect enabled)
2. Transfer data using nus service from peripheral to central device ...
(more)

41
views
no
no

## nRF52840 no longer advertising or flashing led

I have been testing out with NRF52840 and verifying the data transmission using the NRFConnect app on my mobile. I am not sure what went wrong! It's no longer advertising and I get to see the device under the ... (more)

43
views
no
1

## DEVNAME maximum length

Hello,

I am working on a project with STM32 master and nRF51822 slave connecting to Android/iOS mobile apps.

I send the advertising parameters from STM32 to my nRF51822 (the name is one of the parameters and I am sure ... (more)

89
views
no
1

## connection request to a known address

Hi guys, I want to ask if it is possible for a nrf51822 to connect to a Central ( my cell phone) without advertising. Let assume that my cell phone has nrf51822's MAC address from the first connection and it ... (more)

324
views
10
1

## How can I measure the advertising intervals of a peripheral?

I would like to know how frequently my peripheral is sending advertising and data packets. I've tried using ble-sniffer-osx but it doesn't actually reveal any device names for some reason, so it's not trivial to use. Is ... (more)

52
views
2
1

I found out answers for calculating data rate during connections, which depends upon connection interval, no of packets allowed in each connection and no of bytes in a single packet.

However, how can I calculate data rate applicable during sending ... (more)

205
views
no
no

## setBeaconLayout on Android-Beacon Library

Has anyone successfully used the Android-Beacon Library to detect the nRF51822 Beacon on and Android application? I tried several different layouts but I just can't detect it.

public class MainActivity extends AppCompatActivity implements BeaconConsumer {

protected static final String TAG ...
(more)

1k
views
2
2

## nRF51822 - Connect without advertising

In short:

• Is it possible to connect a nRF51822 s110 peripheral from a central without the need for sending advertising packets (by peripheral)?
• If (hopefully) yes, what's the required steps (shure, the central must know the MAC)?

A stupid ... (more)

104
views
no
1

## Is it possible to advertise more than 31 bytes of data using S140 SoftDevice version 5.0.0-3.alpha?

I'm using the with SDK version 13.1.0 along with S140 SoftDevice v 5.0.0-3.alpha and trying to utilize the Bluetooth 5 Extended Advertising feature.

The function ble_advdata_set() limits the data size to BLE_GAP_ADV_SR_MAX_LEN_DEFAULT which is ... (more)

79
views
2
1

Can a BLE peripheral listen for scan requests or any commands from BLE central without making any advertisements? If this is possible, then it would save on the transmission power required for sending advertisements.

Also, can a BLE central send ... (more)

187
views
no
1

## High power consumption after disconnect

Hi,

I've just hit a strange issue with SDK 12.1 on nRF52832.

Usually on BLE_GAP_EVT_DISCONNECTED, sd_ble_gap_adv_start gets called to start advertising and everything's great.

However, if I don't call sd_ble_gap_adv_start, advertising stops (as you'd expect ... (more)

138
views
no
1

## Advertising with device_name Vs whitelisting

I am confused with whitelisting and advertising/scanning with device name

I have a peripheral and a central device, peripheral device is advertising with device name set as 'PERIPHERAL_DEVICE' and my central device is scanning for the name 'PERIPHERAL_DEVICE' (m_target_periph_name ... (more)

#### Statistics

• Total users: 25365
• Latest user: Fermin Cooke
• Resolved questions: 11015
• Total questions: 27162

## Recent blog posts

• ### Job Offer: nRF / Embedded Developer in Stuttgart, Germany

Posted 2017-11-20 11:46:20 by Marius Heil
• ### Estudando Projetos do SDK 10 para nRF5x com Eclipse Oxygen (Portuguese)

Posted 2017-11-12 00:08:55 by Carlos Delfino
• ### Configurando o Eclipse Oxygen para Desenvolvimento com nRF5x (Portuguese)

Posted 2017-11-10 21:15:47 by Carlos Delfino
• ### How to use Git for embedded software development

Posted 2017-11-06 13:21:55 by Yaniv Nis
• ### Thingy:52 based Weather Station

Posted 2017-10-29 22:31:15 by Krzysztof Szewczyk

## Recent questions

• ### nRF51-Dongle can never display in ANTware II

Posted 2017-11-22 04:19:43 by iBaBei
• ### HID Keyboard + Consumer control settings no working

Posted 2017-11-22 04:01:25 by Hung Alan
• ### APP_UART_COMMUNICATION_ERROR

Posted 2017-11-22 03:10:28 by muyang
• ### pm_conn_sec_status_get bug?

Posted 2017-11-22 02:48:46 by Elias Simon
• ### multiple connect ,discover service multiple ,why?

Posted 2017-11-22 02:07:13 by strengthstrong