如何可以在完成 BLE Provisioning 後使用 Nimble?

nickcheng
Posts: 2
Joined: Wed Jan 10, 2024 8:10 pm

如何可以在完成 BLE Provisioning 後使用 Nimble?

Postby nickcheng » Thu Jan 11, 2024 7:44 pm

Code: Select all

I (27523) my_app: Connected with IP Address:192.168.1.159
I (27523) esp_netif_handlers: sta ip: 192.168.1.159, mask: 255.255.255.0, gw: 192.168.1.1
I (27523) wifi_prov_mgr: STA Got IP
I (27523) my_app: Provisioning successful
I (29593) NimBLE: GAP procedure initiated: stop advertising.
I (29593) NimBLE: GAP procedure initiated: terminate connection; conn_handle=1 hci_reason=19
I (29593) wifi_prov_mgr: Provisioning stopped
I (29603) my_app: Provisioning deinit
I (29613) protocomm_nimble: Protocomm layer has already stopped
I (29613) NimBLE: GAP procedure initiated: advertise; 
I (29613) NimBLE: disc_mode=2
I (29623) NimBLE:  adv_channel_map=0 own_addr_type=0 adv_filter_policy=0 adv_itvl_min=256 adv_itvl_max=256
I (29633) NimBLE: 
I (29633) my_app: BLE transport: Disconnected!
W (32533) BLE_INIT: invalid controller state
E (32533) BLE_INIT: controller init failed
E (32533) NimBLE_BLE_PRPH: Failed to init nimble 259 
I (32543) main_task: Returned from app_main()
成功 Provisioning 後再使用 Nimble PRPH 就會顯示失敗

Who is online

Users browsing this forum: No registered users and 156 guests