Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bip.h
Go to the documentation of this file.
1/* bip.h - Bluetooth Basic Imaging Profile handling */
2
3/*
4 * Copyright 2025 NXP
5 *
6 * SPDX-License-Identifier: Apache-2.0
7 */
8
9#ifndef ZEPHYR_INCLUDE_BLUETOOTH_BIP_H_
10#define ZEPHYR_INCLUDE_BLUETOOTH_BIP_H_
11
18
19#include <zephyr/kernel.h>
20#include <errno.h>
21
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
33#define BT_BIP_HDR_TYPE_GET_CAPS "x-bt/img-capabilities"
35#define BT_BIP_HDR_TYPE_GET_IMAGE_LIST "x-bt/img-listing"
37#define BT_BIP_HDR_TYPE_GET_IMAGE_PROPERTIES "x-bt/img-properties"
39#define BT_BIP_HDR_TYPE_GET_IMAGE "x-bt/img-img"
41#define BT_BIP_HDR_TYPE_GET_LINKED_THUMBNAIL "x-bt/img-thm"
43#define BT_BIP_HDR_TYPE_GET_LINKED_ATTACHMENT "x-bt/img-attachment"
45#define BT_BIP_HDR_TYPE_GET_PARTIAL_IMAGE "x-bt/img-partial"
47#define BT_BIP_HDR_TYPE_GET_MONITORING_IMAGE "x-bt/img-monitoring"
49#define BT_BIP_HDR_TYPE_GET_STATUS "x-bt/img-status"
51#define BT_BIP_HDR_TYPE_PUT_IMAGE "x-bt/img-img"
53#define BT_BIP_HDR_TYPE_PUT_LINKED_THUMBNAIL "x-bt/img-thm"
55#define BT_BIP_HDR_TYPE_PUT_LINKED_ATTACHMENT "x-bt/img-attachment"
57#define BT_BIP_HDR_TYPE_REMOTE_DISPLAY "x-bt/img-display"
59#define BT_BIP_HDR_TYPE_DELETE_IMAGE "x-bt/img-img"
61#define BT_BIP_HDR_TYPE_START_PRINT "x-bt/img-print"
63#define BT_BIP_HDR_TYPE_START_ARCHIVE "x-bt/img-archive"
64
70#define BT_BIP_HEADER_ID_IMG_DESC 0x71
71
77#define BT_BIP_HEADER_ID_IMG_HANDLE 0x30
78
106
108struct bt_bip;
109
124 void (*connected)(struct bt_conn *conn, struct bt_bip *bip);
125
133 void (*disconnected)(struct bt_bip *bip);
134};
135
144
155 int (*accept)(struct bt_conn *conn, struct bt_bip_rfcomm_server *server,
156 struct bt_bip **bip);
157};
158
166
175int bt_bip_rfcomm_connect(struct bt_conn *conn, struct bt_bip *bip, uint8_t channel);
176
184
193
204 int (*accept)(struct bt_conn *conn, struct bt_bip_l2cap_server *server,
205 struct bt_bip **bip);
206};
207
215
224int bt_bip_l2cap_connect(struct bt_conn *conn, struct bt_bip *bip, uint16_t psm);
225
233
257
271
287
305
333
380
386struct bt_bip {
388 struct bt_goep goep;
391
394
396 atomic_t _transport_state;
397
399 uint8_t _supp_caps;
400
402 uint16_t _supp_feats;
403
405 uint32_t _supp_funcs;
406
408 sys_slist_t _clients;
409
411 sys_slist_t _servers;
412
414 sys_snode_t _node;
415};
416
431int bt_bip_set_supported_capabilities(struct bt_bip *bip, uint8_t capabilities);
432
448
464
480
482struct bt_bip_server;
483
498 void (*connect)(struct bt_bip_server *server, uint8_t version, uint16_t mopl,
499 struct net_buf *buf);
500
507 void (*disconnect)(struct bt_bip_server *server, struct net_buf *buf);
508
515 void (*abort)(struct bt_bip_server *server, struct net_buf *buf);
516
524 void (*get_caps)(struct bt_bip_server *server, bool final, struct net_buf *buf);
525
533 void (*get_image_list)(struct bt_bip_server *server, bool final, struct net_buf *buf);
534
542 void (*get_image_properties)(struct bt_bip_server *server, bool final, struct net_buf *buf);
543
551 void (*get_image)(struct bt_bip_server *server, bool final, struct net_buf *buf);
552
560 void (*get_linked_thumbnail)(struct bt_bip_server *server, bool final, struct net_buf *buf);
561
569 void (*get_linked_attachment)(struct bt_bip_server *server, bool final,
570 struct net_buf *buf);
571
579 void (*get_partial_image)(struct bt_bip_server *server, bool final, struct net_buf *buf);
580
588 void (*get_monitoring_image)(struct bt_bip_server *server, bool final, struct net_buf *buf);
589
597 void (*get_status)(struct bt_bip_server *server, bool final, struct net_buf *buf);
598
606 void (*put_image)(struct bt_bip_server *server, bool final, struct net_buf *buf);
607
615 void (*put_linked_thumbnail)(struct bt_bip_server *server, bool final, struct net_buf *buf);
616
624 void (*put_linked_attachment)(struct bt_bip_server *server, bool final,
625 struct net_buf *buf);
626
634 void (*remote_display)(struct bt_bip_server *server, bool final, struct net_buf *buf);
635
643 void (*delete_image)(struct bt_bip_server *server, bool final, struct net_buf *buf);
644
652 void (*start_print)(struct bt_bip_server *server, bool final, struct net_buf *buf);
653
661 void (*start_archive)(struct bt_bip_server *server, bool final, struct net_buf *buf);
662};
663
665struct bt_bip_client;
666
682 void (*connect)(struct bt_bip_client *client, uint8_t rsp_code, uint8_t version,
683 uint16_t mopl, struct net_buf *buf);
684
692 void (*disconnect)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf);
693
701 void (*abort)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf);
702
710 void (*get_caps)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf);
711
719 void (*get_image_list)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf);
720
728 void (*get_image_properties)(struct bt_bip_client *client, uint8_t rsp_code,
729 struct net_buf *buf);
730
738 void (*get_image)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf);
739
747 void (*get_linked_thumbnail)(struct bt_bip_client *client, uint8_t rsp_code,
748 struct net_buf *buf);
749
757 void (*get_linked_attachment)(struct bt_bip_client *client, uint8_t rsp_code,
758 struct net_buf *buf);
759
767 void (*get_partial_image)(struct bt_bip_client *client, uint8_t rsp_code,
768 struct net_buf *buf);
769
777 void (*get_monitoring_image)(struct bt_bip_client *client, uint8_t rsp_code,
778 struct net_buf *buf);
779
787 void (*get_status)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf);
788
796 void (*put_image)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf);
797
805 void (*put_linked_thumbnail)(struct bt_bip_client *client, uint8_t rsp_code,
806 struct net_buf *buf);
807
815 void (*put_linked_attachment)(struct bt_bip_client *client, uint8_t rsp_code,
816 struct net_buf *buf);
817
825 void (*remote_display)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf);
826
834 void (*delete_image)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf);
835
843 void (*start_print)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf);
844
852 void (*start_archive)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf);
853};
854
862 const struct bt_bip_server_cb *_cb;
863
865 struct bt_bip *_bip;
866
868 const struct bt_uuid_128 *_uuid;
869
871 uint32_t _conn_id;
872
874 enum bt_bip_conn_type _type;
875
877 struct bt_obex_server _server;
878
880 uint8_t _opcode;
882 const char *_optype;
883
885 atomic_t _state;
886
888 union {
889 struct bt_bip_client *_primary_client;
890 struct bt_bip_client *_secondary_client;
891 };
892
894 void (*_req_cb)(struct bt_bip_server *server, bool final, struct net_buf *buf);
895
897 sys_snode_t _node;
898};
899
907 const struct bt_bip_client_cb *_cb;
908
910 struct bt_bip *_bip;
911
913 struct bt_uuid_128 _uuid;
914
916 uint32_t _conn_id;
917
919 enum bt_bip_conn_type _type;
920
922 struct bt_obex_client _client;
923
925 atomic_t _state;
926
928 union {
929 struct bt_bip_server *_primary_server;
930 struct bt_bip_server *_secondary_server;
931 };
932
934 void (*_rsp_cb)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf);
935
937 const char *_req_type;
938
940 sys_snode_t _node;
941};
942
948#define BT_BIP_PRIM_IMAGE_PUSH_CB(_connect, _disconnect, _get_caps, _put_image, \
949 _put_linked_thumbnail, _put_linked_attachment) \
950 { \
951 .connect = _connect, .disconnect = _disconnect, .get_caps = _get_caps, \
952 .put_image = _put_image, .put_linked_thumbnail = _put_linked_thumbnail, \
953 .put_linked_attachment = _put_linked_attachment, \
954 }
955
961#define BT_BIP_PRIM_IMAGE_PULL_CB(_connect, _disconnect, _get_caps, _get_image_list, \
962 _get_image_properties, _get_image, _get_linked_thumbnail, \
963 _get_linked_attachment, _delete_image) \
964 { \
965 .connect = _connect, .disconnect = _disconnect, .get_caps = _get_caps, \
966 .get_image_list = _get_image_list, .get_image_properties = _get_image_properties, \
967 .get_image = _get_image, .get_linked_thumbnail = _get_linked_thumbnail, \
968 .get_linked_attachment = _get_linked_attachment, .delete_image = _delete_image, \
969 }
970
976#define BT_BIP_PRIM_IMAGE_PRINT_CB(_connect, _disconnect, _get_caps, _get_status, _start_print) \
977 { \
978 .connect = _connect, .disconnect = _disconnect, .get_caps = _get_caps, \
979 .get_status = _get_status, .start_print = _start_print, \
980 }
981
987#define BT_BIP_2ND_IMAGE_PRINT_CB(_connect, _disconnect, _get_partial_image) \
988 { \
989 .connect = _connect, .disconnect = _disconnect, \
990 .get_partial_image = _get_partial_image, \
991 }
992
998#define BT_BIP_PRIM_AUTO_ARCHIVE_CB(_connect, _disconnect, _get_status, _start_archive) \
999 { \
1000 .connect = _connect, .disconnect = _disconnect, .get_status = _get_status, \
1001 .start_archive = _start_archive, \
1002 }
1003
1009#define BT_BIP_2ND_AUTO_ARCHIVE_CB(_connect, _disconnect, _get_caps, _get_image_list, \
1010 _get_image_properties, _get_image, _get_linked_thumbnail, \
1011 _get_linked_attachment, _delete_image) \
1012 { \
1013 .connect = _connect, .disconnect = _disconnect, .get_caps = _get_caps, \
1014 .get_image_list = _get_image_list, .get_image_properties = _get_image_properties, \
1015 .get_image = _get_image, .get_linked_thumbnail = _get_linked_thumbnail, \
1016 .get_linked_attachment = _get_linked_attachment, .delete_image = _delete_image, \
1017 }
1018
1024#define BT_BIP_PRIM_REMOTE_CAMERA_CB(_connect, _disconnect, _get_image_properties, _get_image, \
1025 _get_linked_thumbnail, _get_monitoring_image) \
1026 { \
1027 .connect = _connect, .disconnect = _disconnect, \
1028 .get_image_properties = _get_image_properties, .get_image = _get_image, \
1029 .get_linked_thumbnail = _get_linked_thumbnail, \
1030 .get_monitoring_image = _get_monitoring_image, \
1031 }
1032
1038#define BT_BIP_PRIM_REMOTE_DISPLAY_CB(_connect, _disconnect, _get_caps, _get_image_list, \
1039 _put_image, _put_linked_thumbnail, _remote_display) \
1040 { \
1041 .connect = _connect, .disconnect = _disconnect, .get_caps = _get_caps, \
1042 .get_image_list = _get_image_list, .put_image = _put_image, \
1043 .put_linked_thumbnail = _put_linked_thumbnail, .remote_display = _remote_display, \
1044 }
1045
1047#define BT_BIP_UUID_IMAGE_PUSH \
1048 (const struct bt_uuid_128 *)BT_UUID_DECLARE_128( \
1049 BT_UUID_128_ENCODE(0xE33D9545, 0x8374, 0x4AD7, 0x9EC5, 0xC16BE31EDE8E))
1050
1052#define BT_BIP_UUID_IMAGE_PULL \
1053 (const struct bt_uuid_128 *)BT_UUID_DECLARE_128( \
1054 BT_UUID_128_ENCODE(0x8EE9B3D0, 0x4608, 0x11D5, 0x841A, 0x0002A5325B4E))
1055
1057#define BT_BIP_UUID_IMAGE_PRINT \
1058 (const struct bt_uuid_128 *)BT_UUID_DECLARE_128( \
1059 BT_UUID_128_ENCODE(0x92353350, 0x4608, 0x11D5, 0x841A, 0x0002A5325B4E))
1060
1062#define BT_BIP_UUID_AUTO_ARCHIVE \
1063 (const struct bt_uuid_128 *)BT_UUID_DECLARE_128( \
1064 BT_UUID_128_ENCODE(0x940126C0, 0x4608, 0x11D5, 0x841A, 0x0002A5325B4E))
1065
1067#define BT_BIP_UUID_REMOTE_CAMERA \
1068 (const struct bt_uuid_128 *)BT_UUID_DECLARE_128( \
1069 BT_UUID_128_ENCODE(0x947E7420, 0x4608, 0x11D5, 0x841A, 0x0002A5325B4E))
1070
1072#define BT_BIP_UUID_REMOTE_DISPLAY \
1073 (const struct bt_uuid_128 *)BT_UUID_DECLARE_128( \
1074 BT_UUID_128_ENCODE(0x94C7CD20, 0x4608, 0x11D5, 0x841A, 0x0002A5325B4E))
1075
1077#define BT_BIP_UUID_REFERENCED_OBJ \
1078 (const struct bt_uuid_128 *)BT_UUID_DECLARE_128( \
1079 BT_UUID_128_ENCODE(0x8E61F95D, 0x1A79, 0x11D4, 0x8EA4, 0x00805F9B9834))
1080
1082#define BT_BIP_UUID_ARCHIVED_OBJ \
1083 (const struct bt_uuid_128 *)BT_UUID_DECLARE_128( \
1084 BT_UUID_128_ENCODE(0x8E61F95E, 0x1A79, 0x11D4, 0x8EA4, 0x00805F9B9834))
1085
1100 enum bt_bip_conn_type type, const struct bt_uuid_128 *uuid,
1101 struct bt_bip_server_cb *cb);
1102
1118 enum bt_bip_conn_type type, const struct bt_uuid_128 *uuid,
1119 struct bt_bip_server_cb *cb,
1120 struct bt_bip_client *primary_client);
1121
1134 struct bt_bip_server *server,
1135 const struct bt_uuid_128 *uuid,
1136 struct bt_bip_server_cb *cb)
1137{
1139 cb);
1140}
1141
1154 struct bt_bip_server *server,
1155 const struct bt_uuid_128 *uuid,
1156 struct bt_bip_server_cb *cb)
1157{
1159 cb);
1160}
1161
1174 struct bt_bip *bip, struct bt_bip_server *server, const struct bt_uuid_128 *uuid,
1175 struct bt_bip_server_cb *cb)
1176{
1179}
1180
1193 struct bt_bip_server *server,
1194 const struct bt_uuid_128 *uuid,
1195 struct bt_bip_server_cb *cb)
1196{
1198 cb);
1199}
1200
1213 struct bt_bip_server *server,
1214 const struct bt_uuid_128 *uuid,
1215 struct bt_bip_server_cb *cb)
1216{
1218 uuid, cb);
1219}
1220
1233 struct bt_bip_server *server,
1234 const struct bt_uuid_128 *uuid,
1235 struct bt_bip_server_cb *cb)
1236{
1238 uuid, cb);
1239}
1240
1255 struct bt_bip *bip, struct bt_bip_server *server, const struct bt_uuid_128 *uuid,
1256 struct bt_bip_server_cb *cb, struct bt_bip_client *primary_client)
1257{
1259 bip, server, BT_BIP_2ND_CONN_TYPE_REFERENCED_OBJECTS, uuid, cb, primary_client);
1260}
1261
1276 struct bt_bip *bip, struct bt_bip_server *server, const struct bt_uuid_128 *uuid,
1277 struct bt_bip_server_cb *cb, struct bt_bip_client *primary_client)
1278{
1280 uuid, cb, primary_client);
1281}
1282
1294
1309 enum bt_bip_conn_type type, struct bt_bip_client_cb *cb,
1310 struct net_buf *buf);
1311
1327 enum bt_bip_conn_type type, struct bt_bip_client_cb *cb,
1328 struct net_buf *buf, struct bt_bip_server *primary_server);
1329
1342 struct bt_bip_client *client,
1343 struct bt_bip_client_cb *cb,
1344 struct net_buf *buf)
1345{
1347 buf);
1348}
1349
1362 struct bt_bip_client *client,
1363 struct bt_bip_client_cb *cb,
1364 struct net_buf *buf)
1365{
1367 buf);
1368}
1369
1382 struct bt_bip *bip, struct bt_bip_client *client, struct bt_bip_client_cb *cb,
1383 struct net_buf *buf)
1384{
1386 bip, client, BT_BIP_PRIM_CONN_TYPE_ADVANCED_IMAGE_PRINTING, cb, buf);
1387}
1388
1401 struct bt_bip_client *client,
1402 struct bt_bip_client_cb *cb,
1403 struct net_buf *buf)
1404{
1406 buf);
1407}
1408
1421 struct bt_bip_client *client,
1422 struct bt_bip_client_cb *cb,
1423 struct net_buf *buf)
1424{
1426 buf);
1427}
1428
1441 struct bt_bip_client *client,
1442 struct bt_bip_client_cb *cb,
1443 struct net_buf *buf)
1444{
1446 buf);
1447}
1448
1462 struct bt_bip *bip, struct bt_bip_client *client, struct bt_bip_client_cb *cb,
1463 struct net_buf *buf, struct bt_bip_server *primary_server)
1464{
1466 cb, buf, primary_server);
1467}
1468
1482 struct bt_bip_client *client,
1483 struct bt_bip_client_cb *cb,
1484 struct net_buf *buf,
1485 struct bt_bip_server *primary_server)
1486{
1488 cb, buf, primary_server);
1489}
1490
1501int bt_bip_connect_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf);
1502
1512int bt_bip_disconnect(struct bt_bip_client *client, struct net_buf *buf);
1513
1524int bt_bip_disconnect_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf);
1525
1535int bt_bip_abort(struct bt_bip_client *client, struct net_buf *buf);
1536
1547int bt_bip_abort_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf);
1548
1562int bt_bip_get_capabilities(struct bt_bip_client *client, bool final, struct net_buf *buf);
1563
1577 struct net_buf *buf);
1578
1596int bt_bip_get_image_list(struct bt_bip_client *client, bool final, struct net_buf *buf);
1597
1611int bt_bip_get_image_list_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf);
1612
1627int bt_bip_get_image_properties(struct bt_bip_client *client, bool final, struct net_buf *buf);
1628
1644 struct net_buf *buf);
1645
1660int bt_bip_get_image(struct bt_bip_client *client, bool final, struct net_buf *buf);
1661
1675int bt_bip_get_image_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf);
1676
1691int bt_bip_get_linked_thumbnail(struct bt_bip_client *client, bool final, struct net_buf *buf);
1692
1706 struct net_buf *buf);
1707
1722int bt_bip_get_linked_attachment(struct bt_bip_client *client, bool final, struct net_buf *buf);
1723
1737 struct net_buf *buf);
1738
1755int bt_bip_get_partial_image(struct bt_bip_client *client, bool final, struct net_buf *buf);
1756
1770 struct net_buf *buf);
1771
1787int bt_bip_get_monitoring_image(struct bt_bip_client *client, bool final, struct net_buf *buf);
1788
1803 struct net_buf *buf);
1804
1818int bt_bip_get_status(struct bt_bip_client *client, bool final, struct net_buf *buf);
1819
1830int bt_bip_get_status_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf);
1831
1846int bt_bip_put_image(struct bt_bip_client *client, bool final, struct net_buf *buf);
1847
1860int bt_bip_put_image_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf);
1861
1876int bt_bip_put_linked_thumbnail(struct bt_bip_client *client, bool final, struct net_buf *buf);
1877
1889 struct net_buf *buf);
1890
1905int bt_bip_put_linked_attachment(struct bt_bip_client *client, bool final, struct net_buf *buf);
1906
1918 struct net_buf *buf);
1919
1935int bt_bip_remote_display(struct bt_bip_client *client, bool final, struct net_buf *buf);
1936
1949int bt_bip_remote_display_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf);
1950
1965int bt_bip_delete_image(struct bt_bip_client *client, bool final, struct net_buf *buf);
1966
1977int bt_bip_delete_image_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf);
1978
1994int bt_bip_start_print(struct bt_bip_client *client, bool final, struct net_buf *buf);
1995
2006int bt_bip_start_print_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf);
2007
2023int bt_bip_start_archive(struct bt_bip_client *client, bool final, struct net_buf *buf);
2024
2035int bt_bip_start_archive_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf);
2036
2049
2062
2063#ifdef __cplusplus
2064}
2065#endif
2066
2070
2071#endif /* ZEPHYR_INCLUDE_BLUETOOTH_BIP_H_ */
long atomic_t
Definition atomic_types.h:15
Bluetooth subsystem core APIs.
Bluetooth UUID handling.
Bluetooth connection handling.
System error numbers.
int bt_bip_put_image_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf)
Send Put Image response.
int bt_bip_set_supported_capabilities(struct bt_bip *bip, uint8_t capabilities)
Set supported capabilities of BIP responder.
int bt_bip_remote_display(struct bt_bip_client *client, bool final, struct net_buf *buf)
Send Remote Display request.
int bt_bip_connect_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf)
Send OBEX Connect response.
int bt_bip_remote_display_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf)
Send Remote Display response.
int bt_bip_get_image_properties(struct bt_bip_client *client, bool final, struct net_buf *buf)
Send Get Image Properties request.
static int bt_bip_secondary_auto_archive_client_connect(struct bt_bip *bip, struct bt_bip_client *client, struct bt_bip_client_cb *cb, struct net_buf *buf, struct bt_bip_server *primary_server)
Connect Secondary Auto Archive OBEX client.
Definition bip.h:1481
int bt_bip_abort_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf)
Send OBEX Abort response.
int bt_bip_l2cap_disconnect(struct bt_bip *bip)
Disconnect BIP L2CAP connection.
int bt_bip_get_partial_image(struct bt_bip_client *client, bool final, struct net_buf *buf)
Send Get Partial Image request.
static int bt_bip_primary_image_pull_client_connect(struct bt_bip *bip, struct bt_bip_client *client, struct bt_bip_client_cb *cb, struct net_buf *buf)
Connect Primary Image Pull OBEX client.
Definition bip.h:1361
int bt_bip_get_monitoring_image_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf)
Send Get Monitoring Image response.
bt_bip_role
BIP role types.
Definition bip.h:263
static int bt_bip_primary_remote_camera_client_connect(struct bt_bip *bip, struct bt_bip_client *client, struct bt_bip_client_cb *cb, struct net_buf *buf)
Connect Primary Remote Camera OBEX client.
Definition bip.h:1420
bt_bip_appl_param_tag_id
BIP Application Parameter Tag IDs.
Definition bip.h:84
static int bt_bip_primary_image_pull_server_register(struct bt_bip *bip, struct bt_bip_server *server, const struct bt_uuid_128 *uuid, struct bt_bip_server_cb *cb)
Register Primary Image Pull OBEX server.
Definition bip.h:1153
static int bt_bip_primary_auto_archive_server_register(struct bt_bip *bip, struct bt_bip_server *server, const struct bt_uuid_128 *uuid, struct bt_bip_server_cb *cb)
Register Primary Auto Archive OBEX server.
Definition bip.h:1192
static int bt_bip_primary_image_push_client_connect(struct bt_bip *bip, struct bt_bip_client *client, struct bt_bip_client_cb *cb, struct net_buf *buf)
Connect Primary Image Push OBEX client.
Definition bip.h:1341
int bt_bip_primary_server_register(struct bt_bip *bip, struct bt_bip_server *server, enum bt_bip_conn_type type, const struct bt_uuid_128 *uuid, struct bt_bip_server_cb *cb)
Register a primary BIP OBEX server.
static int bt_bip_primary_remote_camera_server_register(struct bt_bip *bip, struct bt_bip_server *server, const struct bt_uuid_128 *uuid, struct bt_bip_server_cb *cb)
Register Primary Remote Camera OBEX server.
Definition bip.h:1212
int bt_bip_add_header_image_handle(struct net_buf *buf, uint16_t len, const uint8_t *handle)
Add Image Handle header to buffer.
int bt_bip_server_unregister(struct bt_bip_server *server)
Unregister a BIP OBEX server.
static int bt_bip_primary_remote_display_server_register(struct bt_bip *bip, struct bt_bip_server *server, const struct bt_uuid_128 *uuid, struct bt_bip_server_cb *cb)
Register Primary Remote Display OBEX server.
Definition bip.h:1232
int bt_bip_delete_image(struct bt_bip_client *client, bool final, struct net_buf *buf)
Send Delete Image request.
int bt_bip_get_image_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf)
Send Get Image response.
static int bt_bip_secondary_advanced_image_printing_server_register(struct bt_bip *bip, struct bt_bip_server *server, const struct bt_uuid_128 *uuid, struct bt_bip_server_cb *cb, struct bt_bip_client *primary_client)
Register Secondary Advanced Image Printing OBEX server.
Definition bip.h:1254
int bt_bip_get_status(struct bt_bip_client *client, bool final, struct net_buf *buf)
Send Get Status request.
int bt_bip_get_linked_thumbnail_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf)
Send Get Linked Thumbnail response.
int bt_bip_rfcomm_connect(struct bt_conn *conn, struct bt_bip *bip, uint8_t channel)
Create transport connection over RFCOMM.
int bt_bip_rfcomm_register(struct bt_bip_rfcomm_server *server)
Register BIP RFCOMM server.
int bt_bip_rfcomm_disconnect(struct bt_bip *bip)
Disconnect BIP RFCOMM connection.
bt_bip_supported_functions
BIP supported functions.
Definition bip.h:344
int bt_bip_get_image_list_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf)
Send Get Image List response.
int bt_bip_get_linked_attachment_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf)
Send Get Linked Attachment response.
static int bt_bip_secondary_advanced_image_printing_client_connect(struct bt_bip *bip, struct bt_bip_client *client, struct bt_bip_client_cb *cb, struct net_buf *buf, struct bt_bip_server *primary_server)
Connect Secondary Advanced Image Printing OBEX client.
Definition bip.h:1461
int bt_bip_get_image(struct bt_bip_client *client, bool final, struct net_buf *buf)
Send Get Image request.
int bt_bip_get_status_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf)
Send Get Status response.
bt_bip_transport_state
BIP transport state.
Definition bip.h:277
int bt_bip_put_linked_attachment(struct bt_bip_client *client, bool final, struct net_buf *buf)
Send Put Linked Attachment request.
int bt_bip_start_print(struct bt_bip_client *client, bool final, struct net_buf *buf)
Send Start Print request.
int bt_bip_put_linked_thumbnail(struct bt_bip_client *client, bool final, struct net_buf *buf)
Send Put Linked Thumbnail request.
static int bt_bip_primary_advanced_image_printing_client_connect(struct bt_bip *bip, struct bt_bip_client *client, struct bt_bip_client_cb *cb, struct net_buf *buf)
Connect Primary Advanced Image Printing OBEX client.
Definition bip.h:1381
int bt_bip_get_image_list(struct bt_bip_client *client, bool final, struct net_buf *buf)
Send Get Image List request.
int bt_bip_start_archive(struct bt_bip_client *client, bool final, struct net_buf *buf)
Send Start Archive request.
static int bt_bip_primary_auto_archive_client_connect(struct bt_bip *bip, struct bt_bip_client *client, struct bt_bip_client_cb *cb, struct net_buf *buf)
Connect Primary Auto Archive OBEX client.
Definition bip.h:1400
int bt_bip_get_image_properties_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf)
Send Get Image Properties response.
int bt_bip_get_monitoring_image(struct bt_bip_client *client, bool final, struct net_buf *buf)
Send Get Monitoring Image request.
int bt_bip_abort(struct bt_bip_client *client, struct net_buf *buf)
Send OBEX Abort request.
int bt_bip_disconnect(struct bt_bip_client *client, struct net_buf *buf)
Send OBEX Disconnect request.
int bt_bip_secondary_server_register(struct bt_bip *bip, struct bt_bip_server *server, enum bt_bip_conn_type type, const struct bt_uuid_128 *uuid, struct bt_bip_server_cb *cb, struct bt_bip_client *primary_client)
Register a secondary BIP OBEX server.
static int bt_bip_secondary_auto_archive_server_register(struct bt_bip *bip, struct bt_bip_server *server, const struct bt_uuid_128 *uuid, struct bt_bip_server_cb *cb, struct bt_bip_client *primary_client)
Register Secondary Auto Archive OBEX server.
Definition bip.h:1275
int bt_bip_set_supported_features(struct bt_bip *bip, uint16_t features)
Set supported features of BIP responder.
static int bt_bip_primary_remote_display_client_connect(struct bt_bip *bip, struct bt_bip_client *client, struct bt_bip_client_cb *cb, struct net_buf *buf)
Connect Primary Remote Display OBEX client.
Definition bip.h:1440
int bt_bip_put_linked_thumbnail_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf)
Send Put Linked Thumbnail response.
bt_bip_supported_features
BIP supported features.
Definition bip.h:313
bt_bip_supported_capabilities
BIP supported capabilities.
Definition bip.h:295
int bt_bip_start_archive_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf)
Send Start Archive response.
int bt_bip_primary_client_connect(struct bt_bip *bip, struct bt_bip_client *client, enum bt_bip_conn_type type, struct bt_bip_client_cb *cb, struct net_buf *buf)
Connect a primary BIP OBEX client.
int bt_bip_delete_image_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf)
Send Delete Image response.
int bt_bip_put_linked_attachment_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf)
Send Put Linked Attachment response.
int bt_bip_get_linked_attachment(struct bt_bip_client *client, bool final, struct net_buf *buf)
Send Get Linked Attachment request.
int bt_bip_get_linked_thumbnail(struct bt_bip_client *client, bool final, struct net_buf *buf)
Send Get Linked Thumbnail request.
int bt_bip_disconnect_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf)
Send OBEX Disconnect response.
int bt_bip_get_partial_image_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf)
Send Get Partial Image response.
bt_bip_state
BIP connection state.
Definition bip.h:470
int bt_bip_secondary_client_connect(struct bt_bip *bip, struct bt_bip_client *client, enum bt_bip_conn_type type, struct bt_bip_client_cb *cb, struct net_buf *buf, struct bt_bip_server *primary_server)
Connect a secondary BIP OBEX client.
static int bt_bip_primary_advanced_image_printing_server_register(struct bt_bip *bip, struct bt_bip_server *server, const struct bt_uuid_128 *uuid, struct bt_bip_server_cb *cb)
Register Primary Advanced Image Printing OBEX server.
Definition bip.h:1173
int bt_bip_start_print_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf)
Send Start Print response.
int bt_bip_get_capabilities_rsp(struct bt_bip_server *server, uint8_t rsp_code, struct net_buf *buf)
Send Get Capabilities response.
static int bt_bip_primary_image_push_server_register(struct bt_bip *bip, struct bt_bip_server *server, const struct bt_uuid_128 *uuid, struct bt_bip_server_cb *cb)
Register Primary Image Push OBEX server.
Definition bip.h:1133
int bt_bip_add_header_image_desc(struct net_buf *buf, uint16_t len, const uint8_t *desc)
Add Image Descriptor header to buffer.
int bt_bip_l2cap_connect(struct bt_conn *conn, struct bt_bip *bip, uint16_t psm)
Create transport connection over L2CAP.
int bt_bip_put_image(struct bt_bip_client *client, bool final, struct net_buf *buf)
Send Put Image request.
int bt_bip_get_capabilities(struct bt_bip_client *client, bool final, struct net_buf *buf)
Send Get Capabilities request.
int bt_bip_set_supported_functions(struct bt_bip *bip, uint32_t functions)
Set supported functions of BIP responder.
bt_bip_conn_type
BIP OBEX connection types.
Definition bip.h:239
int bt_bip_l2cap_register(struct bt_bip_l2cap_server *server)
Register BIP L2CAP server.
@ BT_BIP_ROLE_RESPONDER
Connection responder.
Definition bip.h:269
@ BT_BIP_ROLE_INITIATOR
Connection initiator.
Definition bip.h:267
@ BT_BIP_ROLE_UNKNOWN
Unknown role.
Definition bip.h:265
@ BT_BIP_APPL_PARAM_TAG_ID_LIST_START_OFFSET
List start offset parameter.
Definition bip.h:88
@ BT_BIP_APPL_PARAM_TAG_ID_PARTIAL_FILE_START_OFFSET
Partial file start offset parameter.
Definition bip.h:94
@ BT_BIP_APPL_PARAM_TAG_ID_TOTAL_FILE_SIZE
Total file size parameter.
Definition bip.h:96
@ BT_BIP_APPL_PARAM_TAG_ID_SERVICE_ID
Service ID parameter.
Definition bip.h:102
@ BT_BIP_APPL_PARAM_TAG_ID_LATEST_CAPTURED_IMAGES
Latest captured images parameter.
Definition bip.h:90
@ BT_BIP_APPL_PARAM_TAG_ID_END_FLAG
End flag parameter.
Definition bip.h:98
@ BT_BIP_APPL_PARAM_TAG_ID_REMOTE_DISPLAY
Remote display parameter.
Definition bip.h:100
@ BT_BIP_APPL_PARAM_TAG_ID_RETURNED_HANDLES
Number of returned handles parameter.
Definition bip.h:86
@ BT_BIP_APPL_PARAM_TAG_ID_PARTIAL_FILE_LEN
Partial file length parameter.
Definition bip.h:92
@ BT_BIP_APPL_PARAM_TAG_ID_STORE_FLAG
Store flag parameter.
Definition bip.h:104
@ BT_BIP_SUPP_FUNC_GET_LINKED_THUMBNAIL
Get Linked Thumbnail function - supports retrieving image thumbnails.
Definition bip.h:362
@ BT_BIP_SUPP_FUNC_DELETE_IMAGE
Delete Image function - supports deleting images on the peer device.
Definition bip.h:366
@ BT_BIP_SUPP_FUNC_GET_MONITORING_IMAGE
Get Monitoring Image function - supports retrieving monitoring images from remote camera.
Definition bip.h:376
@ BT_BIP_SUPP_FUNC_PUT_LINKED_THUMBNAIL
Put Linked Thumbnail function - supports receiving image thumbnails.
Definition bip.h:352
@ BT_BIP_SUPP_FUNC_GET_CAPS
Get Capabilities function - supports retrieving device capabilities.
Definition bip.h:346
@ BT_BIP_SUPP_FUNC_START_ARCHIVE
Start Archive function - supports initiating archive operations.
Definition bip.h:372
@ BT_BIP_SUPP_FUNC_GET_IMAGE
Get Image function - supports retrieving/sending images.
Definition bip.h:360
@ BT_BIP_SUPP_FUNC_GET_IMAGE_LIST
Get Images List function - supports retrieving available image lists.
Definition bip.h:356
@ BT_BIP_SUPP_FUNC_PUT_LINKED_ATTACHMENT
Put Linked Attachment function - supports receiving image attachments.
Definition bip.h:350
@ BT_BIP_SUPP_FUNC_GET_STATUS
Get Status function - supports retrieving device/operation status.
Definition bip.h:378
@ BT_BIP_SUPP_FUNC_GET_LINKED_ATTACHMENT
Get Linked Attachment function - supports retrieving image attachments.
Definition bip.h:364
@ BT_BIP_SUPP_FUNC_REMOTE_DISPLAY
Remote Display function - supports remote display operations.
Definition bip.h:354
@ BT_BIP_SUPP_FUNC_START_PRINT
Start Print function - supports initiating print operations.
Definition bip.h:368
@ BT_BIP_SUPP_FUNC_GET_PARTIAL_IMAGE
Get Partial Image function - supports retrieving partial image data.
Definition bip.h:370
@ BT_BIP_SUPP_FUNC_GET_IMAGE_PROPERTIES
Get Image Properties function - supports retrieving image metadata.
Definition bip.h:358
@ BT_BIP_SUPP_FUNC_PUT_IMAGE
Put Image function - supports receiving/storing images.
Definition bip.h:348
@ BT_BIP_TRANSPORT_STATE_CONNECTED
Transport is connected.
Definition bip.h:283
@ BT_BIP_TRANSPORT_STATE_DISCONNECTING
Transport is disconnecting.
Definition bip.h:285
@ BT_BIP_TRANSPORT_STATE_CONNECTING
Transport is connecting.
Definition bip.h:281
@ BT_BIP_TRANSPORT_STATE_DISCONNECTED
Transport is disconnected.
Definition bip.h:279
@ BT_BIP_SUPP_FEAT_REMOTE_DISPLAY
Remote Display feature - supports remote display control.
Definition bip.h:331
@ BT_BIP_SUPP_FEAT_IMAGE_PUSH_DISPLAY
Image Push Display feature - supports displaying pushed images.
Definition bip.h:321
@ BT_BIP_SUPP_FEAT_IMAGE_PUSH_STORE
Image Push Store feature - supports storing pushed images permanently.
Definition bip.h:317
@ BT_BIP_SUPP_FEAT_REMOTE_CAMERA
Remote Camera feature - supports remote camera control and image capture.
Definition bip.h:329
@ BT_BIP_SUPP_FEAT_IMAGE_PULL
Image Pull feature - allows pulling/retrieving images from the peer.
Definition bip.h:323
@ BT_BIP_SUPP_FEAT_IMAGE_PUSH
Image Push feature - allows pushing images to the peer device.
Definition bip.h:315
@ BT_BIP_SUPP_FEAT_ADVANCED_IMAGE_PRINT
Advanced Image Printing feature - supports advanced printing operations.
Definition bip.h:325
@ BT_BIP_SUPP_FEAT_IMAGE_PUSH_PRINT
Image Push Print feature - supports printing pushed images directly.
Definition bip.h:319
@ BT_BIP_SUPP_FEAT_AUTO_ARCHIVE
Auto Archive feature - supports automatic archiving of images.
Definition bip.h:327
@ BT_BIP_SUPP_CAP_DISPLAYING
Displaying.
Definition bip.h:303
@ BT_BIP_SUPP_CAP_PRINTING
Printing.
Definition bip.h:301
@ BT_BIP_SUPP_CAP_GENERIC_IMAGE
Generic imaging.
Definition bip.h:297
@ BT_BIP_SUPP_CAP_CAPTURING
Capturing.
Definition bip.h:299
@ BT_BIP_STATE_DISCONNECTING
Connection is being terminated.
Definition bip.h:478
@ BT_BIP_STATE_DISCONNECTED
Connection is disconnected.
Definition bip.h:472
@ BT_BIP_STATE_CONNECTING
Connection is being established.
Definition bip.h:474
@ BT_BIP_STATE_CONNECTED
Connection is established.
Definition bip.h:476
@ BT_BIP_PRIM_CONN_TYPE_IMAGE_PULL
Primary Image Pull connection.
Definition bip.h:243
@ BT_BIP_PRIM_CONN_TYPE_ADVANCED_IMAGE_PRINTING
Primary Advanced Image Printing connection.
Definition bip.h:245
@ BT_BIP_PRIM_CONN_TYPE_REMOTE_DISPLAY
Primary Remote Display connection.
Definition bip.h:251
@ BT_BIP_2ND_CONN_TYPE_REFERENCED_OBJECTS
Secondary Referenced Objects connection.
Definition bip.h:253
@ BT_BIP_PRIM_CONN_TYPE_IMAGE_PUSH
Primary Image Push connection.
Definition bip.h:241
@ BT_BIP_PRIM_CONN_TYPE_REMOTE_CAMERA
Primary Remote Camera connection.
Definition bip.h:249
@ BT_BIP_2ND_CONN_TYPE_ARCHIVED_OBJECTS
Secondary Archived Objects connection.
Definition bip.h:255
@ BT_BIP_PRIM_CONN_TYPE_AUTO_ARCHIVE
Primary Auto Archive connection.
Definition bip.h:247
struct _slist sys_slist_t
Single-linked list structure.
Definition slist.h:49
struct _snode sys_snode_t
Single-linked list node structure.
Definition slist.h:39
Public kernel APIs.
Bluetooth L2CAP handling.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
BIP client callback structure.
Definition bip.h:672
void(* disconnect)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
OBEX Disconnect response received.
Definition bip.h:692
void(* put_image)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
Put Image response received.
Definition bip.h:796
void(* get_monitoring_image)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
Get Monitoring Image response received.
Definition bip.h:777
void(* get_image_properties)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
Get Image Properties response received.
Definition bip.h:728
void(* get_status)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
Get Status response received.
Definition bip.h:787
void(* put_linked_attachment)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
Put Linked Attachment response received.
Definition bip.h:815
void(* remote_display)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
Remote Display response received.
Definition bip.h:825
void(* get_caps)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
Get Capabilities response received.
Definition bip.h:710
void(* delete_image)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
Delete Image response received.
Definition bip.h:834
void(* start_archive)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
Start Archive response received.
Definition bip.h:852
void(* start_print)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
Start Print response received.
Definition bip.h:843
void(* get_linked_attachment)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
Get Linked Attachment response received.
Definition bip.h:757
void(* get_partial_image)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
Get Partial Image response received.
Definition bip.h:767
void(* get_linked_thumbnail)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
Get Linked Thumbnail response received.
Definition bip.h:747
void(* get_image)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
Get Image response received.
Definition bip.h:738
void(* abort)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
OBEX Abort response received.
Definition bip.h:701
void(* get_image_list)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
Get Image List response received.
Definition bip.h:719
void(* put_linked_thumbnail)(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
Put Linked Thumbnail response received.
Definition bip.h:805
void(* connect)(struct bt_bip_client *client, uint8_t rsp_code, uint8_t version, uint16_t mopl, struct net_buf *buf)
OBEX Connect response received.
Definition bip.h:682
BIP client instance structure.
Definition bip.h:905
BIP L2CAP server structure.
Definition bip.h:190
struct bt_goep_transport_l2cap_server server
Underlying GOEP L2CAP server.
Definition bip.h:192
int(* accept)(struct bt_conn *conn, struct bt_bip_l2cap_server *server, struct bt_bip **bip)
Accept connection callback.
Definition bip.h:204
BIP RFCOMM server structure.
Definition bip.h:141
struct bt_goep_transport_rfcomm_server server
Underlying GOEP RFCOMM server.
Definition bip.h:143
int(* accept)(struct bt_conn *conn, struct bt_bip_rfcomm_server *server, struct bt_bip **bip)
Accept connection callback.
Definition bip.h:155
BIP server callback structure.
Definition bip.h:489
void(* connect)(struct bt_bip_server *server, uint8_t version, uint16_t mopl, struct net_buf *buf)
OBEX Connect request received.
Definition bip.h:498
void(* delete_image)(struct bt_bip_server *server, bool final, struct net_buf *buf)
Delete Image request received.
Definition bip.h:643
void(* get_image)(struct bt_bip_server *server, bool final, struct net_buf *buf)
Get Image request received.
Definition bip.h:551
void(* get_status)(struct bt_bip_server *server, bool final, struct net_buf *buf)
Get Status request received.
Definition bip.h:597
void(* put_linked_attachment)(struct bt_bip_server *server, bool final, struct net_buf *buf)
Put Linked Attachment request received.
Definition bip.h:624
void(* put_linked_thumbnail)(struct bt_bip_server *server, bool final, struct net_buf *buf)
Put Linked Thumbnail request received.
Definition bip.h:615
void(* start_archive)(struct bt_bip_server *server, bool final, struct net_buf *buf)
Start Archive request received.
Definition bip.h:661
void(* get_caps)(struct bt_bip_server *server, bool final, struct net_buf *buf)
Get Capabilities request received.
Definition bip.h:524
void(* start_print)(struct bt_bip_server *server, bool final, struct net_buf *buf)
Start Print request received.
Definition bip.h:652
void(* get_partial_image)(struct bt_bip_server *server, bool final, struct net_buf *buf)
Get Partial Image request received.
Definition bip.h:579
void(* put_image)(struct bt_bip_server *server, bool final, struct net_buf *buf)
Put Image request received.
Definition bip.h:606
void(* remote_display)(struct bt_bip_server *server, bool final, struct net_buf *buf)
Remote Display request received.
Definition bip.h:634
void(* abort)(struct bt_bip_server *server, struct net_buf *buf)
OBEX Abort request received.
Definition bip.h:515
void(* get_monitoring_image)(struct bt_bip_server *server, bool final, struct net_buf *buf)
Get Monitoring Image request received.
Definition bip.h:588
void(* get_linked_attachment)(struct bt_bip_server *server, bool final, struct net_buf *buf)
Get Linked Attachment request received.
Definition bip.h:569
void(* get_image_list)(struct bt_bip_server *server, bool final, struct net_buf *buf)
Get Image List request received.
Definition bip.h:533
void(* disconnect)(struct bt_bip_server *server, struct net_buf *buf)
OBEX Disconnect request received.
Definition bip.h:507
void(* get_image_properties)(struct bt_bip_server *server, bool final, struct net_buf *buf)
Get Image Properties request received.
Definition bip.h:542
void(* get_linked_thumbnail)(struct bt_bip_server *server, bool final, struct net_buf *buf)
Get Linked Thumbnail request received.
Definition bip.h:560
BIP server instance structure.
Definition bip.h:860
BIP transport layer operations.
Definition bip.h:115
void(* disconnected)(struct bt_bip *bip)
Transport disconnected callback.
Definition bip.h:133
void(* connected)(struct bt_conn *conn, struct bt_bip *bip)
Transport connected callback.
Definition bip.h:124
BIP instance structure.
Definition bip.h:386
enum bt_bip_role role
Role in the connection.
Definition bip.h:390
const struct bt_bip_transport_ops * ops
Transport operation callbacks.
Definition bip.h:393
struct bt_goep goep
Underlying GOEP instance.
Definition bip.h:388
GOEP Server structure for GOEP v2.0 and later.
Definition goep.h:228
GOEP Server structure GOEP v1.1.
Definition goep.h:128
Definition goep.h:87
OBEX client structure.
Definition obex.h:541
OBEX server structure.
Definition obex.h:497
Definition uuid.h:68
Network buffer representation.
Definition net_buf.h:1006
uint16_t len
Length of the data behind the data pointer.
Definition net_buf.h:1035
Binary representation of a UUID.
Definition uuid.h:48