Trident IoT Z-Wave SDK
 
Loading...
Searching...
No Matches
+ Collaboration diagram for Basic:

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)
 

Detailed Description

Function Documentation

◆ CC_Basic_Report_tx()

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

Parameters
[in]pProfilepointer to AGI profile
[in]sourceEndpointsource endpoint
[in]bValueBasic Report value
[out]callbackcallback function pointer returning status on job. Can be initialized to NULL.
Returns
status of the job of type JOB_STATUS

◆ CC_Basic_Set_tx()

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.

Parameters
[in]p_profilePointer to an AGI profile defined in the configuration of CC AGI.
[in]source_endpointSource endpoint if the sending device use endpoints. Otherwise 0.
[in]valueValue as defined in the specification of the command.
[in]use_supervisionUse Supervision for transmission of this Basic Set.
[out]callbackCallback function pointer giving a result of the transmission.
Returns
Status on whether the transmission could be initiated.