|
Z-Wave Protocol Controller Reference
|
#include <time.h>#include "assert.h"#include "platform_date_time.h"#include "ZW_classcmd.h"#include "zwave_command_class_time.h"#include "zwave_command_handler.h"#include "zwave_command_class_indices.h"#include "zwave_command_classes_utils.h"#include "zwave_controller_connection_info.h"#include "zwave_tx.h"Functions | |
| static sl_status_t | zwave_command_class_time_handle_date_get (const zwave_controller_connection_info_t *connection_info) |
| Command handler for the Date Get command. More... | |
| static sl_status_t | zwave_command_class_time_handle_time_get (const zwave_controller_connection_info_t *connection_info) |
| Command handler for the Time Get command. More... | |
| sl_status_t | zwave_command_class_time_support_handler (const zwave_controller_connection_info_t *connection_info, const uint8_t *frame_data, uint16_t frame_length) |
| Handles incoming time encapsulated commands. More... | |
| sl_status_t | zwave_command_class_time_init () |
| setup for time command class More... | |
|
static |
Command handler for the Date Get command.
The Gateway will send return a Date Report frame containing the current date (day, month and year).
| connection_info | Info about the connection properties of this frame. |
|
static |
Command handler for the Time Get command.
The Gateway will send return a Time Report frame containing the current time (hours, minutes and seconds).
| connection_info | Info about the connection properties of this frame. |
| sl_status_t zwave_command_class_time_init | ( | void | ) |
setup for time command class
This setup will register the time command handler to the Z-Wave CC framework,
| sl_status_t zwave_command_class_time_support_handler | ( | const zwave_controller_connection_info_t * | connection_info, |
| const uint8_t * | frame_data, | ||
| uint16_t | frame_length | ||
| ) |
Handles incoming time encapsulated commands.
| 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. |