Minor fixes
This commit is contained in:
parent
4a466b25bd
commit
3dace8136c
|
@ -201,7 +201,7 @@ import no.nordicsemi.android.dfu.internal.scanner.BootloaderScannerFactory;
|
|||
}
|
||||
return new String(out);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
/* package */ BaseDfuImpl(final Intent intent, final DfuBaseService service) {
|
||||
mService = service;
|
||||
|
|
|
@ -22,9 +22,6 @@
|
|||
|
||||
package no.nordicsemi.android.dfu;
|
||||
|
||||
import android.bluetooth.BluetoothAdapter;
|
||||
import android.bluetooth.BluetoothDevice;
|
||||
import android.bluetooth.BluetoothManager;
|
||||
import android.content.BroadcastReceiver;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
|
|
|
@ -37,7 +37,7 @@ public interface BootloaderScanner {
|
|||
/**
|
||||
* After the buttonless jump from the application mode to the bootloader mode the service will wait this long for the advertising bootloader (in milliseconds).
|
||||
*/
|
||||
long TIMEOUT = 5000l; // ms
|
||||
long TIMEOUT = 5000L; // ms
|
||||
/** The bootloader may advertise with the same address or one with the last byte incremented by this value. F.e. 00:11:22:33:44:55 -> 00:11:22:33:44:56. FF changes to 00. */
|
||||
int ADDRESS_DIFF = 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue