FreeEMS  0.2.0-SNAPSHOT-282-g9efc524
Macros
packetTypes.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define requestInterfaceVersion   0x0000
#define requestFirmwareVersion   0x0002
#define requestMaxPacketSize   0x0004
#define requestEchoPacketReturn   0x0006
#define requestSoftSystemReset   0x0008 /* System comes up fresh, so no response */
#define requestHardSystemReset   0x000A /* System comes up fresh, so no response */
#define requestReInitOfSystem   0x000C /* EXPERIMENTAL, currently responds like normal */
#define asyncDebugInfoPacket   0x000F /* NOTE : Unrequested debug information packet */
#define asyncErrorCodePacket   0x0011 /* NOTE : Unrequested error event code packet */
#define updateBlockInRAM   0x0100
#define updateBlockInFlash   0x0102
#define retrieveBlockFromRAM   0x0104
#define retrieveBlockFromFlash   0x0106
#define burnBlockFromRamToFlash   0x0108
#define requestDatalogPacket   0x0190
#define responseBasicDatalog   0x0191 /* Defined because it can be used both synchronously and asynchronously */
#define requestByteLADatalog   0x0196
#define responseByteLADatalog   0x0197
#define retrieveArbitraryMemory   0x0258
#define requestUnitTestOverSerial   0x6666
#define startBenchTestSequence   0x8888
#define retrieveListOfLocationIDs   0xDA5E
 Retrieves a list of all LocationIDs available for interrogation.
#define retrieveLocationIDDetails   0xF8E0
 Retrieves the object containing details for a LocationID.
#define requestDecoderName   0xEEEE
 Makes interrogation unique within a single build.
#define requestFirmwareBuildDate   0xEEF0
 When and roughly where it was built.
#define requestCompilerVersion   0xEEF2
 GCC supplied compiler version used to build it.
#define requestOperatingSystem   0xEEF4
 Which OS was it built on.
#define requestBuiltByName   0xEEF6
 Name of the person who built it.
#define requestSupportEmail   0xEEF8
 Support email for this build.
#define clearCountersAndFlagsToZero   0xFFF0
 Clean slate to perform tests of any type. Clears various flags too, should not affect running.
#define adjustMainTableCell   0x012C
#define adjustMainTableRPMAxis   0x012E
#define adjustMainTableLoadAxis   0x0130
#define adjust2dTableAxis   0x0132
#define adjust2dTableCell   0x0134
#define setAsyncDatalogType   0x0194

Detailed Description

Definition in file packetTypes.h.

Macro Definition Documentation

#define requestInterfaceVersion   0x0000

Definition at line 51 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define requestFirmwareVersion   0x0002

Definition at line 52 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define requestMaxPacketSize   0x0004

Definition at line 53 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define requestEchoPacketReturn   0x0006

Definition at line 54 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define requestSoftSystemReset   0x0008 /* System comes up fresh, so no response */

Definition at line 55 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define requestHardSystemReset   0x000A /* System comes up fresh, so no response */

Definition at line 57 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define requestReInitOfSystem   0x000C /* EXPERIMENTAL, currently responds like normal */

Definition at line 59 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define asyncDebugInfoPacket   0x000F /* NOTE : Unrequested debug information packet */

Definition at line 64 of file packetTypes.h.

#define asyncErrorCodePacket   0x0011 /* NOTE : Unrequested error event code packet */

Definition at line 66 of file packetTypes.h.

#define updateBlockInRAM   0x0100

Definition at line 72 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define updateBlockInFlash   0x0102

Definition at line 73 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define retrieveBlockFromRAM   0x0104

Definition at line 74 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define retrieveBlockFromFlash   0x0106

Definition at line 75 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define burnBlockFromRamToFlash   0x0108

Definition at line 76 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define requestDatalogPacket   0x0190

Definition at line 79 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define responseBasicDatalog   0x0191 /* Defined because it can be used both synchronously and asynchronously */

Definition at line 80 of file packetTypes.h.

Referenced by main().

#define requestByteLADatalog   0x0196

Definition at line 81 of file packetTypes.h.

#define responseByteLADatalog   0x0197

Definition at line 82 of file packetTypes.h.

Referenced by main().

#define retrieveArbitraryMemory   0x0258

Definition at line 85 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define requestUnitTestOverSerial   0x6666

Definition at line 88 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define startBenchTestSequence   0x8888

Definition at line 91 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define retrieveListOfLocationIDs   0xDA5E

Retrieves a list of all LocationIDs available for interrogation.

Definition at line 94 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define retrieveLocationIDDetails   0xF8E0

Retrieves the object containing details for a LocationID.

Definition at line 95 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define requestDecoderName   0xEEEE

Makes interrogation unique within a single build.

See Also
decoderName

Definition at line 96 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define requestFirmwareBuildDate   0xEEF0

When and roughly where it was built.

Definition at line 97 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define requestCompilerVersion   0xEEF2

GCC supplied compiler version used to build it.

Definition at line 98 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define requestOperatingSystem   0xEEF4

Which OS was it built on.

Definition at line 99 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define requestBuiltByName   0xEEF6

Name of the person who built it.

Definition at line 100 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define requestSupportEmail   0xEEF8

Support email for this build.

Definition at line 101 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define clearCountersAndFlagsToZero   0xFFF0

Clean slate to perform tests of any type. Clears various flags too, should not affect running.

Definition at line 102 of file packetTypes.h.

Referenced by decodePacketAndRespond().

#define adjustMainTableCell   0x012C

Definition at line 105 of file packetTypes.h.

#define adjustMainTableRPMAxis   0x012E

Definition at line 106 of file packetTypes.h.

#define adjustMainTableLoadAxis   0x0130

Definition at line 107 of file packetTypes.h.

#define adjust2dTableAxis   0x0132

Definition at line 108 of file packetTypes.h.

#define adjust2dTableCell   0x0134

Definition at line 109 of file packetTypes.h.

#define setAsyncDatalogType   0x0194

Definition at line 110 of file packetTypes.h.

Referenced by decodePacketAndRespond().