bluetooth cleanup wip

This commit is contained in:
geeksville 2020-01-27 14:54:35 -08:00
parent 52440d499e
commit 6edc89e2aa
7 changed files with 339 additions and 150 deletions

View file

@ -40,7 +40,7 @@ class SoftwareUpdateService : JobIntentService(), Logging {
fun startUpdate() {
info("starting update")
val sync = SyncBluetoothDevice(this@SoftwareUpdateService, device)
val sync = SafeBluetooth(this@SoftwareUpdateService, device)
val firmwareStream = assets.open("firmware.bin")
val firmwareCrc = CRC32()