Ciholas Data Protocol


Keywords
cdp, ciholas, data, protocol, cuwb, python
License
Other
Install
pip install cdp-py==1.5.0

Documentation

cdp-py

The Ciholas Data Protocol (CDP) provides a method of communication between devices and services. CDP data is transmitted over Ethernet as User Datagram Protocol (UDP) packets. cdp-py contains a set of structural definitions of the CDP data items that make up these UDP packets.

To get started with CDP, see the official documentation. For more information regarding the individual data items, visit the data items documentation.

Getting Started

Prerequisites

You need Python 3 or higher to use cdp-py. Make sure you have Python installed and that the expected version is available from your command line. You can check this by running:

$ python --version

Installing

cdp-py can be installed using pip. To install the latest version use:

$ pip install cdp-py

Now that cdp-py package is installed, you can start using the cdp module by adding the following import statement to your Python script:

import cdp

For a tutorial about how to use the cdp module, visit: Using CDP - Python.

Upgrading

To upgrade to the latest version use:

$ pip install --upgrade cdp-py

License

This work is licensed under the Creative Commons Attribution 4.0 International License.