Combined flash + key exchange flow with version check and USB permission persistence
- Firmware: add VERSION? command returning BUILD_NR for version check - Android: flash button checks firmware version first, skips flash if current - After flash: auto key exchange via reboot detection (expectingReboot flag) - device_filter.xml + intent-filter: USB permission 'always allow' checkbox - singleTop + onNewIntent prevents unwanted SettingsActivity launch on USB connect - platformio.ini: upload_port updated to /dev/ttyACM1
This commit is contained in:
parent
96162a16be
commit
d6d6f6674a
7 changed files with 87 additions and 14 deletions
|
|
@ -13,5 +13,5 @@ build_flags =
|
|||
-DCONFIG_BT_NIMBLE_ENABLED
|
||||
lib_deps =
|
||||
h2zero/NimBLE-Arduino@^2
|
||||
upload_port = /dev/ttyACM0
|
||||
upload_port = /dev/ttyACM1
|
||||
upload_speed = 115200
|
||||
Loading…
Reference in a new issue