nRF-Provisioner App — internal error

I have built and flashed the provisioning app for a nrf52840dk-nrf7002ek combination.  When I ope the provisioning app on my iPhone, I see “Nordic_LBS”;  I click on that and I then select my wifi network, and then I enter the network’s password, I get a little dialog box which says “internal error”.

Any ideas?

Regards,

Jerry

  • This is the console traffic from the provisioning aoo:

    *** Booting nRF Connect SDK v2.5.0 ***
    [00:00:00.248,413] <inf> net_config: Initializing network
    [00:00:00.248,413] <inf> net_config: Waiting interface 1 (0x200018c0) to be up...
    [00:00:30.249,206] <inf> net_config: IPv4 address: 192.165.100.150
    [00:00:30.249,267] <inf> net_config: Running dhcpv4 client...
    [00:00:30.249,481] <err> net_config: Timeout while waiting network interface
    [00:00:30.249,511] <err> net_config: Network initialization failed (-115)
    [00:00:31.249,816] <inf> bt_sdc_hci_driver: SoftDevice Controller build revision:
    c5 93 ba a9 14 4d 8d 05 30 4e 9b 92 d7 71 1e e8 |.....M.. 0N...q..
    aa 02 50 3c |..P<
    [00:00:31.252,197] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
    [00:00:31.252,227] <inf> bt_hci_core: HW Variant: nRF52x (0x0002)
    [00:00:31.252,258] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 197.47763 Build 2370639017
    [00:00:31.253,265] <inf> bt_hci_core: Identity: C7:28:33:33:F4:D5 (random)
    [00:00:31.253,295] <inf> bt_hci_core: HCI: version 5.4 (0x0d) revision 0x1102, manufacturer 0x0059
    [00:00:31.253,326] <inf> bt_hci_core: LMP: version 5.4 (0x0d) subver 0x1102
    Bluetooth initialized.
    Wi-Fi provisioning service starts successfully.
    BT Advertising successfully started.
    [00:00:31.254,455] <err> net_sock: invalid access on sock 536955392 by thread 0x20004a68
    BT Connected: 5A:CE:8B:9D:19:87 (random)[00:00:31.955,108] <wrn> bt_l2cap: Ignoring data for unknown channel ID 0x003a
    [00:01:02.555,877] <err> bt_smp: SMP Timeout
    BT Security failed: 5A:CE:8B:9D:19:87 (random) level 1 err 9.
    BT Pairing Failed (9). Disconnecting.
    [00:01:02.630,249] <err> bt_conn: not connected!
    BT Disconnected: 5A:CE:8B:9D:19:87 (random) (reason 0x16).
    BT Connected: 5A:CE:8B:9D:19:87 (random)[00:01:59.705,383] <wrn> bt_l2cap: Ignoring data for unknown channel ID 0x003a
    BT pairing completed: 5A:CE:8B:9D:19:87 (random), bonded: 0
    BT Security changed: 5A:CE:8B:9D:19:87 (random) level 2.
    [00:02:03.935,607] <inf> wifi_prov: Wi-Fi Provisioning service - data out: notifications enabled
    [00:02:04.085,662] <inf> wifi_prov: Wi-Fi Provisioning service - control point: indications enabled
    [00:02:04.205,718] <inf> wifi_prov: Start parsing...
    [00:02:04.205,749] <inf> wifi_prov: GET_STATUS received...
    [00:02:13.010,620] <inf> wifi_prov: Start parsing...
    [00:02:13.010,650] <inf> wifi_prov: Start_Scan received...
    [00:02:32.090,667] <inf> wifi_prov: Start parsing...
    [00:02:32.090,698] <inf> wifi_prov: Stop_Scan received...
    [00:02:32.226,104] <inf> wifi_prov: Start parsing...
    [00:02:32.226,104] <inf> wifi_prov: Stop_Scan received...
    [00:03:19.521,362] <inf> wifi_prov: Start parsing...
    [00:03:19.521,392] <inf> wifi_prov: Set_config received...

    Regards,

    Jerry

  • Hi Jerry

    You say that the device name you see is Nordic_LBS. To use the Provisioner app you need the Wi-Fi provisioning sample flashed onto your nRF7002 DK/ EK. When flashed I believe the iOS app should show available devices as "nRF-7-Wi-Fi" names. Have you changed the device names or made any changes to the sample on your end? Can you show any screenshots from the phone on your side?

    The reason I'm asking is because the device showing as Nordic_LBS points to the nRF52840 DK on your end being flashed with another of our samples, but the nRF52 log seems to be correct-ish, although it seems to stop logging abruptly, is "[00:03:19.521,392] <inf> wifi_prov: Set_config received..." the last line? Also, what version of the nRF Connect SDK are you using for building and flashing the nRF Provisioning sample?

    Best regards,

    Simon

  • Hi Simon,

    The first couple of times I used it the name that showed up on the scanner was Nordic_LBS; then it changed to PV00476BI don’t know why. .

    i running on macOS Sonota, sdk V2..5.0.

    Regards,

    Jerry

  • Does it still not work when showing up as "PV00476BI"? Because something like this is what it looks like on Android as well. If it showed up as Nordic LBS I assume you didn't have it flashed onto the DK. If you're still having issues I'll try to reproduce it with an EK and iPhone combo myself.

    Best regards,

    Simon

  • Hi Simon,

    Yes, it still fails with the same error when it shows up as PV00476BI.

    Regards,

    Jerry

Related