Modbus: Add value 90 (0x5A) used by Unity (Schneider)

Change-Id: I205f77bccb8ca042da1a699d49844e305612aac2
Reviewed-on: https://code.wireshark.org/review/4307
Reviewed-by: Evan Huus <eapache@gmail.com>
This commit is contained in:
Alexis La Goutte 2014-09-26 15:05:42 +02:00 committed by Evan Huus
parent 9c8f10e727
commit 69337f1fe8
2 changed files with 2 additions and 0 deletions

View File

@ -273,6 +273,7 @@ static const value_string function_code_vals[] = {
{ READ_WRITE_REG, "Read Write Register" },
{ READ_FIFO_QUEUE, "Read FIFO Queue" },
{ ENCAP_INTERFACE_TRANSP, "Encapsulated Interface Transport" },
{ UNITY_SCHNEIDER, "Unity (Schneider)" },
{ 0, NULL }
};

View File

@ -48,6 +48,7 @@
#define READ_WRITE_REG 23
#define READ_FIFO_QUEUE 24
#define ENCAP_INTERFACE_TRANSP 43
#define UNITY_SCHNEIDER 90
/* Modbus protocol exception codes */
#define ILLEGAL_FUNCTION 0x01