Very happy to see this sort of Thread material becoming available. Thanks Markus for all your work, big help with the steep OT learning curve. Much appreciated.
Hi Markus. I've been following your process with the dk version with a Pi4 and been able to fix some of the issues on the way. Now I'm getting stuck at the script for bootloader "Detecting C compiler ABI info - failed" Pardon my ignorance, but I can't seem to find a way for cmake to recognize the compiler. Would you be able to point me in the right direction?
Video is really helpful, thank you very much for making this type of excellent content! I just want to ask that have you connected the development kit to the laptop or to raspberry pi using USB as it is not clear to me?
Only the nRF52840 dongle is connected to the Raspberry Pi for border router functionality. The developer kit is connected to the PC, but only for the power supply. The developer kit transfers the data wirelessly with Thread to the border router, which then forwards this message to the server over the TCP/IP network.
@@wsniot Thank you very much! and one more thing you had connected two pins through the cable on the development kit, can you please specify the pin names.
@@simranmanghwani3514 If you dont have any problems with your developer kit, you dont have to connect the pins. There is a resistor to weak on my version on the developer board. Sometimes i had to wait up to 10 minutes until my dk was powered up. I guess the humidity and the salt in the air here have a part on it. After discussing it with Nordic support they gave me this solution and that they replace the resistor in the new dks.
I am trying to use the PCA10040 development kit of Nordic but while connecting it with Putty it returns the same command in output which is provided as input, can you please suggest something for this or any alternate way for setting up the thread network
Hello Markus The video was very helpful, thanks. Border router and thread devices work fine. I have a question about joining thread devices. If the thread joiner device has no cli port( like a thread power socket), how can I join the thread device to the thread mesh? Thanks
There are different solutions. I dont know how it works with the thread power socket. It can be done on mesh with pushing a button to initiate the joining. It can be done automatically when powering up. In both cases i think the passphrase have to be preinstalled on the joiner. Off-mesh it can be done over bluetooth with the mobile phone over the border router, if the joiner have bluetooth support. There is a thread app available for joining.
@@wsniot Thanks Markus! I asked Eve Systems costomer service if the Eve Energy socket works with an optenthread border router. The reply: Thank you for contacting Eve Systems customer service. The only Thread Border routers for HAP (HomeKit Access Protocol) are: HomePod mini and/or the Apple TV 4K (2nd generation) or Apple TV 4K (3rd generation, Wi-Fi + Ethernet). So it doesn't work, sorry.
Yes, has nothing to do with the BorderRouter. It forwarded just the IP-packages, you can use any application layer you want. And LWM2M uses anyway mostly CoAP as underlying protocol.
We followed all steps mentioned in the tutorial. When we reached the step of writing the hex file to the dongle, the file does not get successfully written. Can anyone help if this issue was resolved already?
Hi sir, I'm new in thread protocol, may I ask if it is possible to replace the nRF52840 Developerkit to nRF52840 dongle? Then I can use two dongles to do same way as you did in video. Thank you!
@@wsniot Got it! Thank you for your quick answer! For flash part, so I just need to follow your way (build dongle firmware as RCP part in your video) to flash my dongle, final step to select ot-cli-ftd instead of ot-rcp, am I correct? Thank you!
@@林錦漢-b3t You can flash the compiled hex-file with the programmer over the bootloader. Of course dont forget to use the build-file for the usb dongle instead the dk-file.
Hello sir, I have connected nordiac kit to pc through serial communication,but putty server is not taking any input from keyboard.what to do in that case.
You need to write the hex file generated from the nrf github repo to the dongle, and then you can plug it in to the USB port. The Timestamp - 11:16 Download nRF5840 GIT-repository to ~21:00 should show you how to do that
Hi markus, i'm interested on how you have coded the client device to be able to send to the PC the temperature imformation. In particular i'd like to know how did you put your PC's IP address on the coap_client code, cause i tried to do that on VisualStudio by using the code of your video "Zephyr and Nordic nRF Connect SDK - 08 CoAP client/server communication", adding the IP of my pc instead of the meshlocaladdr of the coap_server device. I've put it into myMessageInfo.mPeerAddr using the function otIp6AddressFromString. Is that the correct mode? cause when i press the button on the prompt window appers nothing, while i'm running the python script. Could you advice me on how i could solve this issue? Thanks a lot Simon
Hi Simone, i did just use otIp6AddressFromString, but you can set it of ourse also on other ways. Maybe you check where the real problem is. With tcpdump you can check the traffic on the border router. Did the br receive the package, does it send it to the outgoing interface and so on. On the pc you can also check the incoming traffic. Does a ping on the ip address from the PC is working via the CLI. Maybe the firewall is blocking things on the PC.
@@wsniot Hi markus, i've a problem with otIp6AddressFromString: when i give the IP address of my PC the function does not convert the string to an IP address, i think it's because i give it in IPv4 format. How did you do with the IP of your PC? Have you used a special function or have you converted it in an IPv6 address, and if yes, how? Thanks a lot Simon
@@simonebaraldi6753 otIp6AddressFromString only converts IPv6-addresses and also for addressind thread uses only ipv6. If you want to use the ipv4 address of your ps you have to convert it to an ipv6 address. You have to add the prefix which is assigned on your borderrouter to mark it as ipv6 address. Your PC gets nowadays also automatically an ipv6 address assigned in your LAN. So you could also use this one. Try to ping the address before over the CLI if its reachable.