完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
最近在学习ESP32S3,在arduino上开发,其自带的蓝牙库不能用,下载了arduinoBLE函数库能烧录但是电脑手机无法配对,这是怎么回事? BLEService ledService("19B10000-E8F2-537E-4F6C-D104768A1214"); // Bluetooth® Low Energy LED Service // Bluetooth® Low Energy LED Switch Characteristic - custom 128-bit UUID, read and writable by central const int ledPin = LED_BUILTIN; // pin to use for the LED void setup() { // set LED pin to output mode // begin initialization
} // set advertised local name and service UUID: // add the characteristic to the service // add service // set the initial value for the characeristic: // start advertising Serial.println("BLE LED Peripheral"); void loop() { // if a central is connected to peripheral:
} |
|
相关推荐
1个回答
|
|
|
这个arduinoBLE函数库烧录后需要与低功耗蓝牙匹配,手机上下载BLE调试助手可以调试
|
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
NRF54L15芯片开发安装路径对vscode不生效问题解析
1962 浏览 0 评论
在修改广播内容(如名称、UUID、广播数据等)时是否需要停用当前广播功能
1923 浏览 0 评论
nRF54芯片怎么烧录程序&nrfutil的安装使用
5466 浏览 0 评论
1130 浏览 0 评论
深入比较nRF52832和Nordic新的产品nRF54L15参数对比
5123 浏览 0 评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 17:46 , Processed in 0.799162 second(s), Total 74, Slave 56 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
887