DEVZONE BLOG FEED

A new tool from Nordic has been released, pc-ble-driver-py, which allows Python developers to access the full SoftDevice 2.x.x API from a Python application.Update: Raspberry Pi unofficial build available!If you want to try version 0.5.0 on a Raspberry Pi, feel free to grab this build and give it a go! It is not officially supported by the driver and it's not on PyPi, but I am publishing it here in case it's of use to anyone at all.pc_ble_driver_py_rpi-0.5.0.tar.gzOverviewFeaturesThe most prominent featur...

NFC principleA NFC system consists of two devices, an active and a passive device. The active device is powered, and induces a magnetic field with a coil inductor antenna. When the passive device is placed in this magnetic field, the varying magnetic field will induce current (power) in the passive device. The induced power in the passive device is used to retrieve and transmit data back to the active device. A NFC antenna is a coil inductor and together with capacitors to ground, they form a parallel res...

Hello I succeeded to configure QtCreator toolchain to compile and debugmy NRF52 board. So I wanted to share.I use my own Makefile to compile everything so I will focus here on how to runa debug session (with breakpoints and candies !) inside QtCreator (which is the best C++ IDE of course).Even if you are not interested, can you try my tutorial and tell me where you have problems ?So I can detail my configuration. It will help other guys.My computerOS: Windows 8.1Arch: x86-64 but I tried to install 32bits ...

DEVZONE FORUM

Ok - I'm trying to get my arms around this bootloader process. I am using the nRF5_SDK_11.0.0_89a8197 SDK along with the PCA10040 develeopment kit.I also am using IAR tools.Following the example for BLE DFU I did the following:1) Erased the device using nRFgo Studio - works.2) Programmed the SoftDevice using nRFgo Studio- C:/nRF5_SDK_11.0.0_89a8197/components/softdevice/s132/hex/s132_nrf52_2.0.0_softdevice.hexThis woked as well.3) Programmed the BLE DFU Bootloader using nRFgo Studio. I built the IAR proje...

I have two application programed on the nRF 52DK (PCA10040). One is a UART communication to a distance sensor. And the other is the same but with Softdevice.The application without Softdevice is working as supposed. But when I use Softdevice it wont work. I cant really exaplain why it wont work with the SD. But with the debugger I see that it will never get into tx_done_event. So the tx_buffer_length will always be 1.But when I start Termite on my computer, then is everything working. Termite has to be op...

Hi everyone,I was wondering how GAP calls and events are synchronized within the SoftDevice.Example: // conn_handle is updated in the CONNECTED and DISCONNECTED event handlers sd_ble_gap_connect_cancel(); if (conn_handle != BLE_CONN_HANDLE_INVALID) sd_ble_gap_disconnect(conn_handle, BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION);Considering this code is executed without interruption (e.g. on APP_PRIORITY_LOW level).What happens if before `sd_ble_gap_connect_cancel()`, a connection has already been established...