Bluetooth Gamepad/Controller
How to Connect and use a Bluetooth Gamepad/Controller with AXIBO.
Pairing through the AXIBO Python API
Create a new python file
In the python file import the AXIBO library -->
from axibo import Axibo
Initialize the AXIBO object to a variable of your choice -->
pair = Axibo("AXIBO IP")
Use
system.configure_bluetooth(OPTION, "MAC")
and the MAC address of your wireless gamepad/controller to pair the deviceValid
OPTION
entries:1: Scan for Bluetooth Device
2: Delete Bluetooth Device
3: Connect to Bluetooth Device
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
Run the python script and wait until the "INDICATOR LED" goes solid
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