Commit 6bfa5b5
authored
refactor(ble): Centralize BLE logic into a core module (#4550)
Signed-off-by: James Rich <[email protected]>1 parent 7a68802 commit 6bfa5b5
File tree
214 files changed
+3473
-2407
lines changed- app
- src
- main
- java/com/geeksville/mesh
- android
- model
- repository
- bluetooth
- network
- radio
- usb
- service
- ui
- connections
- components
- contact
- util
- res
- drawable-anydpi
- values
- test/java/com/geeksville/mesh
- repository/radio
- service
- ui
- build-logic/convention/src/main/kotlin/org/meshtastic/buildlogic
- core
- analytics
- api
- barcode
- ble
- src
- main/kotlin/org/meshtastic/core/ble
- test/kotlin/org/meshtastic/core/ble
- common
- src
- androidMain/kotlin/org/meshtastic/core/common
- util
- commonMain/kotlin/org/meshtastic/core/common/util
- commonTest/kotlin/org/meshtastic/core/common/util
- database
- src
- androidTest/kotlin/org/meshtastic/core/database/dao
- main/kotlin/org/meshtastic/core/database
- dao
- entity
- test/kotlin/org/meshtastic/core/database/dao
- datastore
- data
- src
- google/kotlin/org/meshtastic/core/data/model
- main/kotlin/org/meshtastic/core/data/repository
- test/kotlin/org/meshtastic/core/data/repository
- di
- model
- src
- main/kotlin/org/meshtastic/core/model
- util
- test/kotlin/org/meshtastic/core/model/util
- network
- nfc
- prefs
- src/main/kotlin/org/meshtastic/core/prefs/analytics
- proto
- service
- src
- main/kotlin/org/meshtastic/core/service
- test/kotlin/org/meshtastic/core/service
- strings
- src
- androidMain/kotlin/org/meshtastic/core/strings
- commonMain/composeResources/values
- ui
- src/main/kotlin/org/meshtastic/core/ui
- component
- util
- feature
- firmware
- src
- main/kotlin/org/meshtastic/feature/firmware/ota
- test/kotlin/org/meshtastic/feature/firmware/ota
- intro
- src
- google/kotlin/org/meshtastic/feature/intro
- main/kotlin/org/meshtastic/feature/intro
- map
- src
- fdroid/kotlin/org/meshtastic/feature/map
- component
- google/kotlin/org/meshtastic/feature/map
- component
- main/kotlin/org/meshtastic/feature/map
- messaging
- src
- androidTest/kotlin/org/meshtastic/feature/messaging/component
- main/kotlin/org/meshtastic/feature/messaging/component
- node
- src
- main/kotlin/org/meshtastic/feature/node
- compass
- component
- detail
- metrics
- model
- test/kotlin/org/meshtastic/feature/node/metrics
- settings
- src
- androidTest/kotlin/org/meshtastic/feature/settings
- debugging
- radio/component
- main/kotlin/org/meshtastic/feature/settings
- debugging
- radio
- component
- util
- test/kotlin/org/meshtastic/feature/settings
- gradle
- mesh_service_example/src/main/kotlin/com/meshtastic/android/meshserviceexample
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
214 files changed
+3473
-2407
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
61 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
62 | 70 | | |
63 | 71 | | |
64 | 72 | | |
65 | 73 | | |
66 | 74 | | |
67 | | - | |
| 75 | + | |
68 | 76 | | |
69 | 77 | | |
70 | 78 | | |
| |||
83 | 91 | | |
84 | 92 | | |
85 | 93 | | |
86 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
87 | 98 | | |
88 | 99 | | |
89 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | | - | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | | - | |
30 | | - | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | | - | |
| 47 | + | |
47 | 48 | | |
48 | | - | |
49 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
55 | | - | |
| 58 | + | |
56 | 59 | | |
57 | | - | |
| 60 | + | |
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
| |||
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
73 | | - | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
59 | 72 | | |
60 | 73 | | |
61 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
3 | 22 | | |
4 | 23 | | |
5 | 24 | | |
6 | 25 | | |
7 | 26 | | |
8 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
9 | 51 | | |
10 | 52 | | |
11 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
145 | 148 | | |
146 | 149 | | |
147 | 150 | | |
| |||
158 | 161 | | |
159 | 162 | | |
160 | 163 | | |
| 164 | + | |
| 165 | + | |
161 | 166 | | |
162 | 167 | | |
163 | 168 | | |
| |||
195 | 200 | | |
196 | 201 | | |
197 | 202 | | |
| 203 | + | |
198 | 204 | | |
199 | 205 | | |
200 | 206 | | |
| |||
225 | 231 | | |
226 | 232 | | |
227 | 233 | | |
228 | | - | |
229 | 234 | | |
230 | | - | |
231 | 235 | | |
232 | 236 | | |
233 | 237 | | |
| |||
246 | 250 | | |
247 | 251 | | |
248 | 252 | | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
249 | 258 | | |
250 | 259 | | |
251 | 260 | | |
| |||
259 | 268 | | |
260 | 269 | | |
261 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
262 | 274 | | |
263 | 275 | | |
264 | 276 | | |
265 | 277 | | |
266 | 278 | | |
267 | | - | |
| 279 | + | |
268 | 280 | | |
269 | | - | |
270 | 281 | | |
271 | 282 | | |
| 283 | + | |
| 284 | + | |
272 | 285 | | |
273 | 286 | | |
274 | 287 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| |||
0 commit comments