Good afternoon guys
I have a script so that when they connect to Wi-Fi, the MAC is added to a simple queue. ¿How could it be done to only add devices that connect to 2.4ghz Wi-Fi to the queue?
To add only devices connected to the 2.4GHz Wi-Fi to the queue, you can use the interface property to check if the device is connected to the 2.4GHz interface. Assuming your 2.4GHz interface is named something like wlan1, you can modify your script as follows:
This script checks if the device is connected to the wlan1 interface (which represents the 2.4GHz network) before adding it to the queue. Adjust wlan1 to match your actual 2.4GHz interface name.
I have tested it and it works correctly, the only thing that in ROS v7 you have to change “wireless” to “wifi”.
Thank you very much for the help, greetings from the south of Spain.