Documentation 'Get Started with Wi-Fi on Arduino Hardware'
3 ビュー (過去 30 日間)
古いコメントを表示
I followed Task 2 in the documentation 'Get Started with Wi-Fi on Arduino Hardware' with my Arduino MKR wifi 1010.
- LINK: https://www.mathworks.com/help/simulink/supportpkg/arduino_ref/getting-started-with-wifi-on-arduino-hardware.html
I have connected my hotspot to both the laptop and the Arduino (same network).
I set up the Arduino as a server and the Simulink model on my laptop as a client
1. Set the mode of the WiFi TCP/IP Send block to Server and deployed the model to the Arduino. Then I get IP address.
2. I entered the previously obtained Arduino IP (192.168.232.XX) and the configured port number (50000) into the TCP/IP Send block and completed the "Verify address and port" step. But it doesn't work
Here is the enlarged version of the Diagnostic Viewer error message.
What did I do wrong? & What should I do?
I'll wait for reply.
Thank you.
0 件のコメント
回答 (1 件)
Shubham
2024 年 9 月 3 日
Hi 순호 권,
This error is likely due to not setting the "Block Priorities" as outlined in step 8 of the example. For detailed steps, refer to the following documentation link:
To resolve this issue, ensure the "Block Priorities" have been specified correctly. The priority is set by right clicking the block, selecting "Properties" and entering the priority number in the "Priority" field. For this example, set the priority of TCP/IP Send to 1 and TCP/IP Receive to 2.
Hope this helps.
参考
カテゴリ
Help Center および File Exchange で Modeling についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!