Press simultaneously X and the power button on the gamepad for about 2 seconds
The LED 3 should blink, indicating that the gamepad has been set to the standard Bluetooth mode
Pairing the gamepad with the Robotont
In order to use the gamepad with the Robotont we have to first pair the gamepad with the robot. In the following, we demonstrate two methods of how to achieve that.
Option 1: Using a graphical interface
This method is convenient if you have a monitor and a mouse hooked up to the robot.
Go to: Settings -> Bluetooth
Click on the IPEGA9120
Click the "Pair" button
Option 2: Using a command line interface
Use this method if you are accessing the robot over the network.
Log in to the robotont via ssh ssh peko@robotont-1
Enter the Bluetooth interactive shell bluetoothctl
Next, we need a MAC address of our gamepad
For Robotont kits, the addresses are marked on the bottom of the gamepad.
If you don’t know the address use the scan on command and look for the newly appeared device named PG9129 once you turn the gamepad on. To turn off the scanning mode enter scan off
Trust the device (replace XX with the MAC address of your gamepad) trust XX:XX:XX:XX:XX:XX
Pair the device (replace XX with the MAC address of your gamepad): pair XX:XX:XX:XX:XX:XX Answer yes to the authorization request
Connect to the device (replace XX with the MAC address of your gamepad): connect XX:XX:XX:XX:XX:XX
Well done! You should now have the gamepad successfully paired. To exit the Bluetooth shell and ssh you can enter twice the command: exit