# 219 questions

Tagged
• x
49
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)

79
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)

46
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)

103
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)

80
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?

53
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)

51
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)

54
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)

28
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)

40
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)

62
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)

169
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)

48
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)

119
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)

82
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)

78
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)

143
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)

90
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)

79
views
1
vote
1

## MPU data in dynamic advertising packet

Hi friends...!

I want to put dynamically changing MPU data into the advertising packet. I am putting my accelerometer data into manufacturer specific data field of ble_advdata_t structure. but the problem is that the data is not changing with every ... (more)

45
views
no
2

## DFU Service in scan response advertising data

Hi,

I am designing a BLE Device based on nRF51822, which broadcast three services : one home made service, the Battery Service, and the DFU service for the OTA update.

When the device is advertising, it is supposed to broacast the ... (more)

83
views
no
1

## Beacon disconnects and stops transmitting after a period of time

Good Afternoon,

I hope someone can point me in the right direction.

We've customised an NRF51822 beacon and made it into a sensor but there seems to be an strange error, I'm a bit lost as to where ... (more)

86
views
no
1

## How to make nrf51822 generate advertising one time(just one time) and then disable the advertising?

Hi dear all: The question as the title says, Thanks in advance !

159
views
no
2

## how to set the advertising intervals to 30 seconds?

Hi,

I am using the nRF52-DK as a device like beacon encodded with the original code of "nRF5_SDK_13.0.0_04a0bfd\examples\ble_peripheral\ble_app_beacon. I want to change the advertising intervals to 30 seconds. However, the maximum advertising intervals is limited ... (more)

115
views
no
1

## S140 - Non connectable advertising interval

Hi everyone!

My question is for engineers of Nordic. I need to apply NRF52840 as a "beacon". As there is no ready templates of beacons in nRF5_SDK_13.0.0-1alpha_055eef3, I took as a basis the template "ble_app_beacon_pca10040_S132" (NRF52832) and ported ... (more)

565
views
5
2

## nRF52 DK - 20ms non connectable advertising interval

Hello, im experimenting around with the nRF52 DK (and nRF51 DK also)

Now I have following setup on nRF52 DK:

SoftDevice: s132 nRF52 v2.0.1

Applicatoin: Example Project from nRF SDK 11.0 (ble_app_beacon)

By the default the interval ... (more)

84
views
1
vote
1

## Is it possible to know whether advertising packet is connectable or non connectable in Android?

Hi,

Is it possible to know which type of advertising packet is being advertised by the slave i.e whether it is a connectable or a non connectable advertising packet by the master device?

953
views
3
3

## Device name too short?

When trying out the ble_app_hrs_freertos example in nRF5 SDK 11.0.0-2.alpha_bc3f6a0, I seem to only get 14-character long device name announcements.

This happens when using components/softdevice/s132/hex/s132_nrf52_2.0.0-7.alpha_softdevice.hex.

190
views
1
vote
1

## Advertising Bluetooth LE 128-bit vendor specific UUID

I am wondering what is the logic and magic behind using sdk API's to advertise vendor specific 128-bit service UUIDs. In the "Nordic UART Service" example (nus, SDK12.2.0) there is:

static ble_uuid_t                       m_adv_uuids[] = {{BLE_UUID_NUS_SERVICE, NUS_SERVICE_UUID_TYPE}};  /**< Universally unique ...
(more)

148
views
no
no

## Sometimes the android app(especially vivo phone)can not scan the device

The vivo phone sometimes cannot scan the device, There are two devices embedded same program. However,one of them can be scanned,the other one can not. The advertising packet shows as follows:

I can not find the wide difference ... (more)

#### Statistics

• Total users: 24465
• Latest user: Phil Gellert
• Resolved questions: 10456
• Total questions: 25472

## Recent blog posts

• ### 6 Things to Know about Bluetooth Beacons

Posted 2017-09-22 08:27:00 by Rose Martin
• ### Creating a Keil project for a Bluetooth Mesh example

Posted 2017-09-19 12:08:11 by Kristian Skordal
• ### Using millis() like in Arduino.

Posted 2017-09-18 11:58:04 by schef
• ### Flashing nRF5x firmware using any dumb terminal program via standard serial COM port

Posted 2017-09-18 03:53:40 by Nguyen Hoan Hoang
• ### How to Debug the nRF52 Interrupts — Useful Tips

Posted 2017-09-13 15:15:22 by Yaniv Nis

## Recent questions

• ### GPIO port input in low power mode

Posted 2017-09-24 20:25:18 by michael
• ### Any nRF52840 examples for BLE Mesh?

Posted 2017-09-24 17:06:24 by aszka
• ### Can not find Nordic dongle from my application

Posted 2017-09-24 14:23:37 by ofer
• ### Can’t program BT832 Module using NRF52-DK

Posted 2017-09-24 10:47:56 by Alexey
• ### Is there any Dc offset on nRF52840 RF port ?

Posted 2017-09-24 09:43:40 by Artak