|
void | bt_cfg_setup (bt_cfg_t *cfg) |
| BT configuration object setup function.
|
|
err_t | bt_init (bt_t *ctx, bt_cfg_t *cfg) |
| BT initialization function.
|
|
err_t | bt_default_cfg (bt_t *ctx) |
| BT default configuration function.
|
|
err_t | bt_generic_write (bt_t *ctx, char *data_buf, uint16_t len) |
| BT data writing function.
|
|
err_t | bt_generic_read (bt_t *ctx, char *data_buf, uint16_t max_len) |
| BT data reading function.
|
|
void | bt_set_an_pin (bt_t *ctx, uint8_t state) |
| BT set AN pin function.
|
|
void | bt_set_rst_pin (bt_t *ctx, uint8_t state) |
| BT set RST pin function.
|
|
void | bt_set_cts_pin (bt_t *ctx, uint8_t state) |
| BT set CTS pin function.
|
|
void | bt_set_bt0_pin (bt_t *ctx, uint8_t state) |
| BT set BT0 pin function.
|
|
uint8_t | bt_get_rts_pin (bt_t *ctx) |
| BT get RTS pin function.
|
|
err_t | bt_send_package (bt_t *ctx, bt_package_t pkg) |
| BT send package function.
|
|
err_t | bt_read_package (bt_t *ctx, bt_package_t *pkg) |
| BT read package function.
|
|
err_t | bt_set_local_name (bt_t *ctx, char *name) |
| BT set local name function.
|
|
err_t | bt_set_bondable_mode (bt_t *ctx, uint8_t mode) |
| BT set bondable mode function.
|
|
err_t | bt_delete_bondings (bt_t *ctx) |
| BT delete bondings function.
|
|
err_t | bt_set_class_of_device (bt_t *ctx, uint32_t cod) |
| BT set class of device function.
|
|
err_t | bt_set_gap_mode (bt_t *ctx, uint8_t connectable, uint8_t discoverable, uint8_t limited) |
| BT set gap mode function.
|
|
err_t | bt_rfcomm_start_server (bt_t *ctx, uint8_t sdp_id, uint8_t stream_dest) |
| BT rfcomm start server function.
|
|
err_t | bt_rfcomm_stop_server (bt_t *ctx, uint8_t sdp_id) |
| BT rfcomm stop server function.
|
|
err_t | bt_factory_reset (bt_t *ctx) |
| BT factory reset function.
|
|
err_t | bt_system_reset (bt_t *ctx, uint8_t mode) |
| BT system reset function.
|
|
err_t | bt_hardware_config_gpio (bt_t *ctx, uint8_t port, uint16_t pin_index, uint8_t mode, uint8_t pullup) |
| BT hardware config gpio function.
|
|
err_t | bt_hardware_read_gpio (bt_t *ctx, uint8_t port, uint16_t mask, uint16_t *port_data) |
| BT hardware read gpio function.
|
|
err_t | bt_hardware_write_gpio (bt_t *ctx, uint8_t port, uint16_t mask, uint16_t port_data) |
| BT hardware write gpio function.
|
|
err_t | bt_endpoint_send_data (bt_t *ctx, uint8_t *endpoint, char *msg) |
| BT endpoint send data function.
|
|
This file contains API for BT Click Driver.