# 38 questions

Tagged
• x
30
views
1
vote
1

## nRF UART driver initialization

Hello, i'm trying to use nRF UART driver (nrf_drv_uart) to implement a high level UART manager. I followed indications on SDK documentation but it doesn't work and i think that is a problem of initialization.

Configuration: nRF52832 - SDK ... (more)

48
views
no
no

## Use C++ with Nordic SDK (nRF52 series)

Hi, i wrote a lot of firmwares for nRF51x22 using C language and they works fine. Now we passed to nRF52 series and we want to use C++ (preferibly C++11) that is more readable, ordered etc... but i got ... (more)

28
views
1
vote
1

## Exported project from Mbed compiler to eclipse gcc arm has errors

Hi, After following all instructions on: http://gnuarmeclipse.github.io/install/ And after installing all Nordic Semi dependencies on eclipse.

I import on eclipse the UART_Loopback project, but whenever I try to compile I get errors like:

1) "Symbol 'NULL ... (more)

64
views
1
vote
2

## what C libraries are used with your nrf24l01 and an avr processor?

I see a number of libraries described on line but can't tell which is most appropriate for the avr processors.

87
views
no
2

## Including C++ library in C project?

Hi Nordic,

I want to include this library (https://github.com/jrowberg/i2cdevlib...) in my project, which is an evolution from ant_ broadcast example, in C. However, and after reading several related posts, I am not able to compile my ... (more)

81
views
no
1

## iOS DFU Writing to characteristic failed

I'm using the iOS latest iOSDFULibrary pods to import to my app. However, after I using DFUServiceIniciator service the log just show as attach.DFUQuestionLog.m

The only different with the Nordic iOS toolbox is the following line : 10 ... (more)

107
views
1
vote
1

## Compiling SDK12 code with C++ failed

Hi

I've tried to update some of our environment to the SDK12 files. When I tried to compile some of the files a weird bracket error showed up.

At the end i could find the issue in a deeply ... (more)

392
views
2
3

## Compiling C and C++ code

We've currently only been developing our application in C. We now have a couple of C++ libraries we'd like to use and are having trouble compiling the mixture of C and C++ code.

This is the Makefile: http ... (more)

95
views
2
no

## Is it possible to support C++ compatibility in the API?

There are certain design decisions that break C++, or at least the separation of concern between allocation of entities and the use of entities.

For example:

typedef app_timer_t *   app_timer_id_t
Timer ID type. Never declare a variable of this type, but ...
(more)

217
views
1
vote
2

## Error when using c++ with TWI

I am trying to use gcc to compile a c++ code for nRF52. I am using the TWI library and am getting the error below. Can anyone help me rewriting this macro so that it compiles normally ?

Compiling file: main ... (more)

112
views
1
vote
1

## Problem: Create IOS app for nRF51822 beacon kit

Hello, I am apple developer and using Swift. Actually I'm just intern student.

# 1

My boss assign some task to me to CREATE IOS App to scan nRF51822 Bluetooth Smart Beacon Kit (https://www.nordicsemi.com/eng/Produc...). I ... (more)

466
views
1
vote
no

## C++ compilers for nRF52

Hi, I wonder if anyone knows any free C++ compilers for nRF52. I tried the mbed but it is not fully supported for nRF52.

The regular GNU GCC: arm-none-eabi-gcc works perfectly for nRF52, but I am unable to make the ... (more)

1k
views
3
4

## Windows 8.1 C# Example

Hi all,

Is there any example how can I communicate with 51822 device with SD110 on Windows 8.1 desktop? I successfully paired the device but I have no idea where can I start. I use VS 2013 C# for ... (more)

478
views
no
no

## Fitness Equipment Control protocol Library and example

Anyone can provide us an example of FE-C library and example. Also suggestion for modules that can be used in this type of application

49
views
no
no

## How to see which part of the code/variable is using more Memory ?

Hi.

I am using the NRF52 Development board, on Keil uVision, to implement a C program that uses Dynamic Structs. The Structs re-size themselves ( by increasing their capacity by 2 time ) whenever more elements need to be appended to them ... (more)

271
views
2
no

## FOTA (OTA) for Xamarin (C#)

Hi,

I've started developing a mobile app with Xamarin. Xamarin is a really nice platform that you can use to develop Native applications for iOS and Android using C# (reducing development time as source can be shared). The app ... (more)

1k
views
7
1

## Use the nrf SDK in C++

Hello,

I program the nrf51 in C++ using GCC and Eclipse as IDE (this question is not related to the C++ toolchain).

I was wondering if it is possible to add the extern wrapper #ifdef __cplusplus in all header files ... (more)

695
views
4
2

Hi,

Many of us use C++ rather than C (as it is superior in every way). When including many of the Nordic SDK header files it is necessary to wrap them in

extern "C" {
}


to get the proper linkage. Otherwise ... (more)

656
views
1
vote
1

## Problem with Designated Initializers in SDK when using C++

Hi,

I want to program the nrf51822 with C++ and from what I've found here it should be possible.

But nrf_drv_gpiote.h contains designated initializers wich aren't supported by C++. I'm including all SDK headers inside an ... (more)

52
views
no
no

## how to Use C++ in the NORDIC SDK [closed]

Inorder to create a c++ wrapper in nordic SDK , i have to change the Makefile so that it can compile both C++ and C. in the example the makefile already has gcc added but c++ is files are not compiling ... (more)

1k
views
no
1

## nRF8001 .NET Micro Framework port [closed]

A first version for support of Adafruit's nRF8001 breakout can be found on CodePlex. Questions/remarks please mail me at bob-at-codeconsult-dot-nl.

598
views
no
1

## BLE - C#/.NET

I would like to "talk" to nRF52 via BLE using an application developed in c#/.NET in Windows 8.1. Any hint?

I checked the BluetoothHeartRate example on MSDN, but I would like some more... informative.

1) How to search ... (more)

575
views
no
2

## Setup Eclipse/GCC for C++ and mbed project debugging

Hi All,

I would like to setup my Eclipse and GCC for compiling and debugging C++ & mbed projects on nRF51 DK. The setup procedure explained in tutorial Development with GCC and Eclipse supports only Nordic SDK examples.

Is there a ... (more)

468
views
3
2

## C advice with app_twi peripheral configuration

I've been trying to wrap my head around the app_twi library by looking at the examples, and I'm slowly getting there. However, for my application I need to send multiple default configuration commands to my accelerometer.

So I ... (more)

196
views
2
1

## Master Emulator API usage for OOB key

Hi Nordic support, I want to use the OOB key pairing and I found the below discussion: Set OOB key on Master Control Panel? This means I need to implement the application by ourselves. I check the path under "Master ... (more)

788
views
6
4

## Please fix the enum in ble_gatts.h

When compiling C++ code that includes ble_gatts.h you get errors like the following:

C:/....../nrf51822/Include/s110/nrf_svc.h:21:6: error: impossible constraint in 'asm' ); \ ^

With C code it is fine. The error is that an enum is ... (more)

1k
views
3
1

## Keil, Mbed, Gcc Or IAR BLE

Hy world,

I'm new on nordic and i would like to understand what tool is best for develop application for nrf51dk.

I've have tried to use keil but is very difficult for me! Are there a little starter ... (more)

559
views
no
1

## Windows 7 Desktop Platform using nRF51 USB Dongle(S120 or S130) C# platform

Hi ,

I am planning to buy nRF51 USB Dongle(S120 SoftDevice or S130 SoftDevice) to discover BLE devices and to communicate bi-directional. I am planning to develop C# in desktop side & RFduino in peripheral side. Will you please point some ... (more)

318
views
no
1

## Throughput with Master Emulator (PC -> DK)

Hi

For a test Environment, I use Master Emulator (C#). What is the highest data throughput, I can achieve when I send from PC to DK with the Master Emulator?

I use the following configuration: - Master Emulator 2.1.13 ... (more)

306
views
1
vote
no

## Discovery failed with nRF51-DK and MasterEmulator dll

Hi

I try to write an application in C# with the MasterEmulator dll (Version 2.1.12.6). It works with the dongle, but not with the nRF51-DK. I can open the Device but I can't start discovery. I ... (more)

#### Statistics

• Total users: 17051
• Latest user: Jaxon Clement
• Resolved questions: 8868
• Total questions: 20786

## Recent blog posts

• ### Getting started with Nordic's Secure DFU bootloader, a step by step guide

Posted 2017-03-20 17:13:52 by Hung Bui
• ### From Nordic UART Service to MicroPython using PolyMCU and Gattlib

Posted 2017-02-27 16:40:00 by Olivier
• ### Throughput and long range demo

Posted 2017-02-28 16:48:25 by Ole Bauck
• ### nRF52840 long range demo

Posted 2017-02-14 12:46:03 by Ole Bauck
• ### Setup and Running the OpenMesh DFU on the nRF52 DK v2.0

Posted 2017-02-06 22:33:25 by martindavidb

## Recent questions

• ### what kinds of flag Do I set, when I use sdk13 in keil-c debug mode

Posted 2017-03-24 10:41:29 by Vincent
• ### The peak current of nRF52832

Posted 2017-03-24 10:16:17 by Stanley
• ### multiple definition of `SPI1_TWI1_IRQHandler'

Posted 2017-03-24 10:03:43 by ashare
• ### Questions about BLE multirole LESC

Posted 2017-03-24 09:50:09 by Fabien Comte