完善资料让更多小伙伴认识你,还能领取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调试助手可以调试
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
小黑屋| 手机版| Archiver| 电子发烧友 ( 粤ICP备14022951号 )
GMT+8, 2023-5-7 04:32 , Processed in 0.804709 second(s), Total 125, Slave 108 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 深圳华秋电子有限公司
电子发烧友 (电路图) 粤公网安备 44030402000349 号 电信与信息服务业务经营许可证:粤 B2-20160233 工商网监 粤ICP备 14022951 号