MAC get information of
Tato sekce je dostupná pouze v angličtině.This block is used to obtain the manufacturer name from meta information of a MAC address. A block containing data type MAC address is connected to the input and is required. Can be either a variable or a MAC typed value. In case the input block has been of correct data type, it returns a text string containing information about the manufacturer. Otherwise it returns None.
XML representation of the 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>

Block “MAC subscript”

Example of “MAC subscript” block
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.
{
"user": "administrator",
"mac": "00:00:00:00:00:11"
}

Results of “MAC subscript” block