MID: PAYLOADS DESCRIPTORS

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

MID: PAYLOADS DESCRIPTORS

NEAL SINGH
Administrator

This is a sample of comms to the MID as a Mechanical Pump.

02 this value says its internal to the MID (applies to Tagging and Mechanical Pumps)

05this values says it is directed at a Mech Pump

2020/01/13|00:44:09:734|COMM : COM5 -> (W) [14]  09 00 02 25 96 54 32 02 02 00 01 05 00 33

2020/01/13|00:44:09:750|COMM : COM5 -> (R) [8]  32 02 01 00 04 00 33 E1

 

 

/************************ PAYLOADS DESCRIPTORS **************************/

#define PAYLOAD_NACK                  0x01

#define PAYLOAD_TAG                   0x02

#define PAYLOAD_DIGITAL_PUMP          0x03

#define PAYLOAD_MECH_PUMP             0x04

#define PAYLOAD_KEYPAD_TYPE_1         0x05

#define PAYLOAD_KEYPAD_TYPE_2         0x06

#define PAYLOAD_MENU_PROMPTED         0x07