问题描述
我一直想知道无线耳塞如何工作,并发现了这张图片。我不知道如何复制下图中显示的内容,并且想学习如何做。
I had been wondering how wireless earbuds work and came across this image. I do not know how to replicate what is shown in the following image and would like to learn how to do it.
我的最终目标是能够拥有智能手机连接到设备,同时仍然可以播放蓝牙耳机的音乐。我读到 BLE 4.1 网格,但不确定是否有帮助。
My end goal is to be able to have the smartphone connect to a device, while still being able to play music to a Bluetooth Headphone. I read into BLE 4.1 mesh and I am not sure if that would help either.
我已经制作了多种设备可以进行通讯的图像,但是我没有足够的声誉来附加 xD 。我会尽力描述它们。
I have made images for the possible ways the multiple devices could communicate but I don't have enough reputation to attach the xD. I will try my best to describe them.
1)所有设备都设法同时与智能手机通信。
2)所有设备都连接到集线器,该集线器将数据中继到智能手机。
3)一个设备是集线器本身,它在发送自己的数据时中继所有其他设备的数据。
4)设备之间相互中继信息,直到智能手机接收到它所需要的数据为止。
5)另一种可能性是具有网状结构,其中设备中继通过网络广播的所有消息,直到该消息所针对的设备接收到该消息。
1) All devices manage to simultaneously communication with the smartphone.
2) All devices connect to a hub which relays data to the smartphone.
3) One device is the hub itself and relays data for all other devices while sending its own data.
4) The devices relay information for each other till the smartphone receives the data it called for.
5) Another possibility is to have a mesh structure where the devices relay all messages broadcast-ed over the network until the device for which the message is meant for, receives it.
我希望创建一个项目,使我制作的蓝牙设备不会妨碍用户同时连接和使用其他蓝牙设备。
I hope to make a project where a Bluetooth device I make does not hinder the user from connecting and using other Bluetooth devices simultaneously.
感谢您的阅读,我期待所有答复。
Thanks for reading and I look forward to any and all responses.
图像1:
图像2:
图片3:
图片4:
推荐答案
您需要首先考虑一些事情。
You need to consider few things first.
- 罪ce 4.0版的蓝牙规范包含经典的
蓝牙,蓝牙高速和蓝牙低功耗(BLE)
协议。 - Bluetooth Classic提供了A2DP,AVRCP等配置文件
通常由蓝牙耳机或扬声器实现。 - BLE使用GATT进行通信(
的通用规范是发送和接收已知的短数据 - BLE不能处理音频等高带宽场景。
- Since version 4.0 Bluetooth specification contains "ClassicBluetooth, Bluetooth high speed and Bluetooth low energy (BLE)protocols."
- Bluetooth Classic provides profiles like A2DP, AVRCP thatare usually implemented by Bluetooth earbuds or speakers.
- BLE on the other hand communicates using GATT (a general specification forsending and receiving short pieces of data known as attributes over alow energy link).
- BLE is not designed to handle high bandwidth scenarios like Audio.
现在达到目的
- 您可以将智能手机连接到带有A2DP配置文件的耳塞
并同时连接到多个BLE设备。 - 这些BLE设备中的一个或多个可以实现网状连接
这篇关于如何制作BLE网状网络?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!