Bluetooth Gamepad/Controller

How to Connect and use a Bluetooth Gamepad/Controller with AXIBO.

Pairing through the AXIBO Python API

  1. Create a new python file

  2. In the python file import the AXIBO library --> from axibo import Axibo

  3. Initialize the AXIBO object to a variable of your choice --> pair = Axibo("AXIBO IP")

  4. Use system.configure_bluetooth(OPTION, "MAC") and the MAC address of your wireless gamepad/controller to pair the device

    Valid OPTION entries:

    1: Scan for Bluetooth Device

    2: Delete Bluetooth Device

    3: Connect to Bluetooth Device

  5. On the wireless gamepad/controller hold the "SHARE" and "HOME" buttons at the same time for around 5 seconds and the white "INDICATOR LED" will start blinking

  6. Run the python script and wait until the "INDICATOR LED" goes solid

  7. You are now connected

Full Connect Python Code:

from axibo import Axibo

#Change for your AXIBOs IP Address
pair = Axibo("10.0.0.176")

#Change the MAC address to the MAC address of your wireless gamepad/controller
pair.system.configure_bluetooth(3, "98:CD:E3:23:42:BD")

Full Delete Python Code:

from axibo import Axibo

#Change for your AXIBOs IP Address
pair = Axibo("10.0.0.176")

#Change the MAC address to the MAC address of your wireless gamepad/controller
pair.system.configure_bluetooth(2, "98:CD:E3:23:42:BD")

Using the Gamepad/Controller

Last updated