Arduino MKR1000 + Simulink external mode over WiFi

2 ビュー (過去 30 日間)
Matthew Yoko
Matthew Yoko 2018 年 7 月 18 日
コメント済み: Walter Roberson 2024 年 12 月 23 日
My Simulink model fails at the build stage when set up to run in external mode with communication over WiFi. I get an error stating that a .c file is missing from the WiFi101 library.
I did some digging and found that the library was restructured and the expected .c (socket_buffer.c) file has been removed. I tried to install the most recent version of the library that still had the file but ran into another error. The model builds, but I get an error that an IP address could not be assigned. The suggested cause of this is an outdated WiFi101 library...
Seems like a Catch 22. Anybody managed to get this working?

採用された回答

Madhu Govindarajan
Madhu Govindarajan 2018 年 7 月 18 日
Simulink support package requires the WiFi 101 library to be a specific version - 0.14.3 . Type winopen(arduinoio.IDERoot) if you are in Windows and open the Arduino IDE. If not, move to the location and open Arduino IDE.
From the IDE itself, update the WiFi library to that specific version and this error will be gone.
  6 件のコメント
Clayton Allen
Clayton Allen 2024 年 12 月 23 日
Why is the USB cable required for WIRELESS connectivity?
Walter Roberson
Walter Roberson 2024 年 12 月 23 日
I suspect that Bootloader mode is not exposed over WiFi. I suspect that the USB cable is needed to program the system -- after which USB could be disconnected.

サインインしてコメントする。

その他の回答 (0 件)

製品

Community Treasure Hunt

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

Start Hunting!

Translated by