Commit Graph

6 Commits

Author SHA1 Message Date
nestire
68e15a863c
mcu messages stage2 made more clear, add new + old IMEI shown in the end to visualy check 2024-01-30 16:23:58 +01:00
Tobias Mueller
488fdaa18f Merged shutdown of device 2023-10-18 16:01:03 +02:00
Jakob Rieck
b97c0f06eb blue-merle: Fixes shutdown 2023-10-18 15:48:11 +02:00
Tobias Mueller
c68661e1a5 switch: guard the IMEI generation with a timeout
So that we can be reasonably sure that the script terminates and the
switch works again.
2023-10-18 14:51:46 +02:00
Tobias Mueller
0b4b04c48b switch: log in stage2
So that we can notice whether our script has successfully run.
You can read the log with something like
logread -l 10000 -e blue
2023-10-17 15:16:49 +02:00
Tobias Mueller
ed6856c490 switch: split the switch action into separate stages
When toggling the switch, a lock is held for a relatively long time,
preventing another toggling of the switch to be noticed. With this
change, I hope we can first shutdown the modem, wait for a toggle, and
then continue.
We're losing the abort function but I currently don't know how we would
be able to keep that functionality given that the toggle is queued and
we don't get the notification.
2023-10-17 15:15:28 +02:00