RSS
Sort by » date activity ▼ answers views votes

38 questions

Tagged
  • x
97
views
no
votes
1
answer
Last activity 2017-04-20 12:59:43 +0200 by schef

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)

51
views
1
vote
1
answer
Last activity 2017-03-20 18:02:03 +0200 by f.salvatore

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)

33
views
1
vote
1
answer
Last activity 2017-02-28 11:41:54 +0200 by Tarik

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)

79
views
1
vote
2
answers
Last activity 2017-02-09 09:11:00 +0200 by Torbjørn Øvrebekk

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.

114
views
no
votes
2
answers
Last activity 2017-01-15 14:36:06 +0200 by angel

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)

109
views
no
votes
1
answer
Last activity 2016-12-23 09:22:44 +0200 by Dennis Lan

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)

110
views
1
vote
1
answer
Last activity 2016-10-03 13:00:21 +0200 by Aryan flag of Norway

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)

449
views
2
votes
3
answers
Last activity 2016-09-17 16:11:47 +0200 by dingari

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)

100
views
2
votes
no
answers
Last activity 2016-09-03 19:25:34 +0200 by Anne van Rossum flag of Netherlands

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)

223
views
1
vote
2
answers
Last activity 2016-08-03 10:14:09 +0200 by All4here

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)

113
views
1
vote
1
answer
Last activity 2016-06-17 09:43:14 +0200 by Stefan Birnir Sverrisson flag of Iceland

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)

511
views
1
vote
no
answers
Last activity 2016-05-26 03:56:17 +0200 by Tony

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
votes
4
answers
Last activity 2016-05-19 11:47:04 +0200 by resolutedreamer

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)

481
views
no
votes
no
answers
Last activity 2016-04-18 14:14:34 +0200 by mcruz0218

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

50
views
no
votes
no
answers
Last activity 2016-04-16 18:00:53 +0200 by Muhammad Ahmad Shah

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)

277
views
2
votes
no
answers
Last activity 2016-04-13 06:34:57 +0200 by Shay Ohayon

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
votes
1
answer
Last activity 2016-03-21 19:37:00 +0200 by Christopher

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)

733
views
4
votes
2
answers
Last activity 2016-03-21 19:34:18 +0200 by Christopher

Please can you add extern "C" as appropriate to your header files?

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)

660
views
1
vote
1
answer
Last activity 2016-03-20 00:18:19 +0200 by RK flag of Singapore

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)

56
views
no
votes
no
answers
Last activity 2016-03-15 00:28:17 +0200 by Brook Gebremedhin

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
votes
1
answer
Last activity 2016-03-09 10:51:38 +0200 by Bob Louwe

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.

625
views
no
votes
1
answer
Last activity 2016-02-05 15:23:16 +0200 by run_ar

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)

607
views
no
votes
2
answers
Last activity 2016-02-01 19:33:21 +0200 by Christopher

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)

479
views
3
votes
2
answers
Last activity 2015-12-22 16:54:48 +0200 by Sensors flag of United Kingdom

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)

197
views
2
votes
1
answer
Last activity 2015-12-07 18:16:31 +0200 by Hung Bui

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)

795
views
6
votes
4
answers
Last activity 2015-11-25 18:40:56 +0200 by Andrew Fernandes flag of Canada

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
votes
1
answer
Last activity 2015-11-13 08:50:04 +0200 by Einar Thorsrud flag of Norway

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)

576
views
no
votes
1
answer
Last activity 2015-10-05 12:58:51 +0200 by Aryan flag of Norway

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)

324
views
no
votes
1
answer
Last activity 2015-09-07 10:24:05 +0200 by MR

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)

317
views
1
vote
no
answers
Last activity 2015-08-10 14:43:25 +0200 by MR

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: 18323
  • Latest user: Mindy Atkin
  • Resolved questions: 9148
  • Unanswered questions: 2525
  • Total questions: 21591

User menu

    or sign up

Recent questions