Unable to connect to EV3 via WiFi

3 次查看(过去 30 天)
Krish Pillai
Krish Pillai 2017-10-7
回答: Suze Zhang 2017-10-9
I am running firmware version 1.09E on my EV3 and I can ping it from my laptop and from Matlab using !ping. But Simulink won't connect to it. Please help!
Output below:
>> !ping 10.1.1.16
PING 10.1.1.16 (10.1.1.16) 56(84) bytes of data.
64 bytes from 10.1.1.16: icmp_seq=1 ttl=64 time=3.32 ms
64 bytes from 10.1.1.16: icmp_seq=2 ttl=64 time=2.89 ms
64 bytes from 10.1.1.16: icmp_seq=3 ttl=64 time=2.89 ms
^C
--- 10.1.1.16 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 2.891/3.035/3.320/0.201 ms
Operation terminated by user during unix (line 32)
>> myev3 = legoev3('wifi','10.1.1.16','00165351fa52')
Error using legoev3 (line 287)
Failed to connect to '10.1.1.16'. Please check your network settings.
  1 个评论
Walter Roberson
Walter Roberson 2017-10-7
编辑:Walter Roberson 2017-10-7
Is it possible that the ev3's ID is something different? Is it possible that the connection is not wifi ? After you do the ping, what shows up if you then
!arp -a
in particular does 00:16:53:51:fa:52 show up and if so against which interface name?

请先登录,再进行评论。

回答(1 个)

Suze Zhang
Suze Zhang 2017-10-9
Hi Krish,
In the firmware version V1.09, the SSH and telnet are blocked by Lego. The interface Simulink uses to connect to the brick relies on these two types of connections. A workaround is to use an older firmware version, for example, V1.03.
For more information, please refer to the link below to a MATLAB Answers post:

类别

Help CenterFile Exchange 中查找有关 LEGO MINDSTORMS EV3 Hardware 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by