AIROC™ BTSDK v4.2 - Documentation | ||||
OBEX Server Functions. More...
Modules | |
Client | |
OBEX Client Functions. | |
Functions | |
wiced_bt_obex_status_t | wiced_bt_obex_start_server (wiced_bt_obex_start_params_t *p_params, wiced_bt_obex_handle_t *p_handle) |
Function wiced_bt_obex_start_server. More... | |
wiced_bt_obex_status_t | wiced_bt_obex_stop_server (wiced_bt_obex_handle_t handle) |
Function wiced_bt_obex_stop_server. More... | |
wiced_bt_obex_status_t | wiced_bt_obex_send_response (wiced_bt_obex_handle_t handle, wiced_bt_obex_req_code_t req_code, wiced_bt_obex_rsp_code_t rsp_code, uint8_t *p_pkt) |
Function wiced_bt_obex_send_rsp. More... | |
uint16_t | wiced_bt_obex_get_peer_addr (wiced_bt_obex_handle_t handle, wiced_bt_device_address_t bd_addr) |
Function wiced_bt_obex_get_peer_addr. More... | |
OBEX Server Functions.
Server API Functions sub module for OBEX.
uint16_t wiced_bt_obex_get_peer_addr | ( | wiced_bt_obex_handle_t | handle, |
wiced_bt_device_address_t | bd_addr | ||
) |
Function wiced_bt_obex_get_peer_addr.
This function is called to get the Bluetooth address of the connected device
[in] | handle | : OBEX server handle |
[out] | bd_addr | : Remote BD address |
wiced_bt_obex_status_t wiced_bt_obex_send_response | ( | wiced_bt_obex_handle_t | handle, |
wiced_bt_obex_req_code_t | req_code, | ||
wiced_bt_obex_rsp_code_t | rsp_code, | ||
uint8_t * | p_pkt | ||
) |
Function wiced_bt_obex_send_rsp.
Send response to a Request from an OBEX client.
[in] | handle | : OBEX server handle |
[in] | req_code | : Request code |
[in] | rsp_code | : Response code |
[in] | p_pkt | : Response packet |
wiced_bt_obex_status_t wiced_bt_obex_start_server | ( | wiced_bt_obex_start_params_t * | p_params, |
wiced_bt_obex_handle_t * | p_handle | ||
) |
Function wiced_bt_obex_start_server.
Start OBEX server
[in] | p_params | : Parameters for starting server |
[out] | p_handle | : Pointer to return OBEX server handle |
wiced_bt_obex_status_t wiced_bt_obex_stop_server | ( | wiced_bt_obex_handle_t | handle | ) |
Function wiced_bt_obex_stop_server.
Stop OBEX server
[in] | handle | : OBEX server handle |