-
Notifications
You must be signed in to change notification settings - Fork 622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simpler standalone BT example code for the Raspberry Pico #474
Comments
There are a couple of standalone examples (simple gatt stuff) in here https://github.com/raspberrypi/pico-examples/tree/master/pico_w/bt/standalone |
Sorry Peter but your link describe only the problem because an example like the spp_counter will be compiled on top of the standalone code. The standalone directory addressed all possibilities for added examples. But we should not have to code within the sdk library. We need a simple example so we don't have to decode all the CmakeLists.txt files in the solution path to build a headache-free solution. Gregor |
Hi Gregor. I've played with the a2dp + cosmic unicorn demo https://github.com/Gadgetoid/galactic-bluetooth-audio The BTstack examples in the example/ folder are supposed to be called via btstack_main (and are fully portable) after a port-specific setup (e.g. for the Pico W). |
Hi Gregor,
|
Hi
I was able to compile separately “spp_counter.c” as BT classic in conjunction with the “standalone” directory under Windows.
In my eyes, whoever wrote the BT example code for the Raspberry Pico is a true artist of CmakeLists.txt files. Respect!
I think I am not the only one who need a simpler and shorter example to figure out what is going on.
It should be a standalone outside the lib examples one but not so complex like the one within the standalone folder.
A BT classic SPP example does the trick.
An enhanced blink.c which sends an on/off message to the asynchronous BT task in the second c file and get a message from the asynchronous BT task to switch on/off an another LED.
Some code comments about the message the transfer between the two parts also within CmakeLists.txt are welcome.
Who can help?
Matthias you?
Bests
Gregor
The text was updated successfully, but these errors were encountered: