esp32-ps3 icon indicating copy to clipboard operation
esp32-ps3 copied to clipboard

Error while trying to connect

Open tenitz opened this issue 3 years ago • 1 comments

Hello!

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

tenitz avatar Jan 05 '22 01:01 tenitz

Hey @tenitz, did you ever solve this issue? I just realised I overlooked this one and posted a new one

julian-weinert avatar May 06 '22 22:05 julian-weinert