#include "sl_status.h"
#include "zwave_rx.h"
#include "zwapi_protocol_basis.h"
#include "ctimer.h"
#include "ZW_classcmd.h"
Go to the source code of this file.
◆ power_level_test_t
Settings and state of powerlevel test.
◆ powerlevel_setting_t
◆ power_level_test_status_t
Possible values for Powerlevel test status
| Enumerator |
|---|
| TEST_FAILED | None of the frames were acknowdledged by the destination.
Test completed and at least one frame was acknowledged by the destination
|
| TEST_SUCCESSFUL | Test is ongoing.
|
| TEST_IN_PROGRESS | |
◆ zwave_command_class_powerlevel_init()
| sl_status_t zwave_command_class_powerlevel_init |
( |
void |
| ) |
|
setup for powerelvel command class
This setup will register the time command handler to the Z-Wave CC framework,
- Returns
- SL_STATUS_OK if successful
-
SL_STATUS_FAIL if an error occurred
◆ zwave_command_class_powerlevel_support_handler()
Handles incoming powerlevel commands.
- Parameters
-
| connection_info | Info about the connection properties of this frame. |
| frame_data | The data payload of this frame. |
| frame_length | The length of this frame. |
- Returns
- sl_status_t representing the outcome of receiving the frame In case where the command is controlled, it should be set to SL_STATUS_OK, even when encountering some parsing errors In case where the command is supported, it should be set to the sl_status_t corresponding to the correct time Status code. Refer to zwave_command_handler_t