Hey team I need some assistance with getting going with nRF7002-DK.
I followed Golioth training modules with nRF7002-DK but I have no success getting connected to Golioth. I also tried pre compiled examples but no luck.
Would you be able to point me to correct direction
Below are my logs during start up:
*** Booting nRF Connect SDK v2.5.2 ***
OK
[00:00:00.469,909] fs_nvs: 6 Sectors of 4096 bytes
[00:00:00.469,909] fs_nvs: alloc wra: 0, f80
[00:00:00.469,909] fs_nvs: data wra: 0, ac
[00:00:00.470,367] net_config: Initializing network
[00:00:00.470,397] net_config: Waiting interface 1 (0x20001810) to be up…
[00:00:00.470,520] net_config: IPv4 address: 192.168.1.99
[00:00:00.470,581] net_config: Running dhcpv4 client…
[00:00:00.470,855] golioth_iot: main: Start Golioth IoT
[00:00:00.470,916] golioth_iot: Starting nrf7002dk_nrf5340_cpuapp with CPU frequency: 64 MHz
uart:~$ OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
[00:00:01.471,069] golioth_iot: Static IP address (overridable): 1OK
92.168.1.99/255.255.255.0 → 192.168.1.1
[00:00:03,895] golioth_iot: Connection requested
You are not getting an IP address so there’s no connection to the access point. Here’s what a successful connection looks like:
*** Booting nRF Connect SDK v2.5.2 ***
OK
[00:00:00.440,948] <inf> fs_nvs: 6 Sectors of 4096 bytes
[00:00:00.440,979] <inf> fs_nvs: alloc wra: 0, f88
[00:00:00.440,979] <inf> fs_nvs: data wra: 0, a0
[00:00:00.441,436] <inf> net_config: Initializing network
[00:00:00.441,436] <inf> net_config: Waiting interface 1 (0x20001810) to be up...
[00:00:00.441,558] <inf> net_config: IPv4 address: 192.168.1.99
[00:00:00.441,619] <inf> net_config: Running dhcpv4 client...
[00:00:00.441,894] <dbg> golioth_iot: main: Start Golioth IoT
[00:00:00.441,986] <inf> golioth_iot: Starting nrf7002dk_nrf5340_cpuapp with CPU frequency: 64 MHz
uart:~$ OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
[00:00:01.442,108] <inf> golioth_iot: Static IP address (overridable): 1OK
92.168.1.99/255.255.255.0 -> 192.168.1.1
[00:00:03.004,913] <inf> golioth_iot: Connection requested
[00:00:07.269,256] <inf> net_config: IPv6 address: fe80::f6ce:36ff:fe00:1d16
[00:00:07.304,534] <inf> golioth_iot: Connected
[00:00:07.305,541] <inf> golioth_mbox: Mbox created, bufsize: 1232, num_items: 10, item_size: 112
[00:00:07.307,647] <err> golioth_coap_client_zephyr: Fail to get address (coap.golioth.io 5684) -11
[00:00:07.307,678] <err> golioth_coap_client_zephyr: Failed to connect: -11
[00:00:07.307,678] <wrn> golioth_coap_client_zephyr: Failed to connect: -11
[00:00:07.971,801] <inf> net_dhcpv4: Received: 192.168.200.10
[00:00:07.971,954] <inf> net_config: IPv4 address: 192.168.200.10
[00:00:07.971,954] <inf> net_config: Lease time: 86400 seconds
[00:00:07.971,984] <inf> net_config: Subnet: 255.255.255.0
[00:00:07.972,045] <inf> net_config: Router: 192.168.200.1
I recommend that you attempt connecting through a different access point, such as using your cellphone as a hotspot, as this often resolves connectivity issues. Additionally, you should consider updating to the latest release of the repository. The current instructions reference version 2.3.0 of the Zephyr Training repository, but you should use version 2.4.0, which is the newest release and includes the latest updates and improvements.
Thank you Marko.
I had another question with Thingy91 example. After trying various fixes I cant get to connect the device to Golioth.
Log is attached.
I suspected its the lte_handler LTE link control
This type of log serial output typically occurs when a device is attempting to connect to a cellular tower but fails to establish a proper network connection. The device is able to detect and interact with the cellular tower, but it is not successfully connecting to the network.
Can you connect to the LTE network using the Thingy91 with a different application?