Questions tagged [nrf51]

The nRF51 Series is a family of highly flexible, multi-protocol, system-on-chip (SoC) devices for ultra-low power wireless applications from Nordic Semiconductor [1].

82 questions
0
votes
2 answers

Data received from BLE unable to convert from hex to string (Nordic)

In the on_ble_evt(ble_evt_t*) function from the ble_app_template, I added a case of 'BLE_GATTS_EVT_WRITE'. In it has the following code: case BLE_GATTS_EVT_WRITE: { ble_gatts_evt_write_t * p_evt_write =…
user7694915
0
votes
1 answer

Bluetooth LE secure connection with wolfssl and nordic: key exchange

I want to establish a secure Bluetooth connection from the client side with a nordic chip (nRF52). I also have the wolfSSL library running. So I receive a 'BLE_GAP_EVT_LESC_DHKEY_REQUEST' request from the nordic softdevice with the peer-64byte key.…
0
votes
1 answer

BLE with iOS Advertising Interval

I have established a connection between an nRF52 which has the advertising interval set at 20ms and iOS software, but the packages are only received every second roughly. Has anyone had this issue before/knows any tricks to speed up the frequency?…
0
votes
1 answer

OpenOCD for NRF51 simultaneously with Ac6 plugin

I use Eclipse Neon with Ac6 plugin for STM32. All works perfectly. But now I need to work with NRF51 MCU and I can't find "clean" OpenOCD config in Debug configuration. And I can't install it in New Software because another (from plugin) is…
0
votes
0 answers

Write commands in cmd with VB.net

I'm now starting to develop little programs using VB.net. I started with an App Windows Form. I would like to know some information about my microcontroller (such as MAC ADDRESS etc.). To know this information, I have to access its registers using…
0
votes
1 answer

nrf_mesh_init/nrf_mesh_node_config causing MESH ASSERT

I am testing out the Nordic Semi Bluetooth Mesh SDK 0.9.1 Alpha using the light control client/server example. The examples source code has not been modified. I have set up a nRF52 development kit as the client, and a nRF51 development kit as a…
zed
  • 2,868
  • 3
  • 22
  • 35
0
votes
1 answer

Enabling I2C interrupt within timer interrupt on nRF52 Arduino

I am writing a program for an nRF52 based board using the Redbear Arduino Library. Effectively treating my board as a BLE Nano 2. I have a timer that ticks every x milliseconds, for example 50ms. Inside that timer I would like to read data from an…
Steve
  • 51
  • 1
  • 2
  • 5
0
votes
1 answer

How to return BLE peripheral's connection status

I noticed that the method onConnectionStateChange() is not invariably invoked (or just not invoked on time) when a peripheral is non-manually disconnected like for example when the peripheral is powered off. Is there a way to get the connection…
the_prole
  • 6,481
  • 11
  • 56
  • 120
0
votes
1 answer

Does the BLE stack resend a packet if response is not received?

I was wondering If I need to wait for a response from the server that a command was executed before executing another command or if the BLE stack takes care of this under the hood so to speak. For example, I want to write to a characteristic and…
the_prole
  • 6,481
  • 11
  • 56
  • 120
0
votes
1 answer

Call stack window does not display local values

I'm running a debug session. I set a break point inside of function services_init on line 201. I ran the run up to break point command The processor pauses on line 201 as expected. However, the stack window only displays variables local to the…
the_prole
  • 6,481
  • 11
  • 56
  • 120
0
votes
1 answer

Is a cyclic redundancy check required in a BLE service

In this app by Nordic https://github.com/adafruit/Bluefruit_LE_Connect_Android a cyclic redundancy check (CRC) is added to the payload byte array before writing it to the UART receiving characteristic. Is the CRC necessary? Doesn't the BLE stack…
the_prole
  • 6,481
  • 11
  • 56
  • 120
0
votes
1 answer

Android bluetooth: dropped packets

We have built a wearable device that takes measurements and sends the results over BLE to an Android device every 20msec. We are getting strange results where the first 270 packets are received on time and without loss, but at 271 things get…
Hephaestus
  • 3,180
  • 3
  • 23
  • 37
0
votes
0 answers

How to create a whitelist on the Central device (Bluetooth)

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 device. When I work with a…
Purgoufr
  • 463
  • 6
  • 18
0
votes
1 answer

Control multiple BLE peripherals with one central

I am pretty new to IoT and BLE. What I want to achieve is to write on GATT characteristic of at least 100 peripheral devices simultaneously or in a very short period of time(i.e. less than 100ms). Currently my peripherals are Ble nano (nRF51822)…
Goris
  • 1
  • 1
0
votes
1 answer

NRF51 - iOS BLE advertising interval - Increase speed of connection

I am looking at speeding up the connection time between my iOS application and the peripheral. I have looked up Apples Documentation on the subject: https://developer.apple.com/library/content/qa/qa1931/_index.html Originally (prior to reading the…