Append command data to a ZCL frame.
NOTE: Ensure pointers to arg_data passed is valid in the context that this function is called.
- Parameters
-
frame | Pointer to ZCL frame container to be populated. |
arg_type | ZCL command argument type. |
arg_data | ZCL command argument data. arguments. |
- Returns
- sl_status_t SL_STATUS_OK on success, SL_STATUS_NULL_POINTER if if invalid pointers are passed in, SL_STATUS_INVALID_SIGNATURE on data that does not conform to the ZCL specification, or other error related to ZCL frame building.