Auto connect to a wifi module from matlab?
9 views (last 30 days)
Show older comments
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 Comments
Abhishek Chaudhary
on 11 Feb 2018
Which wifi module are you using? Is the connection successful? Like, can you read the data from the module in matlab?
Answers (0)
See Also
Categories
Find more on Development Computer Setup in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!