bibliopixel.drivers.network_udp module

class bibliopixel.drivers.network_udp.CMDTYPE[source]

Bases: object

BRIGHTNESS = 3
PIXEL_DATA = 2
SETUP_DATA = 1
class bibliopixel.drivers.network_udp.NetworkUDP(num=0, width=0, height=0, host='localhost', broadcast=False, port=3142, broadcast_interface='', **kwds)[source]

Bases: bibliopixel.drivers.driver_base.DriverBase

Driver for communicating with another device on the network via UDP

To be used with either BiblioPixelAnimations.receivers.GenericNetworkReceiver or network_receiver.NetworkReceiver

Provides the same parameters of driver_base.DriverBase as well as those below:

Parameters:
  • host (str) – Network hostname or IP address of receiver.
  • port (int) – Network port of receiver
  • broadcast (bool) – If True, broadcast to subnet instead of specific host