I am running this component on ESP-IDF v4.2 with following code:
void app_main(void)
{
uint8_t new_mac[8] = {0x30,0xae,0xa4,0xbf,0x5b,0x7e};
esp_base_mac_addr_set(new_mac);
nvs_flash_init();
ps3SetEventCallback(controller_event_cb);
ps3SetBluetoothMacAddress(new_mac);
ps3Init();
while (!ps3IsConnected()) {
// Prevent the Task Watchdog from triggering
vTaskDelay(10 / portTICK_PERIOD_MS);
}
}
I set the custom MAC-address on two original PS3 controllers with the SixaxisPairerTool. While trying to connect to the ESP with either controller, the following error appears in the logs everytime the PS-button is pressed:
I (1178) PS3_SPP: ESP_SPP_INIT_EVT
I (1198) PS3_L2CAP: [ps3_l2cap_init_service] Service PS3-HIDC Initialized
I (1198) PS3_L2CAP: [ps3_l2cap_init_service] Service PS3-HIDI Initialized
E (4538) BT_BTM: btm_sec_l2cap_access_req: (acceptor) remote features unknown!!sec_flags:0x80
Hello!
I am running this component on ESP-IDF v4.2 with following code:
I set the custom MAC-address on two original PS3 controllers with the SixaxisPairerTool. While trying to connect to the ESP with either controller, the following error appears in the logs everytime the PS-button is pressed: