GithubHelp home page GithubHelp logo

Comments (4)

julian-weinert avatar julian-weinert commented on August 15, 2024

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.

asukiaaa avatar asukiaaa commented on August 15, 2024

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.

julian-weinert avatar julian-weinert commented on August 15, 2024

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.

julian-weinert avatar julian-weinert commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.