gclib  2.0.8
Communications API for Galil controllers and PLCs

◆ GIpRequests()

def GIpRequests (   self)
Provides a dictionary of all Galil controllers requesting IP addresses via BOOT-P or DHCP.

Returns a dictionary mapping 'model-serial' --> 'mac address'
e.g. {'DMC4000-783': '00:50:4c:20:03:0f', 'DMC4103-9998': '00:50:4c:38:27:0e'}

Linux/OS X users must be root to use GIpRequests() and have UDP access to bind and listen on port 67.

Definition at line 238 of file gclib.py.

References gclib.py._buf.