Auto connect to a wifi module from matlab?

3 views (last 30 days)
Ronan
Ronan on 30 Sep 2015
Commented: Ronan on 11 Feb 2018
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
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?
Ronan
Ronan on 11 Feb 2018
This question was asked 3 years ago. Not sure why its still up for answering. The date says 30th Sep 2015. I v moved on a bit since then.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!