设为首页收藏本站

Discuz! Board

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 2541|回复: 1
打印 上一主题 下一主题

主机服务发现不了

[复制链接]

3

主题

7

帖子

43

积分

新手上路

Rank: 1

积分
43
跳转到指定楼层
楼主
chxf2007 发表于 2022-3-21 14:02:09 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
0> <info> app_timer: RTC: initialized.
0> <debug> ble_scan: Added filter on UUID 180D
0> <info> app: BLE UART central example started.
0> <debug> ble_scan: Scanning
0> <debug> ble_scan: Connecting
0> <debug> ble_scan: Connection status: 0
0> <debug> nrf_ble_gatt: Requesting to update ATT MTU to 247 bytes on connection 0x0.
0> <debug> nrf_ble_gatt: Updating data length to 251 on connection 0x0.
0> <info> app: Connecting to target 290018122020
0> <debug> nrf_ble_gq: Registering connection handle: 0x0000
0> <debug> ble_db_disc: Starting discovery of service with UUID 0x180D on connection handle 0x0.
0> <debug> nrf_ble_gq: Adding item to the request queue
0> <debug> nrf_ble_gq: GATTC Primary Services Discovery Request
0> dure will be attempted                       again later.
0> <debug> nrf_ble_gq: Processing the request queue...
0> <debug> nrf_ble_gq: GATTC Primary Service Discovery Request
0> <debug> nrf_ble_gq: SD is currently busy. The GATT request proce<debug> nrf_ble_gatt: ATT MTU updated to 247 bytes on connection 0x0 (response).
0> <info> app: ATT MTU exchange completed.
0> <info> app: Ble NUS max data length set to 0xF4(244)
0> <debug> nrf_ble_gq: Processing the request queue...
0> <debug> nrf_ble_gq: GATTC Primary Service Discovery Request
0> <debug> nrf_ble_gq: SD GATT procedure (2) succeeded on connection handle: 0.
0> <debug> nrf_ble_gatt: Data length updated to 27 on connection 0x0.
0> <debug> nrf_ble_gatt: max_rx_octets: 27
0> <debug> nrf_ble_gatt: max_tx_octets: 27
0> <debug> nrf_ble_gatt: max_rx_time: 328
0> <debug> nrf_ble_gatt: max_tx_time: 328
0> <debug> ble_db_disc: Service UUID 0x180D not found.
0> <warning> ble_db_disc: DISC PRIM.............!
0> <debug> nrf_ble_gq: Processing the request queue...

现在是主机连接上了客户机,但是不能发现服务,这个服务是一个 公共设备地址
有谁提供一下思路给我

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

243

主题

1706

帖子

6151

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
6151
沙发
admin 发表于 2022-3-21 20:06:34 | 只看该作者
把主机服务里的基础UUID设置和从机设备一致
回复 支持 反对

使用道具 举报

Archiver|手机版|小黑屋|Comsenz Inc.   

GMT+8, 2024-4-30 14:47 , Processed in 0.112807 second(s), 28 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表