Skip to content

Commit 56b6107

Browse files
Added bootloader abort events
1 parent f8d238a commit 56b6107

19 files changed

Lines changed: 145 additions & 28 deletions

class1.measurement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ This is a measurement of a speed.
454454
```
455455
VSCP_TYPE_MEASUREMENT_ACCELERATION
456456
```
457-
**Default unit:** Metre per second squared (m/s2).
457+
**Default unit:** Metre per second squared (m/).
458458

459459
This is a measurement of acceleration.
460460

class1.measurement32.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ This is a measurement of a speed.
567567
```
568568
VSCP_TYPE_MEASUREMENT_ACCELERATION
569569
```
570-
**Default unit:** Metre per second squared (m/s2).
570+
**Default unit:** Metre per second squared (m/).
571571

572572
This is a measurement of acceleration.
573573

class1.measurement64.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ This is a measurement of a speed.
569569
```
570570
VSCP_TYPE_MEASUREMENT_ACCELERATION
571571
```
572-
**Default unit:** Metre per second squared (m/s2).
572+
**Default unit:** Metre per second squared (m/).
573573

574574
This is a measurement of acceleration.
575575

class1.measurezone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ This is a measurement of a speed.
561561
```
562562
VSCP_TYPE_MEASUREMENT_ACCELERATION
563563
```
564-
**Default unit:** Metre per second squared (m/s2).
564+
**Default unit:** Metre per second squared (m/).
565565

566566
This is a measurement of acceleration.
567567

class1.protocol.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,6 +1226,57 @@ Part of the VSCP boot-loader functionality. This event is a way to check if a de
12261226
**This event was added in version 1.15.0 so we aware that older devices may not support this event.**
12271227

12281228

1229+
----
1230+
1231+
## Type=55 (0x37) - Bootloader abort :id=type55
1232+
```
1233+
VSCP_TYPE_PROTOCOL_BOOT_LOADER_ABORT
1234+
```
1235+
**Not mandatory** Only needed if a VSCP boot loader algorithm is used.
1236+
1237+
Part of the VSCP boot-loader functionality. This event provide a way to leave the bootloader in a secure fashion if there is problems loading firmware to a device. It is only available if the device has a bootloader that supports this functionality. Typically this is a device that has several firmware slots and can switch between them, and by that switch back to the last known working firmware.
1238+
1239+
The event can be sent in all states of the bootloading procedure.
1240+
1241+
[CLASS1.PROTOCOL, Type=56 (Bootloader abort ACK)](./class1.protocol.md#type56) should be sent as a positive response to a bootloader exit or rollback
1242+
1243+
[CLASS1.PROTOCOL, Type=57 (Bootloader abort NACK)](./class1.protocol.md#type57) should be sent as a negative response to a bootloader exit or rollback
1244+
1245+
1246+
**This event was added in version 1.15.10 so we aware that older devices may not support this event.**
1247+
1248+
1249+
----
1250+
1251+
## Type=56 (0x38) - Bootloader abort ACK :id=type56
1252+
```
1253+
VSCP_TYPE_PROTOCOL_BOOT_LOADER_ABORT_ACK
1254+
```
1255+
**Not mandatory** Only needed if a VSCP boot loader algorithm is used.
1256+
1257+
Part of the VSCP boot-loader functionality. This event is a positive response to a bootloader abort or rollback [CLASS1.PROTOCOL, Type=55 (Bootloader abort)](./class1.protocol.md#type55).
1258+
1259+
Event is sent before execution of the new firmware starts. It is used to tell the controlling device that the device is ready to leave the bootloader mode and start the new firmware.
1260+
1261+
**This event was added in version 1.15.10 so we aware that older devices may not support this event.**
1262+
1263+
1264+
----
1265+
1266+
## Type=57 (0x39) - Bootloader abort NACK :id=type57
1267+
```
1268+
VSCP_TYPE_PROTOCOL_BOOT_LOADER_ABORT_NACK
1269+
```
1270+
**Not mandatory** Only needed if a VSCP boot loader algorithm is used.
1271+
1272+
Part of the VSCP boot-loader functionality. This event is a negative response to a bootloader abort or rollback [CLASS1.PROTOCOL, Type=55 (Bootloader abort)](./class1.protocol.md#type55).
1273+
1274+
Om a single slot firmware device where a firmware update has failed and there is no working firmware to switch back to this event should be sent to tell the controlling device that we can't leave the bootloader mode until a new full firmware has been loaded.
1275+
1276+
**This event was added in version 1.15.10 so we aware that older devices may not support this event.**
1277+
1278+
1279+
12291280
----
12301281

12311282
[filename](./bottom_copyright.md ':include')

class1.setvaluezone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ This is a measurement of a speed.
564564
```
565565
VSCP_TYPE_MEASUREMENT_ACCELERATION
566566
```
567-
**Default unit:** Metre per second squared (m/s2).
567+
**Default unit:** Metre per second squared (m/).
568568

569569
This is a measurement of acceleration.
570570

class2.level1.measurement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ This is a measurement of a speed.
552552
```
553553
VSCP_TYPE_MEASUREMENT_ACCELERATION
554554
```
555-
**Default unit:** Metre per second squared (m/s2).
555+
**Default unit:** Metre per second squared (m/).
556556

557557
This is a measurement of acceleration.
558558

class2.level1.measurement32.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ This is a measurement of a speed.
553553
```
554554
VSCP_TYPE_MEASUREMENT_ACCELERATION
555555
```
556-
**Default unit:** Metre per second squared (m/s2).
556+
**Default unit:** Metre per second squared (m/).
557557

558558
This is a measurement of acceleration.
559559

class2.level1.measurement64.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ This is a measurement of a speed.
553553
```
554554
VSCP_TYPE_MEASUREMENT_ACCELERATION
555555
```
556-
**Default unit:** Metre per second squared (m/s2).
556+
**Default unit:** Metre per second squared (m/).
557557

558558
This is a measurement of acceleration.
559559

class2.level1.measurezone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ This is a measurement of a speed.
553553
```
554554
VSCP_TYPE_MEASUREMENT_ACCELERATION
555555
```
556-
**Default unit:** Metre per second squared (m/s2).
556+
**Default unit:** Metre per second squared (m/).
557557

558558
This is a measurement of acceleration.
559559

0 commit comments

Comments
 (0)