Comments (4)
Hi @asukiaaa! I've had to modify the CMakeList.txt for the ps3 component
There is also a fork and an open pull request for 4.0 support, you may simply use that.
I had connection trouble, so maybe it's some incompatibility thing, but I've not had any look searching / reaching out.
idf_component_register(SRCS "src/ps3.c"
"src/ps3_spp.c"
"src/ps3_parser.c"
"src/ps3_l2cap.c"
REQUIRES nvs_flash bt
PRIV_REQUIRES bt
INCLUDE_DIRS src/include
PRIV_INCLUDE_DIRS ${IDF_PATH}/components/bt/common/include/
${IDF_PATH}/components/bt/host/bluedroid/common/include/
${IDF_PATH}/components/bt/host/bluedroid/stack/include)
from esp32-ps3.
Thank you for the response.
I've had to modify the CMakeList.txt for the ps3 component
There is also a fork and an open pull request for 4.0 support, you may simply use that.
Can you show some urls for them?
from esp32-ps3.
Oh, sorry for the late response. You can go to the pull requests tab and then navigate to the fork.
Here is the direct link https://github.com/rrooding/esp32-ps3/tree/feature/esp-idf-4-support
from esp32-ps3.
It might be worth mentioning that the fork of rrooding uses a pre-release bluetooth GAP API that is not supported by 4.0 anymore.
I would recommend using this original fork and add the CMakeList.txt
as I have it above.
There is another change in rroodings fork, in the src/ps3_spp.c:150
. It appears that ESP-IDF now supports the use of ESP_SPP_SEC_AUTHORIZE
instead of ESP_SPP_SEC_NONE
but I'm not sure how important it is.
No matter what I do I can't seem to be able to get it connecting. It might be necessary to go over the project again and maybe convert it to the new official gap API if it supports the needed functionality.
from esp32-ps3.
Related Issues (20)
- using this sketch with a mx1508 motor driver board HOT 1
- Problem with New Arduino Version HOT 2
- Compilation of example fails HOT 1
- PS3 disconnect HOT 2
- Can't connect HOT 3
- Undefined reference errors on arduino IDE HOT 1
- Compiling problem
- compile error platformio latest version on lilygo t display s3 HOT 1
- Compiling issues HOT 5
- PS3 - Arduino UNO R4 HOT 1
- PS3_SPP: ps3_spp_init spp register failed: ESP_ERR_INVALID_STATE
- rubmle
- PS3.h file not found HOT 1
- Error code when trying to run the Ps3Demo example
- Accellarometer
- How to scan for nearby advertising PS3 controllers
- Ps3 get Address Compiling Error
- "ps3Init" Error: Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
- The esp32-ps3 code will not compile onto board Seeed XIAO ESP32C3 or XAIO ESP32S3
- When I use the PS3 controller to send commands to the servo through the ESP32 development board, the servo does not perform tasks. Why is this? The servo is not controlled by the handle, it can only be operated through ESP32 control. Is there any instruction within this library that conflicts with servo instructions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32-ps3.