-
Notifications
You must be signed in to change notification settings - Fork 39
WIP: Use "D-Bus over TCP/IP over Ethernet over BLE" for communicating with the watch #216
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
Draft
I-asked
wants to merge
10
commits into
AsteroidOS:master
Choose a base branch
from
I-asked:libslirp
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 1 commit
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
f2ebab8
Add SlirpService for Ethernet over BLE
I-asked 97694fe
Use D-Bus over TCP for bi-directional notification handling
I-asked 07ced7b
Use modern dbus-java fork, add experimental D-Bus MediaService
I-asked b779742
Fix some dbus-java-related issues
I-asked b92560c
Replace bound properties with manual property handling
I-asked e2983d7
Simplify MPRIS property access
I-asked 96afc2f
Make synchronization more efficient
I-asked 9a74b3f
Use device volume instead of content volume in MediaService
I-asked dbe7b93
Reconnect D-Bus upon connection loss
I-asked 92f7812
Separate the D-Bus infrastructure from SlirpService
I-asked File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
plugins { | ||
id("com.android.application") | ||
kotlin("android") | ||
} | ||
|
||
android { | ||
compileSdk = 33 | ||
buildToolsVersion = "30.0.3" | ||
compileSdk = 34 | ||
|
||
defaultConfig { | ||
applicationId = "org.asteroidos.sync" | ||
minSdk = 24 | ||
targetSdk = 33 | ||
targetSdk = 34 | ||
versionCode = 29 | ||
versionName = "0.29" | ||
ndk.abiFilters.clear() | ||
ndk.abiFilters.add("arm64-v8a") | ||
ndk.abiFilters.add("armeabi-v7a") | ||
ndk.abiFilters.add("x86") | ||
ndk.abiFilters.add("x86_64") | ||
externalNativeBuild { | ||
cmake { | ||
cppFlags += "" | ||
|
@@ -39,7 +42,7 @@ android { | |
srcDir("src/main/lib/powerampapi/poweramp_api_lib/res/") | ||
} | ||
jniLibs { | ||
srcDir("/work/android-root/lib") | ||
srcDir("/tmp/android-root/lib") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see, this is supposed to be the outcome of the bash script now. Maybe it doesn't hurt to add a comment above to describe where this is coming from |
||
} | ||
} | ||
} | ||
|
@@ -48,6 +51,10 @@ android { | |
sourceCompatibility = JavaVersion.VERSION_17 | ||
targetCompatibility = JavaVersion.VERSION_17 | ||
} | ||
kotlinOptions { | ||
jvmTarget = "17" | ||
} | ||
|
||
lint { | ||
checkReleaseBuilds = true | ||
disable += "MissingTranslation" | ||
|
@@ -80,4 +87,11 @@ dependencies { | |
implementation("no.nordicsemi.android.support.v18:scanner:1.6.0") | ||
implementation("no.nordicsemi.android:ble:2.7.2") | ||
implementation("com.google.guava:guava:33.1.0-android") | ||
implementation("com.github.hypfvieh:dbus-java-core:5.0.0") | ||
implementation("com.github.hypfvieh:dbus-java-transport-tcp:5.0.0") | ||
implementation("androidx.media3:media3-session:1.3.1") | ||
implementation("androidx.media3:media3-common:1.3.1") | ||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1-Beta") | ||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-guava:1.8.1-Beta") | ||
|
||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uh, now these are re-added and cgi is deleted. That's a lot of back and forths to review. I realize the PR is marked as draft, it would be nice to clean up this backlog. I'll stop reviewing here until then ;)