Conversation
|
Looking good, do you have an example of using these? Like a demo app or something? |
|
Not yet. it's pretty hard to convert all of these from Bluez docs. I used simple-endpoint example from docs (python). But i'm stuck on implementation of Endpoint. Basically, you need to get Bluez to work, and register the endpoint to the adapter with a new path like Also i have no idea how to get connection to work. In this case, the App needs to wait for a Device to connect (no idea what i need of Bluez for that to work) EDIT: |
|
Cool. If possible I'd like to have a working example before merging the PR. I should have time to play with it some next week if you don't beat me to it. |
|
EDIT:
I implemented everything needed like explained in above linked text. Added test to console, not yet tried it. |
enum -> static class with
Added Bluezutils -> converted from Python example Fixes
Delete A2Dp.cs from Mono.DBus (duplicate)
Added testproject (not yet tested) Added AudioSink & AudioSource interfaces Fixes
So i added a test project a while ago, but never was able to test it really. Now it got my RPi3 and i will rewrite it to check for connection to the adapter and endpoints... |

Added MediaEndpoint1
Added MediaTransport1
Added most A2Dp constants & properties