mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
print scan errors to log
This commit is contained in:
parent
68cc494021
commit
773e81d25f
1 changed files with 1 additions and 0 deletions
|
|
@ -174,6 +174,7 @@ class BTScanModel(app: Application) : AndroidViewModel(app), Logging {
|
|||
private val scanCallback = object : ScanCallback() {
|
||||
override fun onScanFailed(errorCode: Int) {
|
||||
val msg = "Unexpected bluetooth scan failure: $errorCode"
|
||||
errormsg(msg)
|
||||
// error code2 seeems to be indicate hung bluetooth stack
|
||||
errorText.value = msg
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue