This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problem of running MQTT subscriber example

Hi, I am running the mqtt subscriber example provided in IoT SDK (nrf5_iot_sdk_3288530). I am using raspberry pi as router, and following the infocenter tutorial. I have completed the first 7 steps, and have verified the nrf52 board is connected with the pi router based on the LED state.

Then I hit problems. Step 8 says: "Prepare the IPv6 global prefix for the btX interface." I have no clue how to prepare but I have done the work on "connecting the router"

Now, when I press the button 1, I don't see any connection from the broker side. The network information is shown below, there is a strange problem: although nordic board is connected, when I ping ff02::1, only the gateway is seen. Is this the reason for connection failure?

In summary, I would like to get answers foer the following questions,

Quesiton 1, how to deal with the step 8 in the tutorial

Question 2, is the abovementioned ping problem a real problem?

Question 3, how to set the ipv6_addr_t for the broker in the main.c? how to get the ipv6 address when I only know the ipv4 address of the broker?

Thanks in advance!

image description

Related