From shallow to deep, Bluetooth 4.0/BLE protocol stack development strategy (1)

Bluetooth Low Energy, referred to as BLE. Bluetooth low energy wireless technology uses many intelligent means to minimize power consumption.

The Bluetooth low energy architecture consists of two chips: a single-mode chip and a dual-mode chip. The Bluetooth single-mode device is a new chip in the Bluetooth specification that only supports Bluetooth low energy technology - part of a technology optimized for ULP operation. The Bluetooth single-mode chip can communicate with other single-mode chips and dual-mode chips. The latter needs to use the Bluetooth low energy technology part of its architecture to send and receive data. Dual-mode chips can also communicate with standard Bluetooth technology and other dual-mode chips that use traditional Bluetooth architecture.

TI's Bluetooth low energy devices for sensing applications are true SoC solutions. The CC254x SoC Series is a highly flexible, low-cost single-mode Bluetooth low-power solution that combines TI's protocol stack, profile software, and sample applicaTIon. Next, we will combine CC254x to explain the development process of Bluetooth 4.0 from the construction of the environment to the development of the Bluetooth 4.0 protocol stack. This tutorial is divided into six parts. The main points of knowledge are as follows:

Bluetooth BLE protocol stack development tutorial

The first part of the knowledge points:

Click to browse the next page The first section of the BLE development environment

Click to browse the next page The second quarter BLE quick experience

Click to browse the next page Section III Creating an IAR Project - Lighting LEDs

Click to browse the next page The fourth section controls the LED

Click to browse the next page The fifth section LCD12864 display

The second part of the knowledge points:

Click to browse the next page The sixth section of the independent button query method

Click to browse the next page Section 7 Interrupt Mode of Independent Buttons

Click to browse the next page Section VIII CC254x internal temperature sensor temperature acquisition

Click to browse the next page Section IX five-way button

Click to browse the next page Section 10 Buzzer

The third part of the knowledge points:

Click to browse the next page Section XI Serial Communication

Click to browse the next page Section 12 Flash read and write

Click to browse the next page Section 13 Introduction to the BLE Protocol Stack

Click to browse the next page Section 14 How OSAL Works

Click to browse the next page Section 15 BLE Bluetooth 4.0 Protocol Stack Startup Analysis

The fourth part of the knowledge points:

Click to browse the next page Section XVI Protocol Stack LED Experiment

Click to browse the next page Section 17 Protocol Stack LCD Display

Click to browse the next page Section 18 Protocol Stack UART Experiment

Click to browse the next page Section 19 Protocol Stack Five-way Button

Click to browse the next page Section 20 Protocol Stack Flash Data Storage

The fifth part of the knowledge points:

Click to browse the next page Section 21 DHT11 Temperature and Humidity Sensor

Click to browse the next page Section 22: Slave Communication of the Bluetooth Protocol Stack

Click to browse the next page The twenty-third section of the Bluetooth protocol stack master-slave host communication

Click to browse the next page Section 24 OAD Air Upgrade

Click to browse the next page Section 25 SBL Serial Port Upgrade

The sixth part of the knowledge points:

Click to browse the next page Section 26 UBL-USB Upgrade

Click to browse the next page Section 27 MT-iBeacon Base Station Using iPhone Air Upgrade

Click to browse the next page Section 28 MT-iBeacon Base Station Implements OAD Air Upgrade on the PC Side

Click to browse the next page Section 29 MT-iBeacon Base Station About the Use of LightBlue Software

Click to browse the next page Section 30 How to use the pass-through function of MT-USBDongle

For an introduction to TI's CC254x chip, you can click on the link below to view:

Mainstream Bluetooth BLE control chip detailed (1): TI CC2540

BLE is one of the Bluetooth 4.0 specifications, where the master has up to seven peripherals, low power, low latency, and low throughput.

Six device states

Standby: The device does not transmit and send data, and is not connected to any device.

Broadcast status (Advertiser): Periodic broadcast status

Scanner: Actively looking for devices that are being broadcast

Initiator: Initiator initiates a connection to the scanning device.

Master: Connect to other devices as a master device.

Slave: Connect as a slave to another device.

Five working states

Standby, advertising, Scanning, Initiating, Connected

Four device types

Cnetral host (often as a client): such as mobile phones, PCs

Peripheral slave (often as a Service): such as a heart rate monitor, blood glucose meter

Observer observer:

Broadcast broadcaster:

Connection process:

Peripheral turns on the broadcast --> Central scan slave broadcast --> Peripheral receives the central scan request, Peripheral sends the scan response data to Central --> Central initiates the connection to Peripheral --> start communication.

compatibility

Bluetooth 4.0 protocol stack

Mobile Game Controller

1. 4-IN-1 MOBILE CONTROLLER mobile game controller which combines Gaming Triggers, Silent cooling fan, Emergency charging bank and charging cable in order to improving and promoting your immersive gaming experience, which also could help you get a good score in the shooting games.

2. COOLING FUNCTION & EMERGENCY CHARGING .mobile game controller with a built-in silent cooling fan and a high quality 1200mAh battery, the built-in silent cooling fan could help cooling your hot mobile phone, and 1200mAh battery also could help charging your mobil phone when your mobile phone is almost powered off.

3. PLAYING WITH 4 FINGERS - Customize the button as you like, you can play shooting games with 6 fingers, such as aiming, shooting, moving, squatting, left tilted head and right tilted head at the same time. In addition, the turnover button can help you customize icon more easily.

4. SUPPORTED DEVICES & GAMES - Suitable for the majority of mobile phone, the max stretch width is 3.9inchwhich could compatible with the majority of shooting games, such as Rules of Survival, Knives Out, Survivor Royale, Critical Ops, etc.

5. EXCELLENT SERVICE - If our Mobile Game Controller have any problems, please contact us by email, we will replace the defective product for you as soon as possible, and we offer 12 months warranty.

Mobile Game Controller,Game Pubg Controller,Gamepad Equipment,Game Shooter Controller

MICROBITS TECHNOLOGY LIMITED , https://www.microbitstrade.com