mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
work with real hardware
This commit is contained in:
parent
d57a86abcd
commit
f08e210e8d
2 changed files with 7 additions and 5 deletions
|
|
@ -177,7 +177,9 @@ class RadioInterfaceService : Service(), Logging {
|
|||
|
||||
// Note: this call does no comms, it just creates the device object (even if the
|
||||
// device is off/not connected)
|
||||
device = bluetoothAdapter.getRemoteDevice("B4:E6:2D:EA:32:B7")
|
||||
val usetbeam = false
|
||||
val address = if (usetbeam) "B4:E6:2D:EA:32:B7" else "24:6F:28:96:C9:2A"
|
||||
device = bluetoothAdapter.getRemoteDevice(address)
|
||||
// Note this constructor also does no comm
|
||||
safe = SafeBluetooth(this, device)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue