Skip to content

Commit

Permalink
feat: improve BLE_NAME_PATTERN filter
Browse files Browse the repository at this point in the history
  • Loading branch information
andrekir committed Mar 22, 2023
1 parent 8e9b4cb commit 92b12ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/geeksville/mesh/model/BTScanModel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ class BTScanModel @Inject constructor(
}
}
companion object {
const val BLE_NAME_PATTERN = "^\\S+\$"
const val BLE_NAME_PATTERN = "^.*_([0-9a-fA-F]{4})$"
const val ACTION_USB_PERMISSION = "com.geeksville.mesh.USB_PERMISSION"
}
}

0 comments on commit 92b12ca

Please sign in to comment.