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...

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

admin 发表于 2022-3-21 20:06:34

把主机服务里的基础UUID设置和从机设备一致
页: [1]
查看完整版本: 主机服务发现不了