2-带CTE蓝牙广播包的发送
环境准备
环境准备
- AD fmcomms5 + Xillinx zc706开发板
- Analog Devices ADALM-Pluto Radio
- MATLAB(预装上面两个硬件的支持包,还有提示要安装的支持包,下面列举几个重要的)
- Communications Toolbox Support Package for Xilinx Zynq-Based Radio
- Communications Toolbox Support Package for Analog Devices ADALM-Pluto Radio
- Communications Toolbox Library for the Bluetooth Protocol
蓝牙发送端组包
蓝牙包的发送使用ADALM-Pluto Radio配合通信工具箱中的蓝牙协议进行发送
广播包的PDU段的配置
% Configure an advertising channel PDU
cfgLLAdv = bleLLAdvertisingChannelPDUConfig;
cfgLLAdv.PDUType = 'Advertising non connectable indication';
cfgLLAdv.AdvertisingData = '01';
cfgLLAdv.AdvertiserAddress = '1234567890AB';
% Generate an advertising channel PDU
messageBits = bleLLAdvertisingChannelPDU(cfgLLAdv);
这段配置脚本主要完成的是广播包PDU的二进制数据生成,并且按照蓝牙协议要求对相应区段数据进行了倒序(后面有插图),相关的可用参数配置如下:
- 查看bleLLAdvertisingChannelPDU()函数可以看出,支持的PDU共有以下几种
| Advertising indication | Scan request | Connection indication |
|---|---|---|
| Advertising direct indication | Scan response | |
| Advert |

本文详细记录了使用AD fmcomms5和Xilinx zc706开发板进行蓝牙广播包的发送过程,包括环境准备、PDU段配置、Access Address生成、基带IQ数据创建和上变频发送。内容涉及蓝牙协议、GMSK调制、CTE段的二进制数据和IQ相位变化,提供了蓝牙包组包的深入理解。
最低0.47元/天 解锁文章
1761

被折叠的 条评论
为什么被折叠?



