Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
map.h
Go to the documentation of this file.
1
4
5/*
6 * Copyright 2026 NXP
7 *
8 * SPDX-License-Identifier: Apache-2.0
9 */
10
11#ifndef ZEPHYR_INCLUDE_BLUETOOTH_MAP_H_
12#define ZEPHYR_INCLUDE_BLUETOOTH_MAP_H_
13
20
21#include <zephyr/kernel.h>
22#include <errno.h>
23
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
39#define BT_MAP_MANDATORY_SUPPORTED_FEATURES (0x0000001FU)
40
46#define BT_MAP_UUID_MAS \
47 (const struct bt_uuid_128 *)BT_UUID_DECLARE_128( \
48 BT_UUID_128_ENCODE(0xBB582B40, 0x420C, 0x11DB, 0xB0DE, 0x0800200C9A66))
49
55#define BT_MAP_UUID_MNS \
56 (const struct bt_uuid_128 *)BT_UUID_DECLARE_128( \
57 BT_UUID_128_ENCODE(0xBB582B41, 0x420C, 0x11DB, 0xB0DE, 0x0800200C9A66))
58
64#define BT_MAP_FILLER_BYTE "0"
65
67#define BT_MAP_HDR_TYPE_SEND_EVENT "x-bt/MAP-event-report"
69#define BT_MAP_HDR_TYPE_SET_NTF_REG "x-bt/MAP-NotificationRegistration"
71#define BT_MAP_HDR_TYPE_GET_FOLDER_LISTING "x-obex/folder-listing"
73#define BT_MAP_HDR_TYPE_GET_MSG_LISTING "x-bt/MAP-msg-listing"
75#define BT_MAP_HDR_TYPE_GET_MSG "x-bt/message"
77#define BT_MAP_HDR_TYPE_SET_MSG_STATUS "x-bt/messageStatus"
79#define BT_MAP_HDR_TYPE_PUSH_MSG "x-bt/message"
81#define BT_MAP_HDR_TYPE_UPDATE_INBOX "x-bt/MAP-messageUpdate"
83#define BT_MAP_HDR_TYPE_GET_MAS_INST_INFO "x-bt/MASInstanceInformation"
85#define BT_MAP_HDR_TYPE_SET_OWNER_STATUS "x-bt/ownerStatus"
87#define BT_MAP_HDR_TYPE_GET_OWNER_STATUS "x-bt/ownerStatus"
89#define BT_MAP_HDR_TYPE_GET_CONVO_LISTING "x-bt/MAP-convo-listing"
91#define BT_MAP_HDR_TYPE_SET_NTF_FILTER "x-bt/MAP-notification-filter"
92
146
163
176
269};
270
289
302
315
326
337
342enum __packed bt_map_retry {
347};
348
353enum __packed bt_map_new_msg {
358};
359
370
419
430
441
452
465
476
497
516
553
590
605
616
623
625struct bt_map_mce_mas;
626
640 void (*rfcomm_connected)(struct bt_conn *conn, struct bt_map_mce_mas *mce_mas);
641
649 void (*rfcomm_disconnected)(struct bt_map_mce_mas *mce_mas);
650
659 void (*l2cap_connected)(struct bt_conn *conn, struct bt_map_mce_mas *mce_mas);
660
668 void (*l2cap_disconnected)(struct bt_map_mce_mas *mce_mas);
669
681 void (*connect)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, uint8_t version,
682 uint16_t mopl, struct net_buf *buf);
683
692 void (*disconnect)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf);
693
702 void (*abort)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf);
703
712 void (*set_ntf_reg)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf);
713
722 void (*set_folder)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf);
723
734 void (*get_folder_listing)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code,
735 struct net_buf *buf);
736
747 void (*get_msg_listing)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code,
748 struct net_buf *buf);
749
760 void (*get_msg)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf);
761
770 void (*set_msg_status)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code,
771 struct net_buf *buf);
772
783 void (*push_msg)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf);
784
793 void (*update_inbox)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf);
794
805 void (*get_mas_inst_info)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code,
806 struct net_buf *buf);
807
816 void (*set_owner_status)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code,
817 struct net_buf *buf);
818
829 void (*get_owner_status)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code,
830 struct net_buf *buf);
831
842 void (*get_convo_listing)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code,
843 struct net_buf *buf);
844
853 void (*set_ntf_filter)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code,
854 struct net_buf *buf);
855};
856
864 struct bt_goep goep;
865
867 const struct bt_map_mce_mas_cb *_cb;
868
870 uint8_t _transport_type;
871
873 atomic_t _transport_state;
874
876 uint32_t _conn_id;
877
879 struct bt_obex_client _client;
880
882 atomic_t _state;
883
885 void (*_rsp_cb)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf);
886
888 const char *_req_type;
889};
890
901int bt_map_mce_mas_cb_register(struct bt_map_mce_mas *mce_mas, const struct bt_map_mce_mas_cb *cb);
902
915int bt_map_mce_mas_rfcomm_connect(struct bt_conn *conn, struct bt_map_mce_mas *mce_mas,
916 uint8_t channel);
917
929
941int bt_map_mce_mas_l2cap_connect(struct bt_conn *conn, struct bt_map_mce_mas *mce_mas,
942 uint16_t psm);
943
955
967 struct net_buf_pool *pool);
968
983int bt_map_mce_mas_connect(struct bt_map_mce_mas *mce_mas, struct net_buf *buf);
984
998int bt_map_mce_mas_disconnect(struct bt_map_mce_mas *mce_mas, struct net_buf *buf);
999
1013int bt_map_mce_mas_abort(struct bt_map_mce_mas *mce_mas, struct net_buf *buf);
1014
1030
1045int bt_map_mce_mas_set_ntf_reg(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf);
1046
1062 struct net_buf *buf);
1063
1078int bt_map_mce_mas_get_msg_listing(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf);
1079
1094int bt_map_mce_mas_get_msg(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf);
1095
1110int bt_map_mce_mas_set_msg_status(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf);
1111
1127int bt_map_mce_mas_push_msg(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf);
1128
1143int bt_map_mce_mas_update_inbox(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf);
1144
1160int bt_map_mce_mas_get_mas_inst_info(struct bt_map_mce_mas *mce_mas, bool final,
1161 struct net_buf *buf);
1162
1177int bt_map_mce_mas_set_owner_status(struct bt_map_mce_mas *mce_mas, bool final,
1178 struct net_buf *buf);
1179
1194int bt_map_mce_mas_get_owner_status(struct bt_map_mce_mas *mce_mas, bool final,
1195 struct net_buf *buf);
1196
1211int bt_map_mce_mas_get_convo_listing(struct bt_map_mce_mas *mce_mas, bool final,
1212 struct net_buf *buf);
1213
1228int bt_map_mce_mas_set_ntf_filter(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf);
1229 /* end of bt_map_mce_mas */
1231
1238
1240struct bt_map_mce_mns;
1241
1262
1283
1297 void (*rfcomm_connected)(struct bt_conn *conn, struct bt_map_mce_mns *mce_mns);
1298
1305 void (*rfcomm_disconnected)(struct bt_map_mce_mns *mce_mns);
1306
1315 void (*l2cap_connected)(struct bt_conn *conn, struct bt_map_mce_mns *mce_mns);
1316
1323 void (*l2cap_disconnected)(struct bt_map_mce_mns *mce_mns);
1324
1335 void (*connect)(struct bt_map_mce_mns *mce_mns, uint8_t version, uint16_t mopl,
1336 struct net_buf *buf);
1337
1346 void (*disconnect)(struct bt_map_mce_mns *mce_mns, struct net_buf *buf);
1347
1356 void (*abort)(struct bt_map_mce_mns *mce_mns, struct net_buf *buf);
1357
1368 void (*send_event)(struct bt_map_mce_mns *mce_mns, bool final, struct net_buf *buf);
1369};
1370
1379
1381 const struct bt_map_mce_mns_cb *_cb;
1382
1384 uint8_t _transport_type;
1385
1387 atomic_t _transport_state;
1388
1390 uint32_t _conn_id;
1391
1393 struct bt_obex_server _server;
1394
1396 atomic_t _state;
1397
1399 void (*_req_cb)(struct bt_map_mce_mns *mce_mns, bool final, struct net_buf *buf);
1400
1402 const char *_optype;
1403
1405 uint8_t _opcode;
1406};
1407
1418int bt_map_mce_mns_cb_register(struct bt_map_mce_mns *mce_mns, const struct bt_map_mce_mns_cb *cb);
1419
1430
1442
1453
1465
1477 struct net_buf_pool *pool);
1478
1492int bt_map_mce_mns_connect(struct bt_map_mce_mns *mce_mns, uint8_t rsp_code, struct net_buf *buf);
1493
1508 struct net_buf *buf);
1509
1523int bt_map_mce_mns_abort(struct bt_map_mce_mns *mce_mns, uint8_t rsp_code, struct net_buf *buf);
1524
1540 struct net_buf *buf);
1541 /* end of bt_map_mce_mns */
1543
1550
1552struct bt_map_mse_mas;
1553
1575
1597
1611 void (*rfcomm_connected)(struct bt_conn *conn, struct bt_map_mse_mas *mse_mas);
1612
1619 void (*rfcomm_disconnected)(struct bt_map_mse_mas *mse_mas);
1620
1629 void (*l2cap_connected)(struct bt_conn *conn, struct bt_map_mse_mas *mse_mas);
1630
1637 void (*l2cap_disconnected)(struct bt_map_mse_mas *mse_mas);
1638
1649 void (*connect)(struct bt_map_mse_mas *mse_mas, uint8_t version, uint16_t mopl,
1650 struct net_buf *buf);
1651
1660 void (*disconnect)(struct bt_map_mse_mas *mse_mas, struct net_buf *buf);
1661
1670 void (*abort)(struct bt_map_mse_mas *mse_mas, struct net_buf *buf);
1671
1682 void (*set_ntf_reg)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1683
1693 void (*set_folder)(struct bt_map_mse_mas *mse_mas, uint8_t flags, struct net_buf *buf);
1694
1705 void (*get_folder_listing)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1706
1717 void (*get_msg_listing)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1718
1729 void (*get_msg)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1730
1741 void (*set_msg_status)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1742
1753 void (*push_msg)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1754
1765 void (*update_inbox)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1766
1777 void (*get_mas_inst_info)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1778
1789 void (*set_owner_status)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1790
1801 void (*get_owner_status)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1802
1813 void (*get_convo_listing)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1814
1825 void (*set_ntf_filter)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1826};
1827
1836
1838 const struct bt_map_mse_mas_cb *_cb;
1839
1841 uint8_t _transport_type;
1842
1844 atomic_t _transport_state;
1845
1847 uint32_t _conn_id;
1848
1850 struct bt_obex_server _server;
1851
1853 atomic_t _state;
1854
1856 void (*_req_cb)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1857
1859 const char *_optype;
1860
1862 uint8_t _opcode;
1863};
1864
1875int bt_map_mse_mas_cb_register(struct bt_map_mse_mas *mse_mas, const struct bt_map_mse_mas_cb *cb);
1876
1887
1899
1910
1922
1934 struct net_buf_pool *pool);
1935
1949int bt_map_mse_mas_connect(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf);
1950
1964 struct net_buf *buf);
1965
1979int bt_map_mse_mas_abort(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf);
1980
1995 struct net_buf *buf);
1996
2011 struct net_buf *buf);
2012
2028 struct net_buf *buf);
2029
2045 struct net_buf *buf);
2046
2061int bt_map_mse_mas_get_msg(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf);
2062
2077 struct net_buf *buf);
2078
2093int bt_map_mse_mas_push_msg(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf);
2094
2109 struct net_buf *buf);
2110
2126 struct net_buf *buf);
2127
2142 struct net_buf *buf);
2143
2159 struct net_buf *buf);
2160
2176 struct net_buf *buf);
2177
2192 struct net_buf *buf);
2193 /* end of bt_map_mse_mas */
2195
2202
2204struct bt_map_mse_mns;
2205
2219 void (*rfcomm_connected)(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns);
2220
2228 void (*rfcomm_disconnected)(struct bt_map_mse_mns *mse_mns);
2229
2238 void (*l2cap_connected)(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns);
2239
2247 void (*l2cap_disconnected)(struct bt_map_mse_mns *mse_mns);
2248
2260 void (*connect)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, uint8_t version,
2261 uint16_t mopl, struct net_buf *buf);
2262
2271 void (*disconnect)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, struct net_buf *buf);
2272
2282 void (*abort)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, struct net_buf *buf);
2283
2294 void (*send_event)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, struct net_buf *buf);
2295};
2296
2305
2307 const struct bt_map_mse_mns_cb *_cb;
2308
2310 uint8_t _transport_type;
2311
2313 atomic_t _transport_state;
2314
2316 uint32_t _conn_id;
2317
2319 struct bt_obex_client _client;
2320
2322 atomic_t _state;
2323
2325 void (*_rsp_cb)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, struct net_buf *buf);
2326
2328 const char *_req_type;
2329};
2330
2341int bt_map_mse_mns_cb_register(struct bt_map_mse_mns *mse_mns, const struct bt_map_mse_mns_cb *cb);
2342
2355int bt_map_mse_mns_rfcomm_connect(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns,
2356 uint8_t channel);
2357
2369
2381int bt_map_mse_mns_l2cap_connect(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns,
2382 uint16_t psm);
2383
2395
2407 struct net_buf_pool *pool);
2408
2423int bt_map_mse_mns_connect(struct bt_map_mse_mns *mse_mns, struct net_buf *buf);
2424
2438int bt_map_mse_mns_disconnect(struct bt_map_mse_mns *mse_mns, struct net_buf *buf);
2439
2453int bt_map_mse_mns_abort(struct bt_map_mse_mns *mse_mns, struct net_buf *buf);
2454
2471int bt_map_mse_mns_send_event(struct bt_map_mse_mns *mse_mns, bool final, struct net_buf *buf);
2472 /* end of bt_map_mse_mns */
2474
2475#ifdef __cplusplus
2476}
2477#endif
2478
2482
2483#endif /* ZEPHYR_INCLUDE_BLUETOOTH_MAP_H_ */
long atomic_t
Definition atomic_types.h:15
Bluetooth subsystem core APIs.
Bluetooth UUID handling.
Bluetooth connection handling.
System error numbers.
int bt_map_mce_mas_connect(struct bt_map_mce_mas *mce_mas, struct net_buf *buf)
Send OBEX connect request.
int bt_map_mce_mas_disconnect(struct bt_map_mce_mas *mce_mas, struct net_buf *buf)
Send OBEX disconnect request.
int bt_map_mce_mas_l2cap_connect(struct bt_conn *conn, struct bt_map_mce_mas *mce_mas, uint16_t psm)
Connect MAP Client MAS over L2CAP.
int bt_map_mce_mas_l2cap_disconnect(struct bt_map_mce_mas *mce_mas)
Disconnect MAP Client MAS over L2CAP.
int bt_map_mce_mas_get_owner_status(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf)
Send get owner status request.
int bt_map_mce_mas_set_ntf_filter(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf)
Send set notification filter request.
int bt_map_mce_mas_rfcomm_disconnect(struct bt_map_mce_mas *mce_mas)
Disconnect MAP Client MAS over RFCOMM.
int bt_map_mce_mas_get_msg(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf)
Send get message request.
int bt_map_mce_mas_set_owner_status(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf)
Send set owner status request.
int bt_map_mce_mas_push_msg(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf)
Send push message request.
int bt_map_mce_mas_get_folder_listing(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf)
Send get folder listing request.
struct net_buf * bt_map_mce_mas_create_pdu(struct bt_map_mce_mas *mce_mas, struct net_buf_pool *pool)
Create PDU for MAP Client MAS.
int bt_map_mce_mas_cb_register(struct bt_map_mce_mas *mce_mas, const struct bt_map_mce_mas_cb *cb)
Register callbacks for MAP Client MAS.
int bt_map_mce_mas_set_folder(struct bt_map_mce_mas *mce_mas, uint8_t flags, struct net_buf *buf)
Send set folder request.
int bt_map_mce_mas_set_msg_status(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf)
Send set message status request.
int bt_map_mce_mas_get_mas_inst_info(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf)
Send get MAS instance info request.
int bt_map_mce_mas_get_convo_listing(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf)
Send get conversation listing request.
int bt_map_mce_mas_set_ntf_reg(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf)
Send set notification registration request.
int bt_map_mce_mas_rfcomm_connect(struct bt_conn *conn, struct bt_map_mce_mas *mce_mas, uint8_t channel)
Connect MAP Client MAS over RFCOMM.
int bt_map_mce_mas_update_inbox(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf)
Send update inbox request.
int bt_map_mce_mas_get_msg_listing(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf)
Send get message listing request.
int bt_map_mce_mas_abort(struct bt_map_mce_mas *mce_mas, struct net_buf *buf)
Send OBEX abort request.
struct net_buf * bt_map_mce_mns_create_pdu(struct bt_map_mce_mns *mce_mns, struct net_buf_pool *pool)
Create PDU for MAP Client MNS.
int bt_map_mce_mns_disconnect(struct bt_map_mce_mns *mce_mns, uint8_t rsp_code, struct net_buf *buf)
Send OBEX disconnect response.
int bt_map_mce_mns_send_event(struct bt_map_mce_mns *mce_mns, uint8_t rsp_code, struct net_buf *buf)
Send event response.
int bt_map_mce_mns_cb_register(struct bt_map_mce_mns *mce_mns, const struct bt_map_mce_mns_cb *cb)
Register callbacks for MAP Client MNS.
int bt_map_mce_mns_rfcomm_register(struct bt_map_mce_mns_rfcomm_server *server)
Register MAP Client MNS RFCOMM server.
int bt_map_mce_mns_abort(struct bt_map_mce_mns *mce_mns, uint8_t rsp_code, struct net_buf *buf)
Send OBEX abort response.
int bt_map_mce_mns_l2cap_register(struct bt_map_mce_mns_l2cap_server *server)
Register MAP Client MNS L2CAP server.
int bt_map_mce_mns_connect(struct bt_map_mce_mns *mce_mns, uint8_t rsp_code, struct net_buf *buf)
Send OBEX connect response.
int bt_map_mce_mns_rfcomm_disconnect(struct bt_map_mce_mns *mce_mns)
Disconnect MAP Client MNS over RFCOMM.
int bt_map_mce_mns_l2cap_disconnect(struct bt_map_mce_mns *mce_mns)
Disconnect MAP Client MNS over L2CAP.
int bt_map_mse_mas_l2cap_register(struct bt_map_mse_mas_l2cap_server *server)
Register MAP Server MAS L2CAP server.
int bt_map_mse_mas_set_owner_status(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf)
Send set owner status response.
int bt_map_mse_mas_get_msg_listing(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf)
Send get message listing response.
int bt_map_mse_mas_cb_register(struct bt_map_mse_mas *mse_mas, const struct bt_map_mse_mas_cb *cb)
Register callbacks for MAP Server MAS.
int bt_map_mse_mas_update_inbox(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf)
Send update inbox response.
int bt_map_mse_mas_get_owner_status(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf)
Send get owner status response.
int bt_map_mse_mas_set_ntf_filter(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf)
Send set notification filter response.
int bt_map_mse_mas_set_msg_status(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf)
Send set message status response.
int bt_map_mse_mas_abort(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf)
Send OBEX abort response.
int bt_map_mse_mas_set_ntf_reg(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf)
Send set notification registration response.
int bt_map_mse_mas_rfcomm_register(struct bt_map_mse_mas_rfcomm_server *server)
Register MAP Server MAS RFCOMM server.
int bt_map_mse_mas_l2cap_disconnect(struct bt_map_mse_mas *mse_mas)
Disconnect MAP Server MAS over L2CAP.
int bt_map_mse_mas_rfcomm_disconnect(struct bt_map_mse_mas *mse_mas)
Disconnect MAP Server MAS over RFCOMM.
int bt_map_mse_mas_get_folder_listing(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf)
Send get folder listing response.
int bt_map_mse_mas_get_msg(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf)
Send get message response.
struct net_buf * bt_map_mse_mas_create_pdu(struct bt_map_mse_mas *mse_mas, struct net_buf_pool *pool)
Create PDU for MAP Server MAS.
int bt_map_mse_mas_get_mas_inst_info(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf)
Send get MAS instance info response.
int bt_map_mse_mas_disconnect(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf)
Send OBEX disconnect response.
int bt_map_mse_mas_push_msg(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf)
Send push message response.
int bt_map_mse_mas_set_folder(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf)
Send set folder response.
int bt_map_mse_mas_connect(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf)
Send OBEX connect response.
int bt_map_mse_mas_get_convo_listing(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf)
Send get conversation listing response.
int bt_map_mse_mns_rfcomm_disconnect(struct bt_map_mse_mns *mse_mns)
Disconnect MAP Server MNS over RFCOMM.
int bt_map_mse_mns_disconnect(struct bt_map_mse_mns *mse_mns, struct net_buf *buf)
Send OBEX disconnect request.
int bt_map_mse_mns_l2cap_connect(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns, uint16_t psm)
Connect MAP Server MNS over L2CAP.
int bt_map_mse_mns_l2cap_disconnect(struct bt_map_mse_mns *mse_mns)
Disconnect MAP Server MNS over L2CAP.
int bt_map_mse_mns_rfcomm_connect(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns, uint8_t channel)
Connect MAP Server MNS over RFCOMM.
int bt_map_mse_mns_cb_register(struct bt_map_mse_mns *mse_mns, const struct bt_map_mse_mns_cb *cb)
Register callbacks for MAP Server MNS.
int bt_map_mse_mns_connect(struct bt_map_mse_mns *mse_mns, struct net_buf *buf)
Send OBEX connect request.
struct net_buf * bt_map_mse_mns_create_pdu(struct bt_map_mse_mns *mse_mns, struct net_buf_pool *pool)
Create PDU for MAP Server MNS.
int bt_map_mse_mns_send_event(struct bt_map_mse_mns *mse_mns, bool final, struct net_buf *buf)
Send event notification request.
int bt_map_mse_mns_abort(struct bt_map_mse_mns *mse_mns, struct net_buf *buf)
Send OBEX abort request.
bt_map_charset
MAP charset values.
Definition map.h:424
bt_map_transparent
MAP transparent values.
Definition map.h:331
bt_map_msg_ext_data
MAP message extended data types.
Definition map.h:595
bt_map_attachment
MAP attachment values.
Definition map.h:320
bt_map_fraction_deliver
MAP fraction deliver values.
Definition map.h:446
bt_map_fraction_request
MAP fraction request values.
Definition map.h:435
bt_map_retry
MAP retry values.
Definition map.h:342
bt_map_filter_priority
MAP filter priority values.
Definition map.h:307
bt_map_set_folder_flags
MAP set folder operation flags.
Definition map.h:168
bt_map_ntf_filter_mask
MAP notification filter mask bits.
Definition map.h:521
bt_map_supported_msg_type
MAP supported message types.
Definition map.h:151
bt_map_convo_param_mask
MAP conversation parameter mask bits.
Definition map.h:558
bt_map_supported_features
MAP supported features.
Definition map.h:98
bt_map_appl_param_tag_id
MAP application parameter tag identifiers.
Definition map.h:182
bt_map_status_val
MAP status value values.
Definition map.h:470
bt_map_filter_msg_type
MAP filter message type values.
Definition map.h:275
bt_map_ntf_status
MAP notification status values.
Definition map.h:364
bt_map_new_msg
MAP new message values.
Definition map.h:353
bt_map_presence
MAP presence availability states.
Definition map.h:481
bt_map_status_ind
MAP status indicator values.
Definition map.h:457
bt_map_filter_read_status
MAP filter read status values.
Definition map.h:294
bt_map_chat_state
MAP chat states.
Definition map.h:502
bt_map_param_mask
MAP parameter mask bits.
Definition map.h:375
bt_map_modify_text
MAP modify text values.
Definition map.h:610
@ BT_MAP_CHARSET_NATIVE
Native charset.
Definition map.h:426
@ BT_MAP_CHARSET_UTF8
UTF-8 charset.
Definition map.h:428
@ BT_MAP_TRANSPARENT_OFF
Off - not transparent.
Definition map.h:333
@ BT_MAP_TRANSPARENT_ON
On - transparent.
Definition map.h:335
@ BT_MAP_MSG_EXT_DATA_TWITTER_RETWEETS
Number of Twitter retweets.
Definition map.h:601
@ BT_MAP_MSG_EXT_DATA_GOOGLE_1S
Number of Google +1s.
Definition map.h:603
@ BT_MAP_MSG_EXT_DATA_TWITTER_FOLLOWERS
Number of Twitter followers.
Definition map.h:599
@ BT_MAP_MSG_EXT_DATA_FACEBOOK_LIKES
Number of Facebook likes.
Definition map.h:597
@ BT_MAP_ATTACHMENT_ON
On - include attachments.
Definition map.h:324
@ BT_MAP_ATTACHMENT_OFF
Off - no attachments.
Definition map.h:322
@ BT_MAP_FRACTION_DELIVER_MORE
More fractions to follow.
Definition map.h:448
@ BT_MAP_FRACTION_DELIVER_LAST
Last fraction.
Definition map.h:450
@ BT_MAP_FRACTION_REQUEST_FIRST
First fraction.
Definition map.h:437
@ BT_MAP_FRACTION_REQUEST_NEXT
Next fraction.
Definition map.h:439
@ BT_MAP_RETRY_ON
On - retry.
Definition map.h:346
@ BT_MAP_RETRY_OFF
Off - no retry.
Definition map.h:344
@ BT_MAP_FILTER_PRIORITY_NO_FILTERING
No filtering.
Definition map.h:309
@ BT_MAP_FILTER_PRIORITY_NON_HIGH
Non-high priority messages only.
Definition map.h:313
@ BT_MAP_FILTER_PRIORITY_HIGH
High priority messages only.
Definition map.h:311
@ BT_MAP_SET_FOLDER_FLAGS_UP
Navigate up to parent folder.
Definition map.h:174
@ BT_MAP_SET_FOLDER_FLAGS_ROOT
Navigate to root folder.
Definition map.h:170
@ BT_MAP_SET_FOLDER_FLAGS_DOWN
Navigate down to child folder.
Definition map.h:172
@ BT_MAP_NTF_FILTER_MASK_MSG_REMOVED
MessageRemoved.
Definition map.h:551
@ BT_MAP_NTF_FILTER_MASK_PARTICIPANT_CHAT_STATE_CHANGED
ParticipantChatStateChanged.
Definition map.h:547
@ BT_MAP_NTF_FILTER_MASK_SENDING_FAILURE
SendingFailure.
Definition map.h:531
@ BT_MAP_NTF_FILTER_MASK_SENDING_SUCCESS
SendingSuccess.
Definition map.h:529
@ BT_MAP_NTF_FILTER_MASK_NEW_MSG
NewMessage.
Definition map.h:523
@ BT_MAP_NTF_FILTER_MASK_MEM_FULL
MemoryFull.
Definition map.h:537
@ BT_MAP_NTF_FILTER_MASK_CONVO_CHANGED
ConversationChanged.
Definition map.h:543
@ BT_MAP_NTF_FILTER_MASK_MSG_DELETED
MessageDeleted.
Definition map.h:525
@ BT_MAP_NTF_FILTER_MASK_PARTICIPANT_PRESENCE_CHANGED
ParticipantPresenceChanged.
Definition map.h:545
@ BT_MAP_NTF_FILTER_MASK_MEM_AVAIL
MemoryAvailable.
Definition map.h:539
@ BT_MAP_NTF_FILTER_MASK_DELIVERY_FAILURE
DeliveryFailure.
Definition map.h:535
@ BT_MAP_NTF_FILTER_MASK_READ_STATUS_CHANGED
ReadStatusChanged.
Definition map.h:541
@ BT_MAP_NTF_FILTER_MASK_MSG_SHIFT
MessageShift.
Definition map.h:527
@ BT_MAP_NTF_FILTER_MASK_MSG_EXT_DATA_CHANGED
MessageExtendedDataChanged.
Definition map.h:549
@ BT_MAP_NTF_FILTER_MASK_DELIVERY_SUCCESS
DeliverySuccess.
Definition map.h:533
@ BT_MAP_MSG_TYPE_IM
Instant messaging type.
Definition map.h:161
@ BT_MAP_MSG_TYPE_SMS_GSM
SMS GSM message type.
Definition map.h:155
@ BT_MAP_MSG_TYPE_SMS_CDMA
SMS CDMA message type.
Definition map.h:157
@ BT_MAP_MSG_TYPE_MMS
MMS message type.
Definition map.h:159
@ BT_MAP_MSG_TYPE_EMAIL
Email message type.
Definition map.h:153
@ BT_MAP_CONVO_PARAM_MASK_READ_STATUS
Read status.
Definition map.h:564
@ BT_MAP_CONVO_PARAM_MASK_PARTICIPANT_NAME
Participant name.
Definition map.h:582
@ BT_MAP_CONVO_PARAM_MASK_PARTICIPANT_X_BT_UID
Participant X-BT-UID.
Definition map.h:580
@ BT_MAP_CONVO_PARAM_MASK_PARTICIPANTS
Participants.
Definition map.h:570
@ BT_MAP_CONVO_PARAM_MASK_PARTICIPANT_DISP_NAME
Participant display name.
Definition map.h:574
@ BT_MAP_CONVO_PARAM_MASK_VER_CNTR
Version counter.
Definition map.h:566
@ BT_MAP_CONVO_PARAM_MASK_PARTICIPANT_PRIORITY
Participant priority.
Definition map.h:588
@ BT_MAP_CONVO_PARAM_MASK_PARTICIPANT_LAST_ACTIVITY
Participant last activity.
Definition map.h:578
@ BT_MAP_CONVO_PARAM_MASK_PARTICIPANT_CHAT_STATE
Participant chat state.
Definition map.h:576
@ BT_MAP_CONVO_PARAM_MASK_CONVO_NAME
Conversation name.
Definition map.h:560
@ BT_MAP_CONVO_PARAM_MASK_PARTICIPANT_PRESENCE_TEXT
Participant presence text.
Definition map.h:586
@ BT_MAP_CONVO_PARAM_MASK_CONVO_LAST_ACTIVITY
Conversation last activity.
Definition map.h:562
@ BT_MAP_CONVO_PARAM_MASK_SUMMARY
Summary.
Definition map.h:568
@ BT_MAP_CONVO_PARAM_MASK_PARTICIPANT_PRESENCE_AVAIL
Participant presence availability.
Definition map.h:584
@ BT_MAP_CONVO_PARAM_MASK_PARTICIPANT_UCI
Participant UCI.
Definition map.h:572
@ BT_MAP_PARTICIPANT_CHAT_STATE_CHANGE_NTF
Participant chat state change notification.
Definition map.h:130
@ BT_MAP_PARTICIPANT_PRESENCE_CHANGE_NTF
Participant presence change notification.
Definition map.h:128
@ BT_MAP_FOLDER_VER_CNTR
Folder version counter.
Definition map.h:124
@ BT_MAP_EXT_EVENT_REPORT_V12
Extended event version 1.2.
Definition map.h:114
@ BT_MAP_INST_INFO_FEATURE
Instance information feature.
Definition map.h:110
@ BT_MAP_NTF_FILTERING
Notification filtering.
Definition map.h:134
@ BT_MAP_CONVO_LISTING
Conversation listing.
Definition map.h:140
@ BT_MAP_UPLOADING_FEATURE
Uploading feature.
Definition map.h:106
@ BT_MAP_PERSISTENT_MSG_HANDLE
Persistent message handle.
Definition map.h:120
@ BT_MAP_PBAP_CONTACT_XREF
PBAP contact cross reference.
Definition map.h:132
@ BT_MAP_OWNER_STATUS
Owner status.
Definition map.h:142
@ BT_MAP_DB_ID
Database identifier.
Definition map.h:122
@ BT_MAP_EXT_EVENT_REPORT_V11
Extended event report version 1.1.
Definition map.h:112
@ BT_MAP_CONVO_VER_CNTR
Conversation version counter.
Definition map.h:126
@ BT_MAP_UTC_OFFSET_TIMESTAMP_FORMAT
UTC offset timestamp format.
Definition map.h:136
@ BT_MAP_MSG_FORMAT_V11
Message format version 1.1.
Definition map.h:116
@ BT_MAP_SUPPORTED_FEATURES_CONN_REQ
Supported features in connect request.
Definition map.h:138
@ BT_MAP_DELETE_FEATURE
Delete feature.
Definition map.h:108
@ BT_MAP_NTF_FEATURE
Notification feature.
Definition map.h:102
@ BT_MAP_MSG_FORWARDING
Message forwarding.
Definition map.h:144
@ BT_MAP_MSG_LISTING_FORMAT_V11
Message listing format version 1.1.
Definition map.h:118
@ BT_MAP_NTF_REG_FEATURE
Notification registration feature.
Definition map.h:100
@ BT_MAP_BROWSING_FEATURE
Browsing feature.
Definition map.h:104
@ BT_MAP_APPL_PARAM_TAG_ID_PRESENCE_TEXT
Presence text (variable length).
Definition map.h:240
@ BT_MAP_APPL_PARAM_TAG_ID_MSE_TIME
MSE time (variable length).
Definition map.h:232
@ BT_MAP_APPL_PARAM_TAG_ID_SUBJECT_LEN
Subject length (variable, max 255 bytes).
Definition map.h:220
@ BT_MAP_APPL_PARAM_TAG_ID_NTF_FILTER_MASK
Notification filter mask (4 bytes) bt_map_ntf_filter_mask.
Definition map.h:256
@ BT_MAP_APPL_PARAM_TAG_ID_MAS_INST_ID
MAS instance ID (1 byte).
Definition map.h:212
@ BT_MAP_APPL_PARAM_TAG_ID_RETRY
Retry (1 byte) bt_map_retry.
Definition map.h:206
@ BT_MAP_APPL_PARAM_TAG_ID_FOLDER_LISTING_SIZE
Folder listing size (2 bytes).
Definition map.h:216
@ BT_MAP_APPL_PARAM_TAG_ID_FILTER_PERIOD_END
Filter period end (variable length).
Definition map.h:192
@ BT_MAP_APPL_PARAM_TAG_ID_MODIFY_TEXT
Modify text (1 byte) bt_map_modify_text.
Definition map.h:268
@ BT_MAP_APPL_PARAM_TAG_ID_MAX_LIST_CNT
Maximum list count (2 bytes).
Definition map.h:184
@ BT_MAP_APPL_PARAM_TAG_ID_NEW_MSG
New message (1 byte) bt_map_new_msg.
Definition map.h:208
@ BT_MAP_APPL_PARAM_TAG_ID_STATUS_VAL
Status value (1 byte) bt_map_status_val.
Definition map.h:230
@ BT_MAP_APPL_PARAM_TAG_ID_STATUS_IND
Status indicator (1 byte) bt_map_status_ind.
Definition map.h:228
@ BT_MAP_APPL_PARAM_TAG_ID_PARAM_MASK
Parameter mask (4 bytes) bt_map_param_mask.
Definition map.h:214
@ BT_MAP_APPL_PARAM_TAG_ID_TRANSPARENT
Transparent (1 byte) bt_map_transparent.
Definition map.h:204
@ BT_MAP_APPL_PARAM_TAG_ID_FILTER_LAST_ACTIVITY_BEGIN
Filter last activity begin (variable length).
Definition map.h:244
@ BT_MAP_APPL_PARAM_TAG_ID_FILTER_MSG_HANDLE
Filter message handle (variable, max 16 bytes).
Definition map.h:254
@ BT_MAP_APPL_PARAM_TAG_ID_FILTER_PRIORITY
Filter priority (1 byte) bt_map_filter_priority.
Definition map.h:200
@ BT_MAP_APPL_PARAM_TAG_ID_MSG_HANDLE
Message handle (variable, max 16 bytes).
Definition map.h:266
@ BT_MAP_APPL_PARAM_TAG_ID_LAST_ACTIVITY
Last activity (variable length).
Definition map.h:242
@ BT_MAP_APPL_PARAM_TAG_ID_FOLDER_VER_CNTR
Folder version counter (variable, max 32 bytes).
Definition map.h:252
@ BT_MAP_APPL_PARAM_TAG_ID_CONVO_ID
Conversation ID (variable, max 32 bytes).
Definition map.h:250
@ BT_MAP_APPL_PARAM_TAG_ID_LIST_START_OFFSET
List start offset (2 bytes).
Definition map.h:186
@ BT_MAP_APPL_PARAM_TAG_ID_FILTER_PERIOD_BEGIN
Filter period begin (variable length).
Definition map.h:190
@ BT_MAP_APPL_PARAM_TAG_ID_PRESENCE_AVAIL
Presence availability (1 byte) bt_map_presence.
Definition map.h:238
@ BT_MAP_APPL_PARAM_TAG_ID_CONVO_PARAM_MASK
Conversation parameter mask (4 bytes) bt_map_convo_param_mask.
Definition map.h:258
@ BT_MAP_APPL_PARAM_TAG_ID_DB_ID
Database identifier (variable, max 32 bytes).
Definition map.h:234
@ BT_MAP_APPL_PARAM_TAG_ID_EXT_DATA
Extended data (variable length) bt_map_msg_ext_data.
Definition map.h:262
@ BT_MAP_APPL_PARAM_TAG_ID_FRACTION_DELIVER
Fraction deliver (1 byte) bt_map_fraction_deliver.
Definition map.h:226
@ BT_MAP_APPL_PARAM_TAG_ID_CONVO_LISTING_VER_CNTR
Conversation listing version counter (variable, max 32 bytes).
Definition map.h:236
@ BT_MAP_APPL_PARAM_TAG_ID_MAP_SUPPORTED_FEATURES
MAP supported features (4 bytes) bt_map_supported_features.
Definition map.h:264
@ BT_MAP_APPL_PARAM_TAG_ID_FILTER_READ_STATUS
Filter read status (1 byte) bt_map_filter_read_status.
Definition map.h:194
@ BT_MAP_APPL_PARAM_TAG_ID_LISTING_SIZE
Listing size (2 bytes).
Definition map.h:218
@ BT_MAP_APPL_PARAM_TAG_ID_FILTER_RECIPIENT
Filter recipient (variable length).
Definition map.h:196
@ BT_MAP_APPL_PARAM_TAG_ID_FRACTION_REQUEST
Fraction request (1 byte) bt_map_fraction_request.
Definition map.h:224
@ BT_MAP_APPL_PARAM_TAG_ID_CHARSET
Charset (1 byte) bt_map_charset.
Definition map.h:222
@ BT_MAP_APPL_PARAM_TAG_ID_OWNER_UCI
Owner UCI (variable length).
Definition map.h:260
@ BT_MAP_APPL_PARAM_TAG_ID_FILTER_LAST_ACTIVITY_END
Filter last activity end (variable length).
Definition map.h:246
@ BT_MAP_APPL_PARAM_TAG_ID_ATTACHMENT
Attachment (1 byte) bt_map_attachment.
Definition map.h:202
@ BT_MAP_APPL_PARAM_TAG_ID_CHAT_STATE
Chat state (1 byte) bt_map_chat_state.
Definition map.h:248
@ BT_MAP_APPL_PARAM_TAG_ID_FILTER_ORIGINATOR
Filter originator (variable length).
Definition map.h:198
@ BT_MAP_APPL_PARAM_TAG_ID_NTF_STATUS
Notification status (1 byte) bt_map_ntf_status.
Definition map.h:210
@ BT_MAP_APPL_PARAM_TAG_ID_FILTER_MSG_TYPE
Filter message type (1 byte) bt_map_filter_msg_type.
Definition map.h:188
@ BT_MAP_STATUS_VAL_NO
No/Off.
Definition map.h:472
@ BT_MAP_STATUS_VAL_YES
Yes/On.
Definition map.h:474
@ BT_MAP_FILTER_MSG_TYPE_MMS
MMS.
Definition map.h:285
@ BT_MAP_FILTER_MSG_TYPE_SMS_GSM
SMS GSM.
Definition map.h:279
@ BT_MAP_FILTER_MSG_TYPE_EMAIL
Email.
Definition map.h:283
@ BT_MAP_FILTER_MSG_TYPE_SMS_CDMA
SMS CDMA.
Definition map.h:281
@ BT_MAP_FILTER_MSG_TYPE_IM
Instant Message.
Definition map.h:287
@ BT_MAP_FILTER_MSG_TYPE_NO_FILTERING
No filtering.
Definition map.h:277
@ BT_MAP_NTF_STATUS_ON
Notifications on.
Definition map.h:368
@ BT_MAP_NTF_STATUS_OFF
Notifications off.
Definition map.h:366
@ BT_MAP_NEW_MSG_ON
New message.
Definition map.h:357
@ BT_MAP_NEW_MSG_OFF
Not a new message.
Definition map.h:355
@ BT_MAP_PRESENCE_DO_NOT_DISTURB
Do not disturb.
Definition map.h:491
@ BT_MAP_PRESENCE_OFFLINE
Offline.
Definition map.h:485
@ BT_MAP_PRESENCE_IN_A_MEETING
In a meeting.
Definition map.h:495
@ BT_MAP_PRESENCE_AWAY
Away.
Definition map.h:489
@ BT_MAP_PRESENCE_UNKNOWN
Unknown presence state.
Definition map.h:483
@ BT_MAP_PRESENCE_ONLINE
Online.
Definition map.h:487
@ BT_MAP_PRESENCE_BUSY
Busy.
Definition map.h:493
@ BT_MAP_STATUS_IND_READ
Read status.
Definition map.h:459
@ BT_MAP_STATUS_IND_DELETED
Deleted status.
Definition map.h:461
@ BT_MAP_STATUS_IND_EXTENDED_DATA
Set extended data.
Definition map.h:463
@ BT_MAP_FILTER_READ_STATUS_NO_FILTERING
No filtering.
Definition map.h:296
@ BT_MAP_FILTER_READ_STATUS_UNREAD
Unread messages only.
Definition map.h:298
@ BT_MAP_FILTER_READ_STATUS_READ
Read messages only.
Definition map.h:300
@ BT_MAP_CHAT_STATE_INACTIVE
Inactive.
Definition map.h:506
@ BT_MAP_CHAT_STATE_ACTIVE
Active.
Definition map.h:508
@ BT_MAP_CHAT_STATE_GONE
Gone.
Definition map.h:514
@ BT_MAP_CHAT_STATE_COMPOSING
Composing.
Definition map.h:510
@ BT_MAP_CHAT_STATE_PAUSED_COMPOSING
Paused composing.
Definition map.h:512
@ BT_MAP_CHAT_STATE_UNKNOWN
Unknown chat state.
Definition map.h:504
@ BT_MAP_PARAM_MASK_DIRECTION
Direction.
Definition map.h:415
@ BT_MAP_PARAM_MASK_PRIORITY
Priority.
Definition map.h:399
@ BT_MAP_PARAM_MASK_SENDER_ADDRESSING
Sender addressing.
Definition map.h:383
@ BT_MAP_PARAM_MASK_RECEPTION_STATUS
Reception status.
Definition map.h:393
@ BT_MAP_PARAM_MASK_ATTACHMENT_SIZE
Attachment size.
Definition map.h:397
@ BT_MAP_PARAM_MASK_SENDER_NAME
Sender name.
Definition map.h:381
@ BT_MAP_PARAM_MASK_CONVO_NAME
Conversation name.
Definition map.h:413
@ BT_MAP_PARAM_MASK_REPLYTO_ADDRESSING
Replyto addressing.
Definition map.h:407
@ BT_MAP_PARAM_MASK_PROTECTED
Protected.
Definition map.h:405
@ BT_MAP_PARAM_MASK_SENT
Sent.
Definition map.h:403
@ BT_MAP_PARAM_MASK_TEXT
Text.
Definition map.h:395
@ BT_MAP_PARAM_MASK_DATETIME
Datetime.
Definition map.h:379
@ BT_MAP_PARAM_MASK_SIZE
Size.
Definition map.h:391
@ BT_MAP_PARAM_MASK_RECIPIENT_NAME
Recipient name.
Definition map.h:385
@ BT_MAP_PARAM_MASK_ATTACHMENT_MIME
Attachment MIME.
Definition map.h:417
@ BT_MAP_PARAM_MASK_SUBJECT
Subject.
Definition map.h:377
@ BT_MAP_PARAM_MASK_TYPE
Type.
Definition map.h:389
@ BT_MAP_PARAM_MASK_CONVO_ID
Conversation ID.
Definition map.h:411
@ BT_MAP_PARAM_MASK_DELIVERY_STATUS
Delivery status.
Definition map.h:409
@ BT_MAP_PARAM_MASK_RECIPIENT_ADDRESSING
Recipient addressing.
Definition map.h:387
@ BT_MAP_PARAM_MASK_READ
Read.
Definition map.h:401
@ BT_MAP_MODIFY_TEXT_PREPEND
Prepend text.
Definition map.h:614
@ BT_MAP_MODIFY_TEXT_REPLACE
Replace text.
Definition map.h:612
@ BT_OBEX_SETPATH_FLAG_BACKUP
Backup a level before applying name (equivalent to ../ on many systems).
Definition obex.h:892
@ BT_OBEX_SETPATH_FLAG_NO_CREATE
Don't create folder if it does not exist, return an error instead.
Definition obex.h:894
#define BIT(n)
Unsigned integer with bit position n set (signed in assembly language).
Definition util_macro.h:44
Public kernel APIs.
Bluetooth L2CAP handling.
flags
Definition parser.h:97
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
Opaque type representing a connection to a remote device.
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
MAP Client MAS callbacks.
Definition map.h:631
void(* get_mas_inst_info)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf)
Get MAS instance info callback.
Definition map.h:805
void(* set_ntf_filter)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf)
Set notification filter callback.
Definition map.h:853
void(* set_msg_status)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf)
Set message status callback.
Definition map.h:770
void(* set_ntf_reg)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf)
Set notification registration callback.
Definition map.h:712
void(* rfcomm_connected)(struct bt_conn *conn, struct bt_map_mce_mas *mce_mas)
RFCOMM transport connected callback.
Definition map.h:640
void(* set_folder)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf)
Set folder callback.
Definition map.h:722
void(* rfcomm_disconnected)(struct bt_map_mce_mas *mce_mas)
RFCOMM transport disconnected callback.
Definition map.h:649
void(* connect)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, uint8_t version, uint16_t mopl, struct net_buf *buf)
Connect callback.
Definition map.h:681
void(* get_msg)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf)
Get message callback.
Definition map.h:760
void(* update_inbox)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf)
Update inbox callback.
Definition map.h:793
void(* l2cap_connected)(struct bt_conn *conn, struct bt_map_mce_mas *mce_mas)
L2CAP transport connected callback.
Definition map.h:659
void(* get_owner_status)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf)
Get owner status callback.
Definition map.h:829
void(* set_owner_status)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf)
Set owner status callback.
Definition map.h:816
void(* push_msg)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf)
Push message callback.
Definition map.h:783
void(* l2cap_disconnected)(struct bt_map_mce_mas *mce_mas)
L2CAP transport disconnected callback.
Definition map.h:668
void(* get_folder_listing)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf)
Get folder listing callback.
Definition map.h:734
void(* get_msg_listing)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf)
Get message listing callback.
Definition map.h:747
void(* get_convo_listing)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf)
Get conversation listing callback.
Definition map.h:842
void(* abort)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf)
Abort callback.
Definition map.h:702
void(* disconnect)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf)
Disconnect callback.
Definition map.h:692
MAP Client MAS instance structure.
Definition map.h:862
struct bt_goep goep
Underlying GOEP instance.
Definition map.h:864
MAP Client MNS callbacks.
Definition map.h:1288
void(* l2cap_connected)(struct bt_conn *conn, struct bt_map_mce_mns *mce_mns)
L2CAP transport connected callback.
Definition map.h:1315
void(* rfcomm_connected)(struct bt_conn *conn, struct bt_map_mce_mns *mce_mns)
RFCOMM transport connected callback.
Definition map.h:1297
void(* send_event)(struct bt_map_mce_mns *mce_mns, bool final, struct net_buf *buf)
Send event callback.
Definition map.h:1368
void(* disconnect)(struct bt_map_mce_mns *mce_mns, struct net_buf *buf)
Disconnect callback.
Definition map.h:1346
void(* abort)(struct bt_map_mce_mns *mce_mns, struct net_buf *buf)
Abort callback.
Definition map.h:1356
void(* connect)(struct bt_map_mce_mns *mce_mns, uint8_t version, uint16_t mopl, struct net_buf *buf)
Connect callback.
Definition map.h:1335
void(* l2cap_disconnected)(struct bt_map_mce_mns *mce_mns)
L2CAP transport disconnected callback.
Definition map.h:1323
void(* rfcomm_disconnected)(struct bt_map_mce_mns *mce_mns)
RFCOMM transport disconnected callback.
Definition map.h:1305
MAP Client MNS L2CAP server.
Definition map.h:1267
struct bt_goep_transport_l2cap_server server
GOEP L2CAP transport server - underlying transport layer.
Definition map.h:1269
int(* accept)(struct bt_conn *conn, struct bt_map_mce_mns_l2cap_server *server, struct bt_map_mce_mns **mce_mns)
Accept callback for incoming connections.
Definition map.h:1280
MAP Client MNS RFCOMM server.
Definition map.h:1246
struct bt_goep_transport_rfcomm_server server
GOEP RFCOMM transport server - underlying transport layer.
Definition map.h:1248
int(* accept)(struct bt_conn *conn, struct bt_map_mce_mns_rfcomm_server *server, struct bt_map_mce_mns **mce_mns)
Accept callback for incoming connections.
Definition map.h:1259
MAP Client MNS instance structure.
Definition map.h:1376
struct bt_goep goep
Underlying GOEP instance.
Definition map.h:1378
MAP Server MAS callbacks.
Definition map.h:1602
void(* disconnect)(struct bt_map_mse_mas *mse_mas, struct net_buf *buf)
Disconnect callback.
Definition map.h:1660
void(* set_folder)(struct bt_map_mse_mas *mse_mas, uint8_t flags, struct net_buf *buf)
Set folder callback.
Definition map.h:1693
void(* get_folder_listing)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Get folder listing callback.
Definition map.h:1705
void(* connect)(struct bt_map_mse_mas *mse_mas, uint8_t version, uint16_t mopl, struct net_buf *buf)
Connect callback.
Definition map.h:1649
void(* push_msg)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Push message callback.
Definition map.h:1753
void(* l2cap_disconnected)(struct bt_map_mse_mas *mse_mas)
L2CAP transport disconnected callback.
Definition map.h:1637
void(* rfcomm_disconnected)(struct bt_map_mse_mas *mse_mas)
RFCOMM transport disconnected callback.
Definition map.h:1619
void(* get_msg)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Get message callback.
Definition map.h:1729
void(* set_owner_status)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Set owner status callback.
Definition map.h:1789
void(* abort)(struct bt_map_mse_mas *mse_mas, struct net_buf *buf)
Abort callback.
Definition map.h:1670
void(* l2cap_connected)(struct bt_conn *conn, struct bt_map_mse_mas *mse_mas)
L2CAP transport connected callback.
Definition map.h:1629
void(* set_msg_status)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Set message status callback.
Definition map.h:1741
void(* get_mas_inst_info)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Get MAS instance info callback.
Definition map.h:1777
void(* set_ntf_reg)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Set notification registration callback.
Definition map.h:1682
void(* set_ntf_filter)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Set notification filter callback.
Definition map.h:1825
void(* rfcomm_connected)(struct bt_conn *conn, struct bt_map_mse_mas *mse_mas)
RFCOMM transport connected callback.
Definition map.h:1611
void(* get_msg_listing)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Get message listing callback.
Definition map.h:1717
void(* update_inbox)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Update inbox callback.
Definition map.h:1765
void(* get_owner_status)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Get owner status callback.
Definition map.h:1801
void(* get_convo_listing)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Get conversation listing callback.
Definition map.h:1813
MAP Server MAS L2CAP server.
Definition map.h:1580
int(* accept)(struct bt_conn *conn, struct bt_map_mse_mas_l2cap_server *server, struct bt_map_mse_mas **mse_mas)
Accept callback for incoming connections.
Definition map.h:1594
struct bt_goep_transport_l2cap_server server
GOEP L2CAP transport server - underlying transport layer.
Definition map.h:1582
MAP Server MAS RFCOMM server.
Definition map.h:1558
int(* accept)(struct bt_conn *conn, struct bt_map_mse_mas_rfcomm_server *server, struct bt_map_mse_mas **mse_mas)
Accept callback for incoming connections.
Definition map.h:1572
struct bt_goep_transport_rfcomm_server server
GOEP RFCOMM transport server - underlying transport layer.
Definition map.h:1560
MAP Server MAS instance structure.
Definition map.h:1833
struct bt_goep goep
Underlying GOEP instance.
Definition map.h:1835
MAP Server MNS callbacks.
Definition map.h:2210
void(* abort)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, struct net_buf *buf)
Abort callback.
Definition map.h:2282
void(* disconnect)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, struct net_buf *buf)
Disconnect callback.
Definition map.h:2271
void(* l2cap_connected)(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns)
L2CAP transport connected callback.
Definition map.h:2238
void(* rfcomm_disconnected)(struct bt_map_mse_mns *mse_mns)
RFCOMM transport disconnected callback.
Definition map.h:2228
void(* connect)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, uint8_t version, uint16_t mopl, struct net_buf *buf)
Connect callback.
Definition map.h:2260
void(* send_event)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, struct net_buf *buf)
Send event callback.
Definition map.h:2294
void(* l2cap_disconnected)(struct bt_map_mse_mns *mse_mns)
L2CAP transport disconnected callback.
Definition map.h:2247
void(* rfcomm_connected)(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns)
RFCOMM transport connected callback.
Definition map.h:2219
MAP Server MNS instance structure.
Definition map.h:2302
struct bt_goep goep
Underlying GOEP instance.
Definition map.h:2304
OBEX client structure.
Definition obex.h:541
OBEX server structure.
Definition obex.h:497
Network buffer pool representation.
Definition net_buf.h:1088
Network buffer representation.
Definition net_buf.h:1015