Add explanation for static init file in doxy comment.
[freeems-vanilla.git] / interface / CustomPackets.js
blob8292fcb007bb911b919d74262b3721c95916bb99
2 /* For optional stuff, if flags say yes and not there, exception, if flags say no and is there, ignore */
3 /* If length requested, generate it, it will not be provided */
4 "FreeEMSCustomPackets": {
5 { /* EXAMPLE PACKET ONLY */
6 /* compulsory */
7 "MenuName": "ExamplePacketDoesNothing", /* display as is */
8 "Flags": "0xAB", /* hex */
9 "PayloadID": 65534, /* dec */
10 "Payload": [0, "0xaa", 85, 23, 0, "0xFF", 255], /* mixed */
12 /* optional, both are always decimal */
13 "Ack": 255,
14 "Addresses": {"Source": 236, "Destination": 183}
17 "MenuName": "EraseAllSectorsInLoop",
18 "Flags": "0x00",
19 "PayloadID": 10,
20 "Payload": []
23 "MenuName": "WriteAllSectorsInLoop",
24 "Flags": "0x00",
25 "PayloadID": 12,
26 "Payload": []