Compilar Library PS4 Controler

Guys, I'm having problems loading the Ps4 Controler library (
Search results for 'PS4' - Arduino Forum) this is the link I use.
c:\Users\automacao01\Documents\Arduino\libraries\PS4Controller\src\ps4.c: In function 'ps4Deinit':
c:\Users\automacao01\Documents\Arduino\libraries\PS4Controller\src\ps4.c:59:5: error: implicit declaration of function 'spp_deinit'; did you mean 'sppInit'? [-Wimplicit-function-declaration]
59 | spp_deinit();
| ^~~~~~~~~~
| sppInit
c:\Users\automacao01\Documents\Arduino\libraries\PS4Controller\src\ps4.c: In function 'ps4SetBluetoothMacAddress':
c:\Users\automacao01\Documents\Arduino\libraries\PS4Controller\src\ps4.c:244:3: error: implicit declaration of function 'esp_base_mac_addr_set' [-Wimplicit-function-declaration]
244 | esp_base_mac_addr_set(baseMac);
| ^~~~~~~~~~~~~~~~~~~~~
exit status 1

Compilation error: exit status 1

Not enough. First of all you should tell us what board you're using (UNO? Nano? ES8266? ESP32?...).
Second, the link you posted is just a forum search, not a library page.
Third, you should link to the libarry or specify the library version used, together with your code (enclosed inside "CODE" tags, please!).
Lastly, not only the code should be marked with "CODE" tag, but also any output.

I am having the same issue here. Using the PS4 Controller library.

Board: AI Thinker ESP32-CAM

Yesterday it compiled just fine. In the meantime I clicked on update board libraries popup in the Arduino IDE. Since the PS4 library has not changed in 2 years, the issue must be with the updated board libraries.

I reinstalled the Arduino IDE from the website and downgraded the esp32 library to version 3.1.3 (instead of 3.2.0). Now it compiles without error again.

1 Like

Thanks a Lot