当前位置:网站首页>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/
边栏推荐
- Xampp重启后,MySQL服务就启动不了。
- ES6 learning -- let
- Core points of assembly language
- User interaction scanner usage Advanced Edition example
- Comp2913 database
- Live800 online customer service system: do business across time and space, starting from each interaction
- LM小型可编程控制器软件(基于CoDeSys)笔记十七:pto脉冲功能块
- 【2023校招刷题】番外篇1:度量科技FPGA岗(大致解析版)
- Actual combat: how to quickly change font color in typera (blog sharing - perfect) -2022.6.25 (solved)
- Circuit module analysis exercise 6 (switch)
猜你喜欢
为什么OpenCV计算的帧率是错误的?
多台云服务器的 Kubernetes 集群搭建
【EOSIO】EOS/WAX签名错误 is_canonical( c ): signature is not canonical 问题
leetcode_ 136_ A number that appears only once
论文笔记: 多标签学习 MSWL
String deformation (string case switching and realization)
记一次beego通过go get命令后找不到bee.exe的坑
Pit resolution encountered using East OCR (compile LAMS)
[untitled] open an item connection. If it cannot be displayed normally, Ping the IP address
2. What is the geometric meaning of a vector multiplying its transpose?
随机推荐
Unity technical manual - color in life cycle coloroverlifetime-- speed color colorbyspeed
字符串
如何用jmeter做接口测试
2022年中职组网络安全新赛题
CDN加速是什么
【EOSIO】EOS/WAX签名错误 is_canonical( c ): signature is not canonical 问题
问题记录与思考
字符串变形(字符串大小写切换和变现)
Use and difference between ue4\ue5 blueprint node delay and retroggable delay
As a programmer, how can we learn, grow and progress happily? (personal perception has nothing to do with technology)
. SQL database import error: / *! 40101 SET @OLD_ COLLATION_ [email protected]@COLLATION_ CONNECTION */
关闭MongoDB一些服务需要注意的地方(以及开启的相关命令)
What is Unified Extensible Firmware Interface (UEFI)?
LM小型可编程控制器软件(基于CoDeSys)笔记十七:pto脉冲功能块
【opencv450-samples】inpaint 使用区域邻域恢复图像中的选定区域
How to download the software package of CDH version
Flex & Bison Start
Unity的Ping类使用
RK3568+鸿蒙工控板工业网关视频网关解决方案
论文笔记: 多标签学习 MSWL