Logmanager documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

MAC get information of

Block is used to obtain manufacturer name from meta information of MAC address. Block containing data type MAC address is connected to the input and is required. Can be either variable or MAC typed value. In case input block has been of correct data type returns text string, containing information about the manufacturer. Otherwise returns None.

Block XML representation

XML representation of mac_subscript block:

<xml xmlns="http://www.w3.org/1999/xhtml">
  <block type="mac_subscript">
    <field name="INFO">VENDOR</field>
    <value name="MAC">
      <block type="mac">
        <field name="MAC">00:00:00:00:00:00</field>
      </block>
    </value>
  </block>
</xml>

Example of visual representation

Block "MAC subscript"

Block “MAC subscript”

Example of "MAC subscript" block

Example of “MAC subscript” block

Example of block usage

Block is used on the “set mac_vendor to” row in the example:

  • Value of the “mac” key is obtained from the “item” dictionary.
  • Value is converted to the MAC address data type and transmits to the “get information of” block.
  • String “Xerox Corp.” is the result.

Input data

{
  "user": "administrator",
  "mac": "00:00:00:00:00:11"
}

Processing result

Results of "MAC subscript" block

Results of “MAC subscript” block