|
static const char * | bt_obex_rsp_code_to_str (enum bt_obex_rsp_code rsp_code) |
| Converts a OBEX response code to string.
|
|
int | bt_obex_connect (struct bt_obex *obex, uint16_t mopl, struct net_buf *buf) |
| OBEX connect request.
|
|
int | bt_obex_connect_rsp (struct bt_obex *obex, uint8_t rsp_code, uint16_t mopl, struct net_buf *buf) |
| OBEX connect response.
|
|
int | bt_obex_disconnect (struct bt_obex *obex, struct net_buf *buf) |
| OBEX disconnect request.
|
|
int | bt_obex_disconnect_rsp (struct bt_obex *obex, uint8_t rsp_code, struct net_buf *buf) |
| OBEX disconnect response.
|
|
int | bt_obex_put (struct bt_obex *obex, bool final, struct net_buf *buf) |
| OBEX put request.
|
|
int | bt_obex_put_rsp (struct bt_obex *obex, uint8_t rsp_code, struct net_buf *buf) |
| OBEX put response.
|
|
int | bt_obex_get (struct bt_obex *obex, bool final, struct net_buf *buf) |
| OBEX get request.
|
|
int | bt_obex_get_rsp (struct bt_obex *obex, uint8_t rsp_code, struct net_buf *buf) |
| OBEX get response.
|
|
int | bt_obex_abort (struct bt_obex *obex, struct net_buf *buf) |
| OBEX abort request.
|
|
int | bt_obex_abort_rsp (struct bt_obex *obex, uint8_t rsp_code, struct net_buf *buf) |
| OBEX abort response.
|
|
int | bt_obex_setpath (struct bt_obex *obex, uint8_t flags, struct net_buf *buf) |
| OBEX setpath request.
|
|
int | bt_obex_setpath_rsp (struct bt_obex *obex, uint8_t rsp_code, struct net_buf *buf) |
| OBEX setpath response.
|
|
int | bt_obex_action (struct bt_obex *obex, bool final, struct net_buf *buf) |
| OBEX action request.
|
|
int | bt_obex_action_rsp (struct bt_obex *obex, uint8_t rsp_code, struct net_buf *buf) |
| OBEX action response.
|
|
int | bt_obex_add_header_count (struct net_buf *buf, uint32_t count) |
| Add Header: number of objects (used by Connect)
|
|
int | bt_obex_add_header_name (struct net_buf *buf, uint16_t len, const uint8_t *name) |
| Add Header: name of the object (often a file name)
|
|
int | bt_obex_add_header_type (struct net_buf *buf, uint16_t len, const uint8_t *type) |
| Add Header: type of object - e.g.
|
|
int | bt_obex_add_header_len (struct net_buf *buf, uint32_t len) |
| Add Header: the length of the object in bytes.
|
|
int | bt_obex_add_header_time_iso_8601 (struct net_buf *buf, uint16_t len, const uint8_t *t) |
| Add Header: date/time stamp – ISO 8601 version - preferred.
|
|
int | bt_obex_add_header_time (struct net_buf *buf, uint32_t t) |
| Add Header: date/time stamp – 4 byte version (for compatibility only)
|
|
int | bt_obex_add_header_description (struct net_buf *buf, uint16_t len, const uint8_t *dec) |
| Add Header: text description of the object.
|
|
int | bt_obex_add_header_target (struct net_buf *buf, uint16_t len, const uint8_t *target) |
| Add Header: name of service that operation is targeted to.
|
|
int | bt_obex_add_header_http (struct net_buf *buf, uint16_t len, const uint8_t *http) |
| Add Header: an HTTP 1.x header.
|
|
int | bt_obex_add_header_body (struct net_buf *buf, uint16_t len, const uint8_t *body) |
| Add Header: a chunk of the object body.
|
|
int | bt_obex_add_header_end_body (struct net_buf *buf, uint16_t len, const uint8_t *body) |
| Add Header: the final chunk of the object body.
|
|
int | bt_obex_add_header_who (struct net_buf *buf, uint16_t len, const uint8_t *who) |
| Add Header: identifies the OBEX application, used to tell if talking to a peer.
|
|
int | bt_obex_add_header_conn_id (struct net_buf *buf, uint32_t conn_id) |
| Add Header: an identifier used for OBEX connection multiplexing.
|
|
int | bt_obex_add_header_app_param (struct net_buf *buf, size_t count, const struct bt_obex_tlv data[]) |
| Add Header: extended application request & response information.
|
|
int | bt_obex_add_header_auth_challenge (struct net_buf *buf, size_t count, const struct bt_obex_tlv data[]) |
| Add Header: authentication digest-challenge.
|
|
int | bt_obex_add_header_auth_rsp (struct net_buf *buf, size_t count, const struct bt_obex_tlv data[]) |
| Add Header: authentication digest-response.
|
|
int | bt_obex_add_header_creator_id (struct net_buf *buf, uint32_t creator_id) |
| Add Header: indicates the creator of an object.
|
|
int | bt_obex_add_header_wan_uuid (struct net_buf *buf, uint16_t len, const uint8_t *uuid) |
| Add Header: uniquely identifies the network client (OBEX server).
|
|
int | bt_obex_add_header_obj_class (struct net_buf *buf, uint16_t len, const uint8_t *obj_class) |
| Add Header: OBEX Object class of object.
|
|
int | bt_obex_add_header_session_param (struct net_buf *buf, uint16_t len, const uint8_t *session_param) |
| Add Header: parameters used in session commands/responses.
|
|
int | bt_obex_add_header_session_seq_number (struct net_buf *buf, uint32_t session_seq_number) |
| Add Header: sequence number used in each OBEX packet for reliability.
|
|
int | bt_obex_add_header_action_id (struct net_buf *buf, uint32_t action_id) |
| Add Header: specifies the action to be performed (used in ACTION operation).
|
|
int | bt_obex_add_header_dest_name (struct net_buf *buf, uint16_t len, const uint8_t *dest_name) |
| Add Header: the destination object name (used in certain ACTION operations).
|
|
int | bt_obex_add_header_perm (struct net_buf *buf, uint32_t perm) |
| Add Header: 4-byte bit mask for setting permissions.
|
|
int | bt_obex_add_header_srm (struct net_buf *buf, uint8_t srm) |
| Add Header: 1-byte value to setup Single Response Mode (SRM).
|
|
int | bt_obex_add_header_srm_param (struct net_buf *buf, uint8_t srm_param) |
| Add Header: Single Response Mode (SRM) Parameter.
|
|
int | bt_obex_header_parse (struct net_buf *buf, bool(*func)(struct bt_obex_hdr *hdr, void *user_data), void *user_data) |
| Helper for parsing OBEX header.
|
|
int | bt_obex_get_header_count (struct net_buf *buf, uint32_t *count) |
| Get header value: number of objects (used by Connect)
|
|
int | bt_obex_get_header_name (struct net_buf *buf, uint16_t *len, const uint8_t **name) |
| Get header value: name of the object (often a file name)
|
|
int | bt_obex_get_header_type (struct net_buf *buf, uint16_t *len, const uint8_t **type) |
| Get header value: type of object - e.g.
|
|
int | bt_obex_get_header_len (struct net_buf *buf, uint32_t *len) |
| Get header value: the length of the object in bytes.
|
|
int | bt_obex_get_header_time_iso_8601 (struct net_buf *buf, uint16_t *len, const uint8_t **t) |
| Get header value: date/time stamp – ISO 8601 version - preferred.
|
|
int | bt_obex_get_header_time (struct net_buf *buf, uint32_t *t) |
| Get header value: date/time stamp – 4 byte version (for compatibility only)
|
|
int | bt_obex_get_header_description (struct net_buf *buf, uint16_t *len, const uint8_t **dec) |
| Get header value: text description of the object.
|
|
int | bt_obex_get_header_target (struct net_buf *buf, uint16_t *len, const uint8_t **target) |
| Get header value: name of service that operation is targeted to.
|
|
int | bt_obex_get_header_http (struct net_buf *buf, uint16_t *len, const uint8_t **http) |
| Get header value: an HTTP 1.x header.
|
|
int | bt_obex_get_header_body (struct net_buf *buf, uint16_t *len, const uint8_t **body) |
| Get header value: a chunk of the object body.
|
|
int | bt_obex_get_header_end_body (struct net_buf *buf, uint16_t *len, const uint8_t **body) |
| Get header value: the final chunk of the object body.
|
|
int | bt_obex_get_header_who (struct net_buf *buf, uint16_t *len, const uint8_t **who) |
| Get header value: identifies the OBEX application, used to tell if talking to a peer.
|
|
int | bt_obex_get_header_conn_id (struct net_buf *buf, uint32_t *conn_id) |
| Get header value: an identifier used for OBEX connection multiplexing.
|
|
int | bt_obex_tlv_parse (uint16_t len, const uint8_t *data, bool(*func)(struct bt_obex_tlv *tlv, void *user_data), void *user_data) |
| Helper for parsing OBEX TLV triplet.
|
|
int | bt_obex_get_header_app_param (struct net_buf *buf, uint16_t *len, const uint8_t **app_param) |
| Get header value: extended application request & response information.
|
|
int | bt_obex_get_header_auth_challenge (struct net_buf *buf, uint16_t *len, const uint8_t **auth) |
| Get header value: authentication digest-challenge.
|
|
int | bt_obex_get_header_auth_rsp (struct net_buf *buf, uint16_t *len, const uint8_t **auth) |
| Get header value: authentication digest-response.
|
|
int | bt_obex_get_header_creator_id (struct net_buf *buf, uint32_t *creator_id) |
| Get header value: indicates the creator of an object.
|
|
int | bt_obex_get_header_wan_uuid (struct net_buf *buf, uint16_t *len, const uint8_t **uuid) |
| Get header value: uniquely identifies the network client (OBEX server).
|
|
int | bt_obex_get_header_obj_class (struct net_buf *buf, uint16_t *len, const uint8_t **obj_class) |
| Get header value: oBEX Object class of object.
|
|
int | bt_obex_get_header_session_param (struct net_buf *buf, uint16_t *len, const uint8_t **session_param) |
| Get header value: parameters used in session commands/responses.
|
|
int | bt_obex_get_header_session_seq_number (struct net_buf *buf, uint32_t *session_seq_number) |
| Get header value: sequence number used in each OBEX packet for reliability.
|
|
int | bt_obex_get_header_action_id (struct net_buf *buf, uint32_t *action_id) |
| Get header value: specifies the action to be performed (used in ACTION operation).
|
|
int | bt_obex_get_header_dest_name (struct net_buf *buf, uint16_t *len, const uint8_t **dest_name) |
| Get header value: the destination object name (used in certain ACTION operations).
|
|
int | bt_obex_get_header_perm (struct net_buf *buf, uint32_t *perm) |
| Get header value: 4-byte bit mask for setting permissions.
|
|
int | bt_obex_get_header_srm (struct net_buf *buf, uint8_t *srm) |
| Get header value: 1-byte value to setup Single Response Mode (SRM).
|
|
int | bt_obex_get_header_srm_param (struct net_buf *buf, uint8_t *srm_param) |
| Get header value: Single Response Mode (SRM) Parameter.
|
|