RDM Helper functions.
Go to the source code of this file.
Functions | |
static int | RDMUtil_UIDCompare (const uint8_t *uid1, const uint8_t *uid2) |
Compare two UIDs. More... | |
bool | RDMUtil_RequiresAction (const uint8_t our_uid[UID_LENGTH], const uint8_t uid[UID_LENGTH]) |
Check if a RDM request sent to a UID requires us to take action. More... | |
bool | RDMUtil_IsUnicast (const uint8_t uid[UID_LENGTH]) |
bool | RDMUtil_VerifyChecksum (const uint8_t *frame, unsigned int size) |
Verify the checksum of an RDM frame. More... | |
int | RDMUtil_AppendChecksum (uint8_t *frame) |
Append the RDM checksum for a frame. More... | |
unsigned int | RDMUtil_StringCopy (char *dst, unsigned int dest_size, const char *src, unsigned int max_size) |
Copy a string from one location to another. More... | |
unsigned int | RDMUtil_SafeStringLength (const char *str, unsigned int max_size) |
Calculate the size of the string, but never scan beyond max_size. More... | |
void | RDMUtil_UpdateSensor (SensorData *sensor, uint8_t recorded_value_support, int16_t new_value) |
Update the value of a sensor, setting the lowest / highest values if appropriate. More... | |