当前位置:网站首页>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/
边栏推荐
- Jupiter notebook common shortcut keys
- 【EOSIO】EOS/WAX签名错误 is_canonical( c ): signature is not canonical 问题
- 【AXI】解读AXI协议乱序机制
- CDN加速是什么
- 2022年河南省第一届职业技能大赛网络安全项目试题
- PDM fur
- Live800在线客服系统:跨越时空做生意,从每次互动开始
- LM small programmable controller software (based on CoDeSys) note XVII: PTO pulse function block
- Glory launched the points mall to support the exchange of various glory products
- Flex & Bison 開始
猜你喜欢

Civil Aviation Administration: by 2025, China will initially build a safe, intelligent, efficient and green aviation logistics system

Fastjson反序列化随机性失败

Idea FAQ collection

Kubernetes cluster construction of multiple ECS

UE4_UE5结合offline voice recognition插件做语音识别功能

No absurd tea applet - rule change

Why is the frame rate calculated by opencv wrong?

The Ping class of unity uses

Xampp重启后,MySQL服务就启动不了。

软件测试面试一直挂,面试官总是说逻辑思维混乱,怎么办?
随机推荐
Unity的Ping类使用
App new function launch
Flex & Bison 开始
Idea common plug-ins
问题记录与思考
电路模块分析练习6(开关)
STM32 development board + smart cloud aiot+ home monitoring and control system
How to add cartoon characters to the blog park?
异或运算符简单逻辑运算 a^=b
Sword finger offer 46 Translate numbers to strings (DP)
【EOSIO】EOS/WAX签名错误 is_canonical( c ): signature is not canonical 问题
信息学奥赛一本通 1353:表达式括号匹配(stack) | 洛谷 P1739 表达式括号匹配
建立自己的网站(15)
小程序-视图与逻辑
UE4_ Ue5 combines the offline voice recognition plug-in for speech recognition
ACM. HJ16 购物单 ●●
我的vscode
百度:2022年十大热度攀升专业出炉,第一名无悬念!
Ue4 Ue5 combine le plug - in de reconnaissance vocale de bureau pour la reconnaissance vocale
使用EAST ocr遇到的坑解决方法(编译lanms)