Understanding the Architecture of Low Energy Bluetooth Protocol Stack

Understanding the Architecture of Low Energy Bluetooth Protocol Stack

This article provides an in-depth introduction to the architecture of the Low Energy Bluetooth (BLE) protocol stack and explores how to leverage existing BLE applications to fully realize the potential of low-power wireless communication. This knowledge is essential for efficiently and reliably conducting design, troubleshooting, and optimizing applications.IntroductionLow Energy Bluetooth (BLE) is a key technology … Read more

BLE Bluetooth Advertising Packet Format and Parsing

BLE Bluetooth Advertising Packet Format and Parsing

BLE Advertising Packet Data Format Description …… Jinchen's dedication Introduction The packet format is a fundamental theoretical basis for learning Bluetooth. This article will discuss the Bluetooth advertising packet format and how to set the advertising packet in the Qinheng Micro Bluetooth chip code. I am Jinchen, known by the same name across the internet, … Read more

BLE Channel Sounding (Part II)

BLE Channel Sounding (Part II)

In the previous article, we mentioned that there are mainly two methods for distance measurement in CS: RTT (Round-Trip Time) and PBR (Phase-Based Ranging).Overview of BLE Channel SoundingThis article will briefly analyze distance measurement based on RTT. As shown in the previous figure, the steps for a single RTT measurement are as follows:RTT=2*TOF=(ToAr-ToDi)+(ToAi-ToDr)distance = c … Read more

Core Strategies for BLE Power Optimization

Core Strategies for BLE Power Optimization

Bluetooth Low Energy (BLE) is a wireless communication technology designed for IoT devices. Compared to traditional Bluetooth, BLE has the following advantages: • Ultra-low power consumption: A button battery can last for months or even years • Fast connection: Connection establishment takes only a few milliseconds • Low cost: Low chip prices and low development … Read more

A Step-by-Step Guide to Configuring ESP32-BLE as a Replacement for Xiaomi Gateway

Smart Home Cost-Saving Strategy Series Part 2 | Easy for Beginners Introduction: Yesterday, I shared the cost advantages of using ESP32 to replace the Xiaomi Gateway, and many readers are eager to try it out. Today, we will perform the actual operation and configure the first ESP32_ble_tracker step by step! Last Issue Review: Enthusiastic Feedback … Read more

I Want to Create a Sensor, Specifically a Wearable Device Toy

PhD Notes (Part 5) — Major Breakthrough: I Want to Create a Mobile Sensor!Since last semester, when I guided students in the China International College Students Innovation Competition, I started to engage with the Internet of Things (IoT), edge computing, cloud platforms, and sensors. During the on-site presentations, we were always discussing concepts or proposals, … Read more

ESP32-BLE2MQTT: A Bidirectional BLE↔MQTT Bridge Running on ESP32

ESP32-BLE2MQTT is a bidirectional BLE↔MQTT bridge running on ESP32. It directly maps the GATT characteristics of Bluetooth Low Energy (BLE) devices to MQTT topics, allowing Bluetooth sensor data to be pushed to an MQTT server and enabling remote control of Bluetooth devices via MQTT→BLE. In other words, Bluetooth devices that could only interact through a … Read more

ESP32-BLE2MQTT: An Open Source BLE↔MQTT Bridge that Directly Maps GATT Characteristics of Bluetooth Low Energy (BLE) Devices to MQTT

What is it exactly? ESP32-BLE2MQTT is essentially a BLE↔MQTT bridge that directly maps the GATT characteristics of Bluetooth Low Energy (BLE) devices to MQTT topics. • BLE Side: Various sensors, remote controls, lights, door locks… as long as they can broadcast or provide GATT, they can be captured by it. • MQTT Side: Home Assistant, … Read more

Instant Bluetooth Device Connection with MQTT: ESP32-BLE2MQTT Revolutionizes IoT Access!

What is ESP32-BLE2MQTT? In simple terms, it is a small ESP32 (the commonly known Wi-Fi + Bluetooth dual-mode chip) running firmware specifically designed to map BLE GATT characteristics to MQTT topics. • As long as your BLE device broadcasts data such as battery level, power, and temperature, BLE2MQTT can help you push this data directly … Read more

Open Source: Four Modes to Master BLE Low Energy Bluetooth Development

Open Source: Four Modes to Master BLE Low Energy Bluetooth Development

The Hezhou Air8000 is a high-performance industrial engine that integrates multiple functions such as 4G, Wi-Fi, BLE, and GNSS (Global Navigation Satellite System). It supports 485/232/Ethernet drivers/multi-network integration/VoLTE calls, providing over 50 programmable I/O ports to meet the continuous communication capabilities and complex peripheral expansion needs of IoT devices in complex industrial scenarios. Previously, we … Read more