MQTT over WiFi using nRF7002DK

Hello

I am facing issues while pairing nRF7002DK with nRF WiFi provisioner app, when I build the app (provided by nordic and hosted on github). However the pairing is successful when I use pre built hex file kept in \hex folder. I have downloaded the source code from https://github.com/AliNordic/mqtt_over_wifi_nrf7002DKmqtt_over_wifi_nrf7002DK-master.zip

Parents
  • Hello,

    Could you let me know which SDK version you are using to build the application? Additionally, could you provide a brief description of the issue you are facing? Are there any error messages or logs that could give more insight into the problem?

    Kind regards,

    Abhijith

  • Hi Abhijit 

    I am using nRF Connect SDK v2.5.1. Following is RTT viewer log

    00> [00:00:00.449,951] <inf> fs_nvs: 2 Sectors of 4096 bytes
    00> [00:00:00.449,951] <inf> fs_nvs: alloc wra: 0, eb0
    00> [00:00:00.449,981] <inf> fs_nvs: data wra: 0, 148
    00> *** Booting nRF Connect SDK v2.5.1 ***
    00> [00:00:00.450,622] <inf> net_config: Initializing network
    00> [00:00:00.450,622] <inf> net_config: Waiting interface 1 (0x20001598) to be up...
    00> [00:00:10.461,975] <err> net_sock: invalid access on sock 1 by thread 0x20002eb8
    00> [00:00:30.451,354] <inf> net_config: IPv4 address: 192.165.100.150
    00> [00:00:30.451,416] <inf> net_config: Running dhcpv4 client...
    00> [00:00:30.451,629] <err> net_config: Timeout while waiting network interface
    00> [00:00:30.451,629] <err> net_config: Network initialization failed (-115)
    00> [00:00:31.463,989] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
    00> [00:00:31.464,019] <inf> bt_hci_core: HW Variant: nRF53x (0x0003)
    00> [00:00:31.464,019] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 197.47763 Build 2370639017
    00> [00:00:31.465,942] <inf> bt_hci_core: Identity: C6:86:E4:8D:7E:2E (random)
    00> [00:00:31.465,972] <inf> bt_hci_core: HCI: version 5.4 (0x0d) revision 0x2102, manufacturer 0x0059
    00> [00:00:31.466,003] <inf> bt_hci_core: LMP: version 5.4 (0x0d) subver 0x2102
    00> [00:00:31.466,003] <inf> MQTT_OVER_WIFI: Bluetooth initialized.
    00>
    00> [00:00:31.466,033] <inf> MQTT_OVER_WIFI: Wi-Fi provisioning service starts successfully.
    00>
    00> [00:00:31.467,987] <inf> MQTT_OVER_WIFI: BT Advertising successfully started.
    00>
    00> [00:01:10.365,173] <inf> MQTT_OVER_WIFI: BT Connected: 59:56:3C:2B:6E:5D (random)
    00> [00:01:13.331,390] <inf> MQTT_OVER_WIFI: BT Disconnected: 59:56:3C:2B:6E:5D (random) (reason 0x13).
    00>
    00> [00:01:13.331,604] <inf> MQTT_OVER_WIFI: Cannot update advertisement data, err = -11
    00>
    00> [00:01:39.090,270] <inf> MQTT_OVER_WIFI: BT Connected: 59:56:3C:2B:6E:5D (random)
    00> [00:01:41.996,368] <inf> MQTT_OVER_WIFI: BT Disconnected: 59:56:3C:2B:6E:5D (random) (reason 0x13).
    00>
    00> [00:01:41.996,582] <inf> MQTT_OVER_WIFI: Cannot update advertisement data, err = -11
    00>

  • Hi Abhijith

    After manually deleting the already paired BT device from settings on mobile, now it is possible to pair. 

  • Hello Umesh,

    umeshdj said:
    After manually deleting the already paired BT device from settings on mobile, now it is possible to pair. 

    Does this mean that your issue has been resolved, or do I need to investigate further? Please let me know.

    Kind regards,

    Abhijith

Reply Children
Related