How to work with BLE Codec 1Mbps , 2Mbps and Codec PHY on nRF52 Series

This blog is to introduce the Bluetooth Low Energy with difference codec configuration on Nordic nRF52 SDK. Bluetooth 5.0 had introduced the long range (Codec Phy 125kbps, 500kbps) and high speed 2 Mbps (uncoded PHY). Here are the topics in this blog: Basic introduction on the difference Coded/Uncoded Phy on the Bluetooth 5.0 specificationHow to … Continue reading How to work with BLE Codec 1Mbps , 2Mbps and Codec PHY on nRF52 Series

Using External Flash to Store bonding info on nRF52 Series

This blog is to show how to use the external flash for storing the bonding information instead of using the internal flash. I would base on the Nordic SDK 16.0 and use the nRF52840 DK as the baseline to show how it works. By using the external flash for bonding storage, it can save at … Continue reading Using External Flash to Store bonding info on nRF52 Series

How to get the RSSI change on the nRF5 SDK

This blog is to show how to get the RSSI (Radio Signal Strength Indicator) on the nRF52 chipset. RSSI In telecommunications, received signal strength indicator (RSSI) is a measurement of the power present in a received radio signal. RSSI is usually invisible to a user of a receiving device. However, because signal strength can vary greatly and affect functionality in wireless networking, IEEE 802.11 devices … Continue reading How to get the RSSI change on the nRF5 SDK

BLE Scanning with Whitelist

This blog is to describe how to use the whitelist in order to improve the connection successful rate between central and peripheral at nRF52 series. The topic is covered as below: Describe about the nrf_ble_scan module Describe how to add the manufacturer specific filter inside the nrf_ble_scan moduleHow whitelist works with nrf_ble_scan module SCANNING MODULE … Continue reading BLE Scanning with Whitelist

How to Store the Custom Address, Device Name and Device ID on nRF52 Series

Following up the post (Description of UICR on NRF52 series) https://jimmywongbluetooth.wordpress.com/2019/08/19/manufacturer-storage-data-on-uicr-region/, I would like to describe how to use the UICR to store the custom BLE address, Device Name and Device ID in this blog. For example, as below table, there are list of the devices to have such configuration. Device Number # Device ID … Continue reading How to Store the Custom Address, Device Name and Device ID on nRF52 Series

Description of UICR on nRF52 Series

In this blog, I would describe the UICR region and how to use it in details. It covers the following topic: Memory Layout (Address) of the UICRRegisters in UICR (and each functionality)How to write / read / erase on the UICR by using the nrfjprog Dump flash / ram / registers Memory Layout The user … Continue reading Description of UICR on nRF52 Series

How to change the advertising payload on the fly

This blog is to show how to modify the advertising payload from time to time instead of stop / restart the advertising module. This demo is based on the SDK 14.2 / S132v5.1 with nRF52832 DK. The idea is to use pointer of the global buffer for the advertising data and scan response data. And … Continue reading How to change the advertising payload on the fly

Advertising Payload format on BLE

This blog is to describe more details on the advertising payload. The Packet data unit for the advertising channel (called the Advertising Channel PDU) includes a 2-byte header and a variable payload from 6 to 37 bytes. The actual length of the payload is defined by the 6-bit Length field in the header of the Advertising Channel PDU. https://www.argenox.com/library/bluetooth-low-energy/ble-advertising-primer/ Flags Advertising Data Type This … Continue reading Advertising Payload format on BLE

Bluetooth 5 : Long Range + Advertising Extension on NRF52840

This blog is to describe how to use the nRF52840 for the Bluetooth 5.0 for advertising extension / long range. The Softdevice S140v6.1.1 has started to support the extended advertising and work with Coded PHY. Such as Extended Advertising support Advertising and scanning up to 255 bytes of advertising data in an advertising eventAdvertising, scanning, … Continue reading Bluetooth 5 : Long Range + Advertising Extension on NRF52840