Functions | |
JOB_STATUS | CC_Basic_Report_tx (AGI_PROFILE *pProfile, uint8_t sourceEndpoint, uint8_t bValue, ZAF_TX_Callback_t callback) |
zaf_job_status_t | CC_Basic_Set_tx (agi_profile_t const *const p_profile, const uint8_t source_endpoint, const uint8_t value, const bool use_supervision, ZAF_TX_Callback_t callback) |
JOB_STATUS CC_Basic_Report_tx | ( | AGI_PROFILE * | pProfile, |
uint8_t | sourceEndpoint, | ||
uint8_t | bValue, | ||
ZAF_TX_Callback_t | callback ) |
Send unsolicited command class Basic report
[in] | pProfile | pointer to AGI profile |
[in] | sourceEndpoint | source endpoint |
[in] | bValue | Basic Report value |
[out] | callback | callback function pointer returning status on job. Can be initialized to NULL. |
zaf_job_status_t CC_Basic_Set_tx | ( | agi_profile_t const *const | p_profile, |
const uint8_t | source_endpoint, | ||
const uint8_t | value, | ||
const bool | use_supervision, | ||
ZAF_TX_Callback_t | callback ) |
Sends an unsolicited Basic Set command.
[in] | p_profile | Pointer to an AGI profile defined in the configuration of CC AGI. |
[in] | source_endpoint | Source endpoint if the sending device use endpoints. Otherwise 0. |
[in] | value | Value as defined in the specification of the command. |
[in] | use_supervision | Use Supervision for transmission of this Basic Set. |
[out] | callback | Callback function pointer giving a result of the transmission. |