完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
在做ble应用时从example中移植了gatts的代码 ,但是运行时报错(demo是可以的)
E (2429) BT_APPL: service not created LOG: I (1859) BTDM_INIT: BT controller compile version [21812e3] I (1879) system_api: Base MAC address is not set I (1879) system_api: read default base MAC address from EFUSE I (1889) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07 I (2229) BT_GATT: GATT_Register I (2239) BT_GATT: allocated gatt_if=1 I (2239) BT_GATT: GATT_Startif gatt_if=1 I (2239) BT_GATT: GATTS_CreateService I (2249) BT_GATT: GATTS_StartService I (2249) BT_GATT: GATT_Register I (2249) BT_GATT: allocated gatt_if=2 I (2259) BT_GATT: GATT_StartIf gatt_if=2 I (2259) BT_GATT: GATTS_CreateService I (2269) BT_GATT: GATTS_StartService I (2339) Thread: enter normal mode! I (2349) BT_GATT: GATT_Register I (2349) Ui: this is ui ! I (2349) BT_GATT: allocated gatt_if=3 I (2349) Thread: [APP]************************************************** I (2359) BT_GATT: GATT_StartIf gatt_if=3 I (2359) BLE: REGISTER_APP_EVT, status 0, app_id 0 I (2359) Thread: [APP] Free memory: 4323107 bytes I (2369) Thread: [APP] IDF version: v4.4-dev-3675-g35b20cadce-dirty I (2379) BT_GATT: GATTS_CreateService I (2389) BLE: CREATE_SERVICE_EVT, status 0, service_handle 40 I (2399) BT_GATT: GATTS_StartService I (2399) BLE: SERVICE_START_EVT, status 0, service_handle 40 I (2409) BLE: ADD_CHAR_EVT, status 0, attr_handle 42, service_handle 40 I (2419) BLE: the gatts demo char length = 3 I (2419) BLE: prf_char[0] =11 I (2419) BLE: prf_char[1] =22 I (2429) BLE: prf_char[2] =33 E (2429) BT_APPL: service not created |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
1002 浏览 1 评论
554浏览 6评论
463浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
447浏览 5评论
448浏览 4评论
422浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-29 21:26 , Processed in 0.728060 second(s), Total 76, Slave 58 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号