Implementation of Bluetooth BLE One Master and Multiple Slaves with nRF52832

Implementation of Bluetooth BLE One Master and Multiple Slaves with nRF52832

When implementing Bluetooth one master and multiple slaves functionality using Nordic Semiconductor’s nRF52832 chip, you need to use the development kit and Bluetooth protocol stack provided by Nordic. Below are the detailed implementation steps and key code examples, based on the latest nRF5 SDK v17.1.0 and SoftDevice S132. 1. Development Environment Setup Essential Tools: nRF5 … Read more

An In-Depth Analysis of the BLE Observer Pattern Callback Mechanism

An In-Depth Analysis of the BLE Observer Pattern Callback Mechanism

Osprey Talks Microcontrollers • Source: Osprey Talks Microcontrollers The nRF5 SDK has updated the event callback mechanism starting from version 14, introducing the Observer Pattern to decouple different BLE layers from the callback functions for BLE events. This mechanism utilizes Flash sections, combining function calls in RAM with operations in Flash, which is a novel … Read more

Debugging Techniques for nRF5 SDK

Debugging Techniques for nRF5 SDK

This article describes the main debugging methods for the Nordic nRF5 SDK to help everyone quickly locate and solve problems. Generally, you can debug your code using various methods such as logging, IDE debug mode, the app_error_check function provided by the SDK, and command line methods. 1. Debugging via Logging The nRF5 SDK supports two … Read more