Thread network technology - 04 Programming Thread network over API and sending a UDP-package

preview_player
Показать описание
Thread is a network technology for wireless networks based on IPv6. It is ideally suited for home automation, Industry 4.0 and wireless sensor-actuator networks. In this video, we program a thread network via an API with the Nordic nRF5 SDK for Thread. For the programming we are using two developer board nRF52840-dk. We setting our own network parameter over the API and sending an UDP-package from one device to another.

You can support me at Patreon:

SourceCode for UDP-example

Developerboard nRF52840-dk:

nRF5 SDK for Thread and Zigbee:

00:00 Overview
00:19 Hardware nRF52840-dk
00:49 Prepare udp_receive example
03:20 Implementation steps udp_receive example
06:18 Initialization (Logger, Scheduler, App-Timer)
07:35 Thread instance initialization
09:10 Setting network parameter (dataset, PAN ID, channel, master key, ML-prefix)
13:54 Thread network start
15:51 UDP initialization (open, bind, receive handle)
20:18 Compile, transfer and testing udp_receive example
21:19 Prepare udp_send example
23:05 Implementation steps udp_send example
23:50 Implementing udp_send function
25:46 Register button handler
27:10 Compile, transfer and testing udp_send example
28:04 Capture UDP-package with Wireshark
28:53 Outlook (CoAP)
Рекомендации по теме
Комментарии
Автор

Sooperub...Really wonderful and Knowledgeable...Thankyou very much....Please do more videos....

vigneshs
Автор

I had trouble with the udp_receive board crashing when I powered on the udp_send board. Making the "mySocket" variable in the udp_init() function static appears to resolve the issue for me (i.e., change line 113 in your example code from "otUdpSocket mySocket;" to "static otUdpSocket mySocket;"). Any idea why this might be the case for me?

ryanknepel
Автор

Here we are sending message via realm mesh Multicast address...how we send messge to a particular device? How we find MLEID of that devicem while sendig UDP mesaage

rohithr
Автор

could you pls tell me how could i connect automatically into previously paired network after disconnected from it?

mimoghosh
Автор

Great Video, thanks a lot, i have problems with the udp initialization this seems not to be working i need to open the udp and bind it manualy, i wanted to download the source code but it requieres logins.

jasonplows
join shbcf.ru