|
wiced_bt_rfcomm_result_t | wiced_bt_rfcomm_create_connection (uint16_t uuid, uint8_t scn, wiced_bool_t is_server, uint16_t mtu, wiced_bt_device_address_t bd_addr, uint16_t *p_handle, wiced_bt_port_mgmt_cback_t *p_mgmt_cb) |
| Establish serial port connection to the peer device, or allow RFCOMM to accept a connection from peer devices. More...
|
|
wiced_bt_rfcomm_result_t | wiced_bt_rfcomm_remove_connection (uint16_t handle, wiced_bool_t remove_server) |
| Close the specified connection. More...
|
|
wiced_bt_rfcomm_result_t | wiced_bt_rfcomm_set_event_callback (uint16_t port_handle, wiced_bt_port_event_cback_t *p_port_cb, wiced_bt_port_tx_cback_t *p_tx_cmpl_cb) |
| Set event callback the specified connection(neither of the callback can be NULL). More...
|
|
wiced_bt_rfcomm_result_t | wiced_bt_rfcomm_set_event_mask (uint16_t port_handle, wiced_bt_rfcomm_port_event_t mask) |
| Set events for which to be notified. More...
|
|
wiced_bt_rfcomm_result_t | wiced_bt_rfcomm_control (uint16_t handle, uint8_t signal) |
| Send control signal to the peer device. More...
|
|
wiced_bt_rfcomm_result_t | wiced_bt_rfcomm_flow_control (uint16_t handle, wiced_bool_t enable) |
| This function directs a specified connection to pass flow control message to the peer device. More...
|
|
wiced_bt_rfcomm_result_t | wiced_bt_rfcomm_set_rx_fifo (uint16_t handle, char *p_mem, uint16_t size) |
| This function provides RFCOMM with a data area to receive peer's data. More...
|
|
wiced_bt_rfcomm_result_t | wiced_bt_rfcomm_read_data (uint16_t handle, char *p_data, uint16_t max_len, uint16_t *p_len) |
| This function reads the received application data from the peer device. More...
|
|
wiced_bt_rfcomm_result_t | wiced_bt_rfcomm_write_data (uint16_t handle, char *p_data, uint16_t max_len) |
| This function sends the given application data to the peer device. More...
|
|
wiced_bt_rfcomm_result_t | wiced_bt_rfcomm_check_connection (uint16_t handle, wiced_bt_device_address_t bd_addr, uint16_t *p_lcid) |
| This function checks connection referenced by handle is up and running. More...
|
|
Bluetooth RFCOMM Application Programming Interface.