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].

90 questions
2
votes
1 answer

Can't find header file with cmake

I'm trying to compile a 'blinky' program for the nRF51422 chip, and I've been using CMake in Cygwin to create the makefile. (Bear in mind, I'm new at this.) Here's my CMakeLists: cmake_minimum_required(VERSION 2.8…
2
votes
1 answer

Post-build step in QBS

I'm trying to convert the nRF51822 (an Arm Cortex microcontroller) build process from Make to QBS. I've got the compilation process working ok (lots of hard-coded paths but I'll fix that later). However, the final step is to use objcopy to convert…
Timmmm
  • 88,195
  • 71
  • 364
  • 509
1
vote
0 answers

How to send and parse JSON data through NRF24L01 sensor?

TRANSMITTER.ino (COM8 port) #include #include #include #include RF24 radio(7, 8); // CE, CSN const byte addresses[6] = {"00001"}; void setup() { radio.begin(); radio.openWritingPipe(addresses); …
selvabharathi s
  • 137
  • 2
  • 8
1
vote
0 answers

nrf24l01 communication raspberry pi not able to connect

I am new to Stackoverflow. I have searched for answer, but didn't find anything. I have two Raspberry Pi 2B+, each with nRF24l01 connected. I found few libraries to make this connect, only one give any results, but not connections. This one: Github…
1
vote
1 answer

ble_app_uart Can not be loaded completely on nRF 51822

I have problem flashing main program and SoftDevice on the nrf 51822 module. I have Keil version 5.24 and I am using SDK v12.3 . I can flash SoftDevice easily but after that I can not flash the main program on the device. in the Keil it just shows…
Linosa
  • 31
  • 7
1
vote
0 answers

Change PIN mapping for UART in the code for nRF51

While communicating with one serial device, I would like to send some information to another serial device (after finished with the first one). How can I change pin mapping (my own built boards) for UART while running the code for nRF51822…
MrEspin
  • 11
  • 3
1
vote
3 answers

Writing and notifying from the same characteristic

Is there a problem with writing-to and notifying-from the same characteristic? Or is it recommended that one create two characteristics, one for receiving data, and the other for transmitting? Is this less of a concern for Android then the NRF52…
the_prole
  • 8,275
  • 16
  • 78
  • 163
1
vote
2 answers

BLE Accelerometer

I want to send accelerometer values over BLE to an iOS app using a nordic nRF52. The app works perfectly with standard BLE services (HeartRate Measurement, Thermometer etc), but not when I try and define a custom BLE Accelerometer Service. Is there…
1
vote
1 answer

How to continuously get RSSI without connecting to the BLE peripheral device from BLE central device?

I use nrf51822 sdk130 (central device) and nrf51822 sdk110(peripheral device). I want to continuously get rssi value of the peripheral device using the central device without connection. Normally I start the scan_start function using button_handler…
Purgoufr
  • 761
  • 14
  • 22
1
vote
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
  • 8,275
  • 16
  • 78
  • 163
1
vote
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
  • 4,337
  • 5
  • 35
  • 48
1
vote
3 answers

how to add this library to my project?

link I want add the dfu library to my project. it has a download oètopn, but there is no direct download and it says to use Gradle to add it. Anyway, the documentation says to do this step. Clone the project, or just the DFULibrary folder (using…
1
vote
2 answers

CoreBluetooth on iOS10: Timeout after CBPeripheral discoverServices

Our App connects to Bluetooth LE Devices via CoreBluetooth. On iOS 8 and 9 everything works correctly. On iOS 10 we geht a Timeout Error (Error Domain=CBErrorDomain Code=6 "The connection has timed out unexpectedly.") in the…
cornr
  • 653
  • 4
  • 20
1
vote
1 answer

Promgram nrf51822 using st link v2 mini and openocd

I am try to program or upload code to a nrf51822 breakout board using st link v2 mini with openocd. I have been following the blog post tutorial of http://icarus-sensors.github.io/general/starting-with-nRF51822.html. However, i couldnt get the…
HW Siew
  • 973
  • 8
  • 16
1
vote
2 answers

Make error: make (e=2): The system cannot find the file specified

I am trying to compile a c project on a new windows PC, but when I run make I get: D:\Eclipse_Workspace\project>make #@make -f makefile -C ./ -e cleanobj process_begin: CreateProcess(NULL, #@make -f makefile -C ./ -e cleanobj, ...) failed. make…
Jolle
  • 1,336
  • 5
  • 24
  • 36