Documentation 'Get Started with Wi-Fi on Arduino Hardware'

조회 수: 4 (최근 30일)
순호 권
순호 권 2024년 8월 28일
댓글: 순호 권 2024년 11월 21일 4: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.

답변 (1개)

Shubham
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 CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

제품


릴리스

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by