Get Packet String
function Packet_GetPacketString (msg, packet)
require 'HexString' require 'LOG'
if packet ~= nil then local targetMacHex = "ECF4BBF1BBDC" local destMac = GetPacketString(packet, 6, 11) local srcMac = GetPacketString(packet, 0, 5) local destMacHex = StringToHex(destMac) local srcMacHex = StringToHex(srcMac) if destMacHex == targetMacHex then EZINFO('Target Mac Address Found: ', GetUuid(msg), ", ", srcMacHex, ", ", destMacHex) end end end |