Zephyr Project API 4.2.99
A Scalable Open Source RTOS
|
OBEX client operations structure. More...
#include <obex.h>
Data Fields | |
void(* | connect )(struct bt_obex *obex, uint8_t rsp_code, uint8_t version, uint16_t mopl, struct net_buf *buf) |
OBEX connect response callback. | |
void(* | disconnect )(struct bt_obex *obex, uint8_t rsp_code, struct net_buf *buf) |
OBEX disconnect response callback. | |
void(* | put )(struct bt_obex *obex, uint8_t rsp_code, struct net_buf *buf) |
OBEX put response callback. | |
void(* | get )(struct bt_obex *obex, uint8_t rsp_code, struct net_buf *buf) |
OBEX get response callback. | |
void(* | abort )(struct bt_obex *obex, uint8_t rsp_code, struct net_buf *buf) |
OBEX abort response callback. | |
void(* | setpath )(struct bt_obex *obex, uint8_t rsp_code, struct net_buf *buf) |
OBEX SetPath response callback. | |
void(* | action )(struct bt_obex *obex, uint8_t rsp_code, struct net_buf *buf) |
OBEX action response callback. | |
OBEX client operations structure.
The object has to stay valid and constant for the lifetime of the OBEX client.
OBEX abort response callback.
If this callback is provided it will be called whenever the OBEX abort response is received.
obex | The OBEX object. |
rsp_code | Response code. |
buf | Optional response headers. |
OBEX action response callback.
If this callback is provided it will be called whenever the OBEX action response is received.
obex | The OBEX object. |
rsp_code | Response code. |
buf | Optional response headers. |
void(* bt_obex_client_ops::connect) (struct bt_obex *obex, uint8_t rsp_code, uint8_t version, uint16_t mopl, struct net_buf *buf) |
OBEX connect response callback.
If this callback is provided it will be called whenever the OBEX connect response is received.
obex | The OBEX object. |
rsp_code | Response code. |
version | OBEX version number. |
mopl | Maximum OBEX packet length. |
buf | Sequence of headers. |
void(* bt_obex_client_ops::disconnect) (struct bt_obex *obex, uint8_t rsp_code, struct net_buf *buf) |
OBEX disconnect response callback.
If this callback is provided it will be called whenever the OBEX disconnect response is received.
obex | The OBEX object. |
rsp_code | Response code. |
buf | Sequence of headers. |
OBEX get response callback.
If this callback is provided it will be called whenever the OBEX get response is received.
obex | The OBEX object. |
rsp_code | Response code. |
buf | Optional response headers. |
OBEX put response callback.
If this callback is provided it will be called whenever the OBEX put response is received.
obex | The OBEX object. |
rsp_code | Response code. |
buf | Optional response headers. |
OBEX SetPath response callback.
If this callback is provided it will be called whenever the OBEX SetPath response is received.
obex | The OBEX object. |
rsp_code | Response code. |
buf | Optional response headers. |