当前位置:网站首页>Ble Low Power Bluetooth networking process and Bluetooth role introduction
Ble Low Power Bluetooth networking process and Bluetooth role introduction
2022-06-25 23:27:00 【Guistar~~】
Bluetooth role and networking establishment
Knowledge card —— Bluetooth role and networking establishment
BLE Bluetooth has the following roles :
| role | explain |
|---|---|
| Broadcaster (Advertise) | Periodically broadcast data to surrounding equipment |
| Scanner (Scanner) | You can listen to broadcast data or search for surrounding devices ( also called :Scanner) |
| Main equipment (Master) | Responsible for scanning equipment and initiating establishment request , After the connection is established, it becomes master |
| Slave device (Slave) | The device responsible for broadcasting and receiving the connection request is called after the connection is established slave |
- Bluetooth communication refers to the communication between two Bluetooth modules or Bluetooth devices , One of the two sides of data communication is the host , One is the slave .
- The difference between master mode and slave mode : A host is a party that can search for others and actively establish a connection , The slave can't actively establish a connection , We can only wait for others to connect with us
From device mode :
The Bluetooth module working in the slave mode can only be searched by the host , Can't actively search . After the slave device is connected to the host , It can also send and receive data with the host device
Master mode :
- Working in master mode , Can be connected to a slave device . In this mode, you can search the surrounding devices and select the slave devices to be connected .
- A Bluetooth host device , It can communicate with multiple Bluetooth slave devices at the same time .
- A device with Bluetooth communication function , You can switch between two characters , Usually work in slave mode , Wait for other master devices to connect , When needed , Switch to main mode , Initiate calls to other devices .
- When a Bluetooth device initiates a call in main mode , Need to know each other's Bluetooth address , Pairing password and other information , After pairing , Call can be initiated directly .
Connection process
Broadcast from device , The master device scans and then initiates a connection , Establishing a connection

The knowledge card is over ~ Do you know anything about Bluetooth network setup ?
Bluetooth module practice
Take the master-slave Bluetooth of Shenzhen xinchida as an example
1. Document preparation
With the master-slave Bluetooth of Shenzhen xinchida 52832 and bg22x For example
- Centrida Low Power Bluetooth (BLE) Modules and protocols (nRF52832)
- Centrida Low Power Bluetooth (BLE) Modules and protocols (EFR32BG22)
2. Role settings

You can see that there are 4 Introduction to modes :
0:slave, From the role ( Default character )
1:master, The main character
2:slaveandmaster, Master slave integration
3:beacon, Can be connected to the broadcast ( In this role, the serial port is closed , No name )
3. Module introduction

This document is from the official of Sinochem ! When reading this tutorial , About AT Please refer to this document for a detailed description of the instructions !
If you need Bluetooth (BLE) module
Can contact : Shenzhen Xinchi daliai
Xinchida technology 【Vivi】
contact number :13510534054 ( WeChat )/17806715121
More information plus v Or the official website :
https://www.szrfstar.com/
边栏推荐
- Oracle -- table operation
- My C language learning process
- Paper notes: multi tag learning MSWl
- How to use JMeter for interface testing
- 一位博士在华为的22年
- Somme logarithmique (deux points) pour le Groupe 52 - - e de la course de la lune blanche de niuke
- Network security project questions of the first Henan vocational skills competition in 2022
- As a programmer, how can we learn, grow and progress happily? (personal perception has nothing to do with technology)
- 【EOSIO】EOS/WAX签名错误 is_canonical( c ): signature is not canonical 问题
- 牛客小白月賽52--E 分組求對數和(二分)
猜你喜欢

Unity的Ping類使用

Circuit module analysis exercise 6 (switch)

小程序绘制一个简单的饼图

Fastjson反序列化随机性失败
![[modulebuilder] GP service realizes the intersection selection of two layers in SDE](/img/4a/899a3c2a0505d2ec2eaae97a3948c9.png)
[modulebuilder] GP service realizes the intersection selection of two layers in SDE

Why is the frame rate calculated by opencv wrong?

How to use JMeter for interface testing

剑指 Offer 46. 把数字翻译成字符串(DP)

How to solve the problem of SQL?

【AXI】解读AXI协议原子化访问
随机推荐
Huawei cloud SRE deterministic operation and maintenance special issue (the first issue)
关闭MongoDB一些服务需要注意的地方(以及开启的相关命令)
干货丨产品的可行性分析要从哪几个方面入手?
ACM. HJ16 购物单 ●●
剑指 Offer 46. 把数字翻译成字符串(DP)
LM小型可编程控制器软件(基于CoDeSys)笔记十七:pto脉冲功能块
Use and difference between ue4\ue5 blueprint node delay and retroggable delay
Core points of assembly language
OpenJudge NOI 2.1 15:Counterfeit Dollar
信息学奥赛一本通 1353:表达式括号匹配(stack) | 洛谷 P1739 表达式括号匹配
[untitled] open an item connection. If it cannot be displayed normally, Ping the IP address
C language (I)
ES6 - numerical extension and object extension
Fastjson deserialization randomness failed
Oracle - data query
如何用jmeter做接口测试
Flex & Bison 开始
Fegin client entry test
Paper notes: multi tag learning MSWl
Windows安装Redis及简单使用