Auto connect to a wifi module from matlab?
1 次查看(过去 30 天)
显示 更早的评论
So I have a wifi module that uses a static IP address to connect to matlab using the TCP/IP toolbox. However it is desirable for the wifi module to use a dynamic IP because often the static IP it uses gets taken by the network i connect to. In matlab you have to specify the IP you want to connect to using TCP/IP command. I m wondering are there any tools available that allow you to identify the dynamic IP of the wifi module and then set that as the IP in the TCP/IP command. This would mean i wouldn't have to change the IP on the wifi module every time it gets taken up. It seems that most of what you can do with TCP/IP is after its connected. In windows you can use the arp -a command to see all the ip addresses of connected devices on the network your machine is connected to. This also gives their mac addresses. So if i know the mac address of the wifi module can i get its ip before connecting?
2 个评论
Abhishek Chaudhary
2018-2-11
Which wifi module are you using? Is the connection successful? Like, can you read the data from the module in matlab?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 WiFi 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!