当前位置:网站首页>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/
边栏推荐
- Why is the frame rate calculated by opencv wrong?
- Civil Aviation Administration: by 2025, China will initially build a safe, intelligent, efficient and green aviation logistics system
- 建立自己的网站(15)
- Fegin client entry test
- NLP pre training model-2018:bert dictionary
- Why is BeanUtils not recommended?
- 1281_ FreeRTOS_ Implementation analysis of vtaskdelayuntil
- Several optimization scenarios using like fuzzy retrieval in SQL
- The new version of Tencent's "peace elite" is coming: add a new account security protection system, and upgrade the detection of in-game violations
- What aspects should we start with in the feasibility analysis of dry goods?
猜你喜欢
2. What is the geometric meaning of a vector multiplying its transpose?

记一次beego通过go get命令后找不到bee.exe的坑

Network security project questions of the first Henan vocational skills competition in 2022
![[opencv450 samples] inpaint restores the selected region in the image using the region neighborhood](/img/36/8ad6034473382f66f315eb70440711.png)
[opencv450 samples] inpaint restores the selected region in the image using the region neighborhood

No absurd tea applet - rule change

字符串

UE4_ Ue5 combines the offline voice recognition plug-in for speech recognition

ES6 learning -- let

软件测试面试一直挂,面试官总是说逻辑思维混乱,怎么办?

电路模块分析练习6(开关)
随机推荐
Somme logarithmique (deux points) pour le Groupe 52 - - e de la course de la lune blanche de niuke
RK3568+鸿蒙工控板工业网关视频网关解决方案
The applet draws a simple pie chart
Unity technical manual - particle emission and life cycle velocity sub module
Fastjson反序列化随机性失败
leetcode_ 136_ A number that appears only once
ES6 const constants and array deconstruction
PDM fur
Multithreaded learning 2- call control
[eosio] eos/wax signature error is_ Canonical (c): signature is not canonical
New network security competition of the secondary vocational group in 2022
Unity的Ping类使用
Leetcode(435)——无重叠区间
Basic operator
Pycharm student's qualification expires, prompting no suitable licenses associated with account solution
【EOSIO】EOS/WAX签名错误 is_canonical( c ): signature is not canonical 问题
Multithreaded learning 1
UE4\UE5 蓝图节点Delay与Retriggerable Delay的使用与区别
Huawei cloud SRE deterministic operation and maintenance special issue (the first issue)
Common MySQL database functions and queries