Giter Site home page Giter Site logo

addp's Introduction

Python ADDP library and utilities

About

The Advanced Device Discovery Protocol (ADDP) is used to discover ADDP aware devices on the local network.

This module provides both a library for using ADDP in your own applications, as well as two test utilities -- one to discover ADDP devices and one to respond to ADDP discovery requests.

Example

Running python discover.py on a network with the device.py script and a Digi ConnectPort X4:

> python discover.py
Sending discover message...
[{'addp_ip': '192.168.1.102',
 'code': 1,
 'mac': (255, 255, 255, 255, 255, 255),
 'message': 'Discovery Request',
 'msg_len': 6,
 'msg_type': 'request'},
{'Encrypted Real Port number': 1027,
 'Firmware': 'V.1 04-25-2013',
 'HW Revision': 0,
 'IP Gateway': (1, 1, 1, 1),
 'IP address': (1, 1, 1, 1),
 'MAC address': (0, 0, 0, 0, 0, 0),
 'Netmask': (255, 255, 255, 0),
 'Network Name': 'test',
 'Real Port number': 771,
 'Serial Port Count': 1,
 'addp_ip': '192.168.1.102',
 'code': 2,
 'device name': 'ADDP Emulator',
 'message': 'Discovery Response',
 'msg_len': 81,
 'msg_type': 'response'},
{'DNS IP address': (0, 0, 0, 0),
 'Device-ID': '00000000-00000000-00409DFF-FF300000',
 'Encrypted Real Port number': 1027,
 'Firmware': 'Version 82001536_K 10/18/2011',
 'HW Revision': 0,
 'IP Gateway': (192, 168, 1, 3),
 'IP address': (192, 168, 1, 7),
 'MAC address': (0, 64, 157, 00, 000, 000),
 'Netmask': (255, 255, 255, 0),
 'Real Port number': 771,
 'Serial Port Count': 1,
 'UNKNOWN16': 1,
 'UNKNOWN19': 1,
 'addp_ip': '192.168.100.7',
 'code': 2,
 'device name': 'ConnectPort X4',
 'message': 'Discovery Response',
 'msg_len': 139,
 'msg_type': 'response'}]

addp's People

Contributors

zdavkeos avatar ivopetiz avatar

Stargazers

 avatar James Dickenson avatar Marcus Haebler avatar Tom Collins avatar scarleast avatar John Manos avatar Thomas Chandler avatar Petri Savolainen avatar

Watchers

 avatar  avatar

addp's Issues

license?

What is the license for these python modules?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.