Zigbee Protocol Controller 1.6.0
|
#include <stdlib.h>
#include "process.h"
#include "sys/ctimer.h"
#include "sys/etimer.h"
#include "sl_log.h"
#include "zigpc_common_zigbee.h"
#include "zigpc_gateway.h"
#include "zigpc_gateway_notify.h"
#include "attribute_management.h"
#include "attribute_management_int.h"
#include "attribute_management_process.h"
#include "zcl_attribute_info.h"
#include "attribute_map.h"
#include "zigpc_config.h"
Functions | |
PROCESS_NAME (attribute_management_process) | |
sl_status_t | attribute_management_setup (void) |
attribute_management_setup - sets up the parts of the software used by the attribute manager More... | |
int | attribute_management_shutdown (void) |
attribute_management_shutdown - graceful shuts down all parts of the attribute_management component, expected to be called before the program exits More... | |
sl_status_t | zigpc_attrmgmt_process_send_event (const enum attr_mgmt_evt event, const void *data, size_t data_size) |
Send an event and associated data to the attribute management Contiki process. Based on the data and data_size passed in, memory will be dynamically allocated in the heap and sent in order to be processed. More... | |
PROCESS (attribute_management_process, "attribute_management_process") | |
PROCESS_THREAD (attribute_management_process, ev, data) | |
sl_status_t | node_send_report_config_cmd (const zigbee_node_t node) |
node_send_report_config_cmd - API for sending a ZCL command to the zigpc_gateway to configure reports for a node. This is an internal API, expected to be abstracted away. More... | |
Variables | |
static const char | LOG_TAG [] = "attribute_management" |
sl_status_t node_send_report_config_cmd | ( | const zigbee_node_t | node | ) |
node_send_report_config_cmd - API for sending a ZCL command to the zigpc_gateway to configure reports for a node. This is an internal API, expected to be abstracted away.
node | - the node, whose endpoints should be configured for reports |
PROCESS | ( | attribute_management_process | , |
"attribute_management_process" | |||
) |
PROCESS_NAME | ( | attribute_management_process | ) |
PROCESS_THREAD | ( | attribute_management_process | , |
ev | , | ||
data | |||
) |
sl_status_t zigpc_attrmgmt_process_send_event | ( | const enum attr_mgmt_evt | event, |
const void * | data, | ||
size_t | data_size | ||
) |
Send an event and associated data to the attribute management Contiki process. Based on the data and data_size passed in, memory will be dynamically allocated in the heap and sent in order to be processed.
NOTE: The attribute management process will free the memory allocated for data in the process loop.
event | Event type to send |
data | Pointer to data to be sent with the above event. |
data_size | Size of the data passed in. |
|
static |