Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Netio Discover Class

Automatically detect all interfaces and sends UDP discover to search new NETIO devices on connected interfaces.

Requirements

  • Linux
  • pypi netifaces
  • Python 2.7

tested for IPv4 and Ubuntu 18.04

Usage:

  • NetioDiscover.py - the main class with discover
  • discover.py - example script

run sudo python discover.py

Interfaces can be specified in list of interface names in object constructor. discovery = NetioDiscover(["enp0s25", "wlp2s0"])

By default it scans all found interfaces. discovery = NetioDiscover()

NetioDiscover.getDevicesLinux() returns list of found devices

has to be run with sudo privileges due to work with broadcast on network interfaces

About

Automatically detect all interfaces and search new NETIO devices on connected interfaces.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages