AIROC™ BTSDK v4.9 - Documentation | ||||
OBEX Client Functions. More...
Modules | |
Header Operations | |
OBEX Header Operations. | |
Functions | |
wiced_bt_obex_status_t | wiced_bt_obex_connect (wiced_bt_device_address_t bd_addr, uint8_t scn, uint16_t mtu, wiced_bt_obex_client_cback_t *p_cback, wiced_bt_obex_handle_t *p_handle, uint8_t *p_pkt) |
Function wiced_bt_obex_connect. More... | |
wiced_bt_obex_status_t | wiced_bt_obex_disconnect (wiced_bt_obex_handle_t handle, uint8_t *p_pkt) |
Function wiced_bt_obex_disconnect. More... | |
wiced_bt_obex_status_t | wiced_bt_obex_send_request (wiced_bt_obex_handle_t handle, wiced_bt_obex_req_code_t req_code, wiced_bt_obex_req_param_t *p_param, uint8_t *p_pkt) |
Function wiced_bt_obex_send_request. More... | |
OBEX Client Functions.
Client API Functions sub module for OBEX.
wiced_bt_obex_status_t wiced_bt_obex_connect | ( | wiced_bt_device_address_t | bd_addr, |
uint8_t | scn, | ||
uint16_t | mtu, | ||
wiced_bt_obex_client_cback_t * | p_cback, | ||
wiced_bt_obex_handle_t * | p_handle, | ||
uint8_t * | p_pkt | ||
) |
Function wiced_bt_obex_connect.
This function registers a client entity to OBEX and sends a CONNECT request to the server
[in] | bd_addr | : Remote server BD address |
[in] | scn | : Remote server SCN |
[in] | mtu | : MTU |
[in] | p_cback | : Pointer to client event callback function |
[out] | p_handle | : Pointer to return client connection handle |
[in] | p_pkt | : Connect request packet |
wiced_bt_obex_status_t wiced_bt_obex_disconnect | ( | wiced_bt_obex_handle_t | handle, |
uint8_t * | p_pkt | ||
) |
Function wiced_bt_obex_disconnect.
This function disconnects the server and unregister the client entity.
[in] | handle | : Client connection handle |
[in] | p_pkt | : Disconnect request packet |
wiced_bt_obex_status_t wiced_bt_obex_send_request | ( | wiced_bt_obex_handle_t | handle, |
wiced_bt_obex_req_code_t | req_code, | ||
wiced_bt_obex_req_param_t * | p_param, | ||
uint8_t * | p_pkt | ||
) |
Function wiced_bt_obex_send_request.
This function sends a request to the connected server.
[in] | handle | : Client connection handle |
[in] | req_code | : Request code |
[in] | p_param | : Request parameters |
[in] | p_pkt | : Request packet |