Auto connect to a wifi module from matlab?
조회 수: 5 (최근 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에서 Interface-Based Instrument Communication에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!