|
void | xbee2_cfg_setup (xbee2_cfg_t *cfg) |
| XBEE 2 configuration object setup function.
|
|
err_t | xbee2_init (xbee2_t *ctx, xbee2_cfg_t *cfg) |
| XBEE 2 initialization function.
|
|
err_t | xbee2_generic_write (xbee2_t *ctx, char *data_in, uint16_t len) |
| XBEE 2 data writing function.
|
|
err_t | xbee2_generic_read (xbee2_t *ctx, char *data_out, uint16_t len) |
| XBEE 2 data reading function.
|
|
void | xbee2_set_rts_pin (xbee2_t *ctx, uint8_t state) |
| XBEE 2 set rts pin function.
|
|
void | xbee2_set_rst_pin (xbee2_t *ctx, uint8_t state) |
| XBEE 2 set rst pin function.
|
|
void | xbee2_set_cs_pin (xbee2_t *ctx, uint8_t state) |
| XBEE 2 set cs pin function.
|
|
uint8_t | xbee2_get_cts_pin (xbee2_t *ctx) |
| XBEE 2 get cts pin function.
|
|
uint8_t | xbee2_get_att_dtr_pin (xbee2_t *ctx) |
| XBEE 2 get att_dtr pin function.
|
|
err_t | xbee2_write_command (xbee2_t *ctx, char *data_buf) |
| XBEE 2 write command function.
|
|
void | xbee2_hw_reset (xbee2_t *ctx) |
| XBEE 2 hw reset function.
|
|
err_t | xbee2_enter_command_mode (xbee2_t *ctx) |
| XBEE 2 enter command mode function.
|
|
err_t | xbee2_exit_command_mode (xbee2_t *ctx) |
| XBEE 2 exit command mode function.
|
|
err_t | xbee2_factory_reset (xbee2_t *ctx) |
| XBEE 2 factory reset function.
|
|
err_t | xbee2_get_serial_number (xbee2_t *ctx) |
| XBEE 2 get serial number function.
|
|
err_t | xbee2_set_device_name (xbee2_t *ctx, char *dev_name) |
| XBEE 2 set device name function.
|
|
err_t | xbee2_set_destination_address (xbee2_t *ctx, char *dest_addr_high, char *dest_addr_low) |
| XBEE 2 set destination address function.
|
|
err_t | xbee2_set_api_mode (xbee2_t *ctx, uint8_t api_mode) |
| XBEE 2 set api mode function.
|
|
err_t | xbee2_set_device_role (xbee2_t *ctx, uint8_t dev_role) |
| XBEE 2 set device role function.
|
|
err_t | xbee2_apply_changes (xbee2_t *ctx) |
| XBEE 2 apply changes function.
|
|
err_t | xbee2_save_changes (xbee2_t *ctx) |
| XBEE 2 save changes function.
|
|
This file contains API for XBEE 2 Click Driver.