Switching to Bluetooth
By default, with latest firmware version, the robots boot to WiFi. You can switch the Bluetooth by rotating manually any wheel by more than one turn (any direction), and this before the robot got any packet from WiFi. If it is added with a Game Controller, either stop the Game Controller or remove it from the list of rebots.
Addressing
When flashing the robots, a WiFi network configuration is set in the firmware. This can be configured in the config.h file while building the firmware.
The WiFi network must be 2.4Ghz. Even if any network configuration could be used, we here propose a convention for everyone to follow.
Single WiFi network
Here is the proposed network configuration when using only one router:
- IP address of the robots are set in the firmware. They don't have to be the one specified above since the robots are auto-discovered by the Game Controller. SSID and password are also set in the firmware and should match the Robot Soccer Kit network router configuration.
- Although the Game Controller can use DHCP, it is recommended to set it to a static IP address to make it easier to connect to it.
- With this setup, the robots and the end users are on the same network. This means that the users can communicate directly with the robots via UDP. This can lead to security issues or misuses.
- If we want to use this setup in a classroom, it implies that the router will be connected to the school network. This is in general not allowed.
Dual-network Game Controller
In the setup below, the Game Controller is connected to two networks: the Robot Soccer Kit network and an external network. It requires the Game Controller to have two network interfaces.
NAT bridge
Another solution is to use a NAT bridge.
The concept is simply to wire the Robot Soccer Kit router to an external network, and use the port forwarding feature
to forward TCP ports 7557
and 7558
to the Game Controller.
This way, the users will be able to communicate with the Game Controller, by using the IP address of the Robot Soccer Kit router.