mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
New LED Device - Cololight (#1070)
This commit is contained in:
@@ -28,6 +28,8 @@ public:
|
||||
///
|
||||
~ProviderUdp() override;
|
||||
|
||||
QHostAddress getAddress() const { return _address; }
|
||||
|
||||
protected:
|
||||
|
||||
///
|
||||
@@ -53,8 +55,7 @@ protected:
|
||||
int close() override;
|
||||
|
||||
///
|
||||
/// @brief Writes the given bytes/bits to the UDP-device and sleeps the latch time to ensure that the
|
||||
/// values are latched.
|
||||
/// @brief Writes the given bytes to the UDP-device
|
||||
///
|
||||
/// @param[in] size The length of the data
|
||||
/// @param[in] data The data
|
||||
@@ -63,6 +64,15 @@ protected:
|
||||
///
|
||||
int writeBytes(const unsigned size, const uint8_t *data);
|
||||
|
||||
///
|
||||
/// @brief Writes the given bytes to the UDP-device
|
||||
///
|
||||
/// @param[in] data The data
|
||||
///
|
||||
/// @return Zero on success, else negative
|
||||
///
|
||||
int writeBytes(const QByteArray &bytes);
|
||||
|
||||
///
|
||||
QUdpSocket * _udpSocket;
|
||||
QHostAddress _address;
|
||||
|
Reference in New Issue
Block a user