Closed huangliguang closed 2 months ago
Hi @huangliguang,
Would you mind providing more details about this issue please? We provide a template with different sections to fill with the relevant information. Thank you for your comprehension.
With regards,
code
void Search_Service(void) { tBleStatus result; for(uint16_t idx = 0; idx < BLE_CFG_CLT_CONN_MAX_NUM; idx++) { if (server_Remote_Addr[idx].Req_Device_Connection_Status == APP_BLE_DISC_SERVICE_REQ) { uint16_t retry_count = 0x15ff; do { result = aci_gatt_disc_all_primary_services(server_Remote_Addr[idx].BleApplicationContext_legacy.connectionHandle); } while(result != BLE_STATUS_SUCCESS && retry_count--); server_Remote_Addr[idx].Req_Device_Connection_Status = APP_BLE_DISC_SERVICE_FINDING_REQ; if (result == BLE_STATUS_SUCCESS) { APP_DBG_MSG("* GATT : Start Searching Primary Services \r\n\r"); } else { APP_DBG_MSG("aci_gatt_disc_all_primary_services result 0x%x\r\n\r", result); } break; } } }
connectionHandle in debug mode value is not NULL,have value 0X80x
Hi @huangliguang,
Please allow me to close this issue as the information provided is not easily understandable nor usable. Thank you for your comprehension.
With regards,
You must power it on again to return 0x00