:tocdepth: 3

base/protocols/dnp3/consts.bro
==============================
.. bro:namespace:: DNP3


:Namespace: DNP3
:Source File: :download:`/scripts/base/protocols/dnp3/consts.bro`

Summary
~~~~~~~
Options
#######
====================================================================================================================================== =======================================
:bro:id:`DNP3::function_codes`: :bro:type:`table` :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional` :bro:attr:`&redef` Standard defined Modbus function codes.
====================================================================================================================================== =======================================


Detailed Interface
~~~~~~~~~~~~~~~~~~
Options
#######
.. bro:id:: DNP3::function_codes

   :Type: :bro:type:`table` [:bro:type:`count`] of :bro:type:`string`
   :Attributes: :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional` :bro:attr:`&redef`
   :Default:

   ::

      {
         [0] = "CONFIRM",
         [9] = "FREEZE_CLEAR",
         [14] = "WARM_RESTART",
         [30] = "ABORT_FILE",
         [5] = "DIRECT_OPERATE",
         [20] = "ENABLE_UNSOLICITED",
         [12] = "FREEZE_AT_TIME_NR",
         [15] = "INITIALIZE_DATA",
         [129] = "RESPONSE",
         [4] = "OPERATE",
         [29] = "AUTHENTICATE_FILE",
         [2] = "WRITE",
         [7] = "IMMED_FREEZE",
         [19] = "SAVE_CONFIG",
         [17] = "START_APPL",
         [3] = "SELECT",
         [13] = "COLD_RESTART",
         [27] = "DELETE_FILE",
         [6] = "DIRECT_OPERATE_NR",
         [31] = "ACTIVATE_CONFIG",
         [131] = "AUTHENTICATE_RESP",
         [1] = "READ",
         [16] = "INITIALIZE_APPL",
         [23] = "DELAY_MEASURE",
         [11] = "FREEZE_AT_TIME",
         [21] = "DISABLE_UNSOLICITED",
         [24] = "RECORD_CURRENT_TIME",
         [25] = "OPEN_FILE",
         [26] = "CLOSE_FILE",
         [28] = "GET_FILE_INFO",
         [32] = "AUTHENTICATE_REQ",
         [33] = "AUTHENTICATE_ERR",
         [8] = "IMMED_FREEZE_NR",
         [18] = "STOP_APPL",
         [22] = "ASSIGN_CLASS",
         [10] = "FREEZE_CLEAR_NR",
         [130] = "UNSOLICITED_RESPONSE"
      }

   Standard defined Modbus function codes.


