@benedictdied Hello, thanks for your help so far I greatly appreciate it. I am trying to connect a ps4 controller to my wemos d1 r32 board. From what I understand, the only thing I need to do is retrieve the mac address of the controller and input it into my PinConfig as such:
const char *PSX_MAC = "a8:47:4a:7b:xx:xx"; (rest is filled in correctly)
int8_t PSX_CONTROLLER_TYPE = 2;
boolean enableBlueTooth = true;
int8_t JOYSTICK_SPEED_MULTIPLIER = 5;
int8_t JOYSTICK_SPEED_MULTIPLIER_Z = 3;
And then upload the firmware from visual studio code/ platform.io.
I did these steps and tried to connect to the board through the webserialtest but I got this information back:
{“task”:“/bt_scan”}
[ 16183][I][SerialProcess.cpp:31] loop(): String s:{“task”:“/bt_scan”} , char:{“task”:“/bt_scan”}
[ 16183][I][BtController.cpp:375] scanForDevices(): scanForDevices - this does not work on all ESP32 even if same fabricate and same version
e[0;32mI (16892) HIDGamePad: SCAN…e[0m
e[0;31mE (16896) ESP_HID_GAP: esp_ble_gap_set_scan_params failed: 259e[0m
e[0;32mI (16903) HIDGamePad: SCAN: 0 resultse[0m
e[0;32mI (16907) HIDGamePad: vtaskdelete hid_demo_taske[0m
Does this mean this board is really not compatible with this controller? Is there other libraries or dependencies I need to include besides what I provided here?