Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _parseIdentityResponse(data):
# we're going to take the packet and parse all
# the data that is in it.
resp = LGXDevice()
resp.Length = unpack_from('
PathRouteSize,
Reserved,
Backplane,
LinkAddress)
frame = self._buildCIPUnconnectedSend() + AttributePacket
eip_header = self._buildEIPSendRRDataHeader(len(frame)) + frame
pad = pack('