zigbee 2.0.0.0
|
This file contains API for ZigBee Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_uart.h"
Go to the source code of this file.
Data Structures | |
struct | zigbee_t |
ZigBee Click context object. More... | |
struct | zigbee_cfg_t |
ZigBee Click configuration object. More... | |
struct | zigbee_error_type |
Enumerations | |
enum | zigbee_return_value_t { ZIGBEE_OK = 0 , ZIGBEE_ERROR = -1 } |
ZigBee Click return value data. More... | |
Functions | |
void | zigbee_cfg_setup (zigbee_cfg_t *cfg) |
ZigBee configuration object setup function. | |
err_t | zigbee_init (zigbee_t *ctx, zigbee_cfg_t *cfg) |
ZigBee initialization function. | |
err_t | zigbee_generic_write (zigbee_t *ctx, char *data_buf, uint16_t len) |
ZigBee data writing function. | |
err_t | zigbee_generic_read (zigbee_t *ctx, char *data_buf, uint16_t max_len) |
ZigBee data reading function. | |
void | zigbee_send_at (zigbee_t *ctx, uint8_t *at_buf, uint8_t *suffix_buf) |
Function merges two string and sends it to device. | |
void | zigbee_send_cmd (zigbee_t *ctx, uint8_t *cmd_buf) |
Function sends string to device. | |
uint8_t | zigbee_resp (zigbee_t *ctx, char *data_in) |
Function checking driver buffer string. | |
char * | zigbee_error_handler (uint8_t error_code) |
Function for converting error code to error message. | |
void | zigbee_set_pin_rst (zigbee_t *ctx, uint8_t status) |
Function setting RST pin status. | |
void | zigbee_set_pin_fw (zigbee_t *ctx, uint8_t status) |
Function setting FW pin status. | |
uint8_t | zigbee_get_pin_int (zigbee_t *ctx) |
Function getting INT pin status. | |
void | zigbee_restart (zigbee_t *ctx) |
Function for reseting device. | |
This file contains API for ZigBee Click Driver.