Zephyr Project API 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_CLASSIC_MAP_H_
12#define ZEPHYR_INCLUDE_BLUETOOTH_CLASSIC_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
865
867 struct bt_goep goep;
868
870 const struct bt_map_mce_mas_cb *_cb;
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
904int bt_map_mce_mas_rfcomm_connect(struct bt_conn *conn, struct bt_map_mce_mas *mce_mas,
905 const struct bt_map_mce_mas_cb *cb, uint8_t channel);
906
918
931int bt_map_mce_mas_l2cap_connect(struct bt_conn *conn, struct bt_map_mce_mas *mce_mas,
932 const struct bt_map_mce_mas_cb *cb, uint16_t psm);
933
945
957 struct net_buf_pool *pool);
958
973int bt_map_mce_mas_connect(struct bt_map_mce_mas *mce_mas, struct net_buf *buf);
974
988int bt_map_mce_mas_disconnect(struct bt_map_mce_mas *mce_mas, struct net_buf *buf);
989
1003int bt_map_mce_mas_abort(struct bt_map_mce_mas *mce_mas, struct net_buf *buf);
1004
1020
1035int bt_map_mce_mas_set_ntf_reg(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf);
1036
1052 struct net_buf *buf);
1053
1068int bt_map_mce_mas_get_msg_listing(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf);
1069
1084int bt_map_mce_mas_get_msg(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf);
1085
1100int bt_map_mce_mas_set_msg_status(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf);
1101
1117int bt_map_mce_mas_push_msg(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf);
1118
1133int bt_map_mce_mas_update_inbox(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf);
1134
1150int bt_map_mce_mas_get_mas_inst_info(struct bt_map_mce_mas *mce_mas, bool final,
1151 struct net_buf *buf);
1152
1167int bt_map_mce_mas_set_owner_status(struct bt_map_mce_mas *mce_mas, bool final,
1168 struct net_buf *buf);
1169
1184int bt_map_mce_mas_get_owner_status(struct bt_map_mce_mas *mce_mas, bool final,
1185 struct net_buf *buf);
1186
1201int bt_map_mce_mas_get_convo_listing(struct bt_map_mce_mas *mce_mas, bool final,
1202 struct net_buf *buf);
1203
1218int bt_map_mce_mas_set_ntf_filter(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf);
1219 /* end of bt_map_mce_mas */
1221
1228
1230struct bt_map_mce_mns;
1231
1252
1273
1287 void (*rfcomm_connected)(struct bt_conn *conn, struct bt_map_mce_mns *mce_mns);
1288
1295 void (*rfcomm_disconnected)(struct bt_map_mce_mns *mce_mns);
1296
1305 void (*l2cap_connected)(struct bt_conn *conn, struct bt_map_mce_mns *mce_mns);
1306
1313 void (*l2cap_disconnected)(struct bt_map_mce_mns *mce_mns);
1314
1325 void (*connect)(struct bt_map_mce_mns *mce_mns, uint8_t version, uint16_t mopl,
1326 struct net_buf *buf);
1327
1336 void (*disconnect)(struct bt_map_mce_mns *mce_mns, struct net_buf *buf);
1337
1346 void (*abort)(struct bt_map_mce_mns *mce_mns, struct net_buf *buf);
1347
1358 void (*send_event)(struct bt_map_mce_mns *mce_mns, bool final, struct net_buf *buf);
1359};
1360
1369
1372
1374 const struct bt_map_mce_mns_cb *_cb;
1375
1377 atomic_t _transport_state;
1378
1380 uint32_t _conn_id;
1381
1383 struct bt_obex_server _server;
1384
1386 atomic_t _state;
1387
1389 void (*_req_cb)(struct bt_map_mce_mns *mce_mns, bool final, struct net_buf *buf);
1390
1392 const char *_optype;
1393
1395 uint8_t _opcode;
1396};
1397
1408int bt_map_mce_mns_register(struct bt_map_mce_mns *mce_mns, const struct bt_map_mce_mns_cb *cb);
1409
1420
1432
1443
1455
1467 struct net_buf_pool *pool);
1468
1482int bt_map_mce_mns_connect(struct bt_map_mce_mns *mce_mns, uint8_t rsp_code, struct net_buf *buf);
1483
1498 struct net_buf *buf);
1499
1513int bt_map_mce_mns_abort(struct bt_map_mce_mns *mce_mns, uint8_t rsp_code, struct net_buf *buf);
1514
1530 struct net_buf *buf);
1531 /* end of bt_map_mce_mns */
1533
1540
1542struct bt_map_mse_mas;
1543
1565
1587
1601 void (*rfcomm_connected)(struct bt_conn *conn, struct bt_map_mse_mas *mse_mas);
1602
1609 void (*rfcomm_disconnected)(struct bt_map_mse_mas *mse_mas);
1610
1619 void (*l2cap_connected)(struct bt_conn *conn, struct bt_map_mse_mas *mse_mas);
1620
1627 void (*l2cap_disconnected)(struct bt_map_mse_mas *mse_mas);
1628
1639 void (*connect)(struct bt_map_mse_mas *mse_mas, uint8_t version, uint16_t mopl,
1640 struct net_buf *buf);
1641
1650 void (*disconnect)(struct bt_map_mse_mas *mse_mas, struct net_buf *buf);
1651
1660 void (*abort)(struct bt_map_mse_mas *mse_mas, struct net_buf *buf);
1661
1672 void (*set_ntf_reg)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1673
1683 void (*set_folder)(struct bt_map_mse_mas *mse_mas, uint8_t flags, struct net_buf *buf);
1684
1695 void (*get_folder_listing)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1696
1707 void (*get_msg_listing)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1708
1719 void (*get_msg)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1720
1731 void (*set_msg_status)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1732
1743 void (*push_msg)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1744
1755 void (*update_inbox)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1756
1767 void (*get_mas_inst_info)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1768
1779 void (*set_owner_status)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1780
1791 void (*get_owner_status)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1792
1803 void (*get_convo_listing)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1804
1815 void (*set_ntf_filter)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1816};
1817
1826
1829
1831 const struct bt_map_mse_mas_cb *_cb;
1832
1834 atomic_t _transport_state;
1835
1837 uint32_t _conn_id;
1838
1840 struct bt_obex_server _server;
1841
1843 atomic_t _state;
1844
1846 void (*_req_cb)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1847
1849 const char *_optype;
1850
1852 uint8_t _opcode;
1853};
1854
1865int bt_map_mse_mas_register(struct bt_map_mse_mas *mse_mas, const struct bt_map_mse_mas_cb *cb);
1866
1877
1889
1900
1912
1924 struct net_buf_pool *pool);
1925
1939int bt_map_mse_mas_connect(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf);
1940
1954 struct net_buf *buf);
1955
1969int bt_map_mse_mas_abort(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf);
1970
1985 struct net_buf *buf);
1986
2001 struct net_buf *buf);
2002
2018 struct net_buf *buf);
2019
2035 struct net_buf *buf);
2036
2051int bt_map_mse_mas_get_msg(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf);
2052
2067 struct net_buf *buf);
2068
2083int bt_map_mse_mas_push_msg(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf);
2084
2099 struct net_buf *buf);
2100
2116 struct net_buf *buf);
2117
2132 struct net_buf *buf);
2133
2149 struct net_buf *buf);
2150
2166 struct net_buf *buf);
2167
2182 struct net_buf *buf);
2183 /* end of bt_map_mse_mas */
2185
2192
2194struct bt_map_mse_mns;
2195
2209 void (*rfcomm_connected)(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns);
2210
2218 void (*rfcomm_disconnected)(struct bt_map_mse_mns *mse_mns);
2219
2228 void (*l2cap_connected)(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns);
2229
2237 void (*l2cap_disconnected)(struct bt_map_mse_mns *mse_mns);
2238
2250 void (*connect)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, uint8_t version,
2251 uint16_t mopl, struct net_buf *buf);
2252
2261 void (*disconnect)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, struct net_buf *buf);
2262
2272 void (*abort)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, struct net_buf *buf);
2273
2284 void (*send_event)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, struct net_buf *buf);
2285};
2286
2295
2298
2300 const struct bt_map_mse_mns_cb *_cb;
2301
2303 atomic_t _transport_state;
2304
2306 uint32_t _conn_id;
2307
2309 struct bt_obex_client _client;
2310
2312 atomic_t _state;
2313
2315 void (*_rsp_cb)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, struct net_buf *buf);
2316
2318 const char *_req_type;
2319};
2320
2334int bt_map_mse_mns_rfcomm_connect(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns,
2335 const struct bt_map_mse_mns_cb *cb, uint8_t channel);
2336
2348
2361int bt_map_mse_mns_l2cap_connect(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns,
2362 const struct bt_map_mse_mns_cb *cb, uint16_t psm);
2363
2375
2387 struct net_buf_pool *pool);
2388
2403int bt_map_mse_mns_connect(struct bt_map_mse_mns *mse_mns, struct net_buf *buf);
2404
2418int bt_map_mse_mns_disconnect(struct bt_map_mse_mns *mse_mns, struct net_buf *buf);
2419
2433int bt_map_mse_mns_abort(struct bt_map_mse_mns *mse_mns, struct net_buf *buf);
2434
2451int bt_map_mse_mns_send_event(struct bt_map_mse_mns *mse_mns, bool final, struct net_buf *buf);
2452 /* end of bt_map_mse_mns */
2454
2455#ifdef __cplusplus
2456}
2457#endif
2458
2462
2463#endif /* ZEPHYR_INCLUDE_BLUETOOTH_CLASSIC_MAP_H_ */
Bluetooth subsystem core APIs.
Bluetooth UUID handling.
Bluetooth connection handling.
System error numbers.
long atomic_t
Atomic integer variable.
Definition atomic_types.h:31
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_rfcomm_connect(struct bt_conn *conn, struct bt_map_mce_mas *mce_mas, const struct bt_map_mce_mas_cb *cb, uint8_t channel)
Connect MAP Client MAS over RFCOMM.
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_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_l2cap_connect(struct bt_conn *conn, struct bt_map_mce_mas *mce_mas, const struct bt_map_mce_mas_cb *cb, uint16_t psm)
Connect MAP Client MAS over L2CAP.
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_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_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_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_register(struct bt_map_mce_mns *mce_mns, const struct bt_map_mce_mns_cb *cb)
Register MAP Client MNS server.
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_register(struct bt_map_mse_mas *mse_mas, const struct bt_map_mse_mas_cb *cb)
Register MAP Server MAS 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_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_disconnect(struct bt_map_mse_mns *mse_mns)
Disconnect MAP Server MNS over L2CAP.
int bt_map_mse_mns_l2cap_connect(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns, const struct bt_map_mse_mns_cb *cb, uint16_t psm)
Connect MAP Server MNS over L2CAP.
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_rfcomm_connect(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns, const struct bt_map_mse_mns_cb *cb, uint8_t channel)
Connect MAP Server MNS over RFCOMM.
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:893
@ BT_OBEX_SETPATH_FLAG_NO_CREATE
Don't create folder if it does not exist, return an error instead.
Definition obex.h:895
#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:345
GOEP Server structure GOEP v1.1.
Definition goep.h:225
GOEP transport unified structure.
Definition goep.h:92
GOEP structure.
Definition goep.h:138
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_transport goep_transport
Underlying GOEP transport instance.
Definition map.h:864
struct bt_goep goep
Underlying GOEP instance.
Definition map.h:867
MAP Client MNS callbacks.
Definition map.h:1278
void(* l2cap_connected)(struct bt_conn *conn, struct bt_map_mce_mns *mce_mns)
L2CAP transport connected callback.
Definition map.h:1305
void(* rfcomm_connected)(struct bt_conn *conn, struct bt_map_mce_mns *mce_mns)
RFCOMM transport connected callback.
Definition map.h:1287
void(* send_event)(struct bt_map_mce_mns *mce_mns, bool final, struct net_buf *buf)
Send event callback.
Definition map.h:1358
void(* disconnect)(struct bt_map_mce_mns *mce_mns, struct net_buf *buf)
Disconnect callback.
Definition map.h:1336
void(* abort)(struct bt_map_mce_mns *mce_mns, struct net_buf *buf)
Abort callback.
Definition map.h:1346
void(* connect)(struct bt_map_mce_mns *mce_mns, uint8_t version, uint16_t mopl, struct net_buf *buf)
Connect callback.
Definition map.h:1325
void(* l2cap_disconnected)(struct bt_map_mce_mns *mce_mns)
L2CAP transport disconnected callback.
Definition map.h:1313
void(* rfcomm_disconnected)(struct bt_map_mce_mns *mce_mns)
RFCOMM transport disconnected callback.
Definition map.h:1295
MAP Client MNS L2CAP server.
Definition map.h:1257
struct bt_goep_transport_l2cap_server server
GOEP L2CAP transport server - underlying transport layer.
Definition map.h:1259
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:1270
MAP Client MNS RFCOMM server.
Definition map.h:1236
struct bt_goep_transport_rfcomm_server server
GOEP RFCOMM transport server - underlying transport layer.
Definition map.h:1238
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:1249
MAP Client MNS instance structure.
Definition map.h:1366
struct bt_goep_transport goep_transport
Underlying GOEP transport instance.
Definition map.h:1368
struct bt_goep goep
Underlying GOEP instance.
Definition map.h:1371
MAP Server MAS callbacks.
Definition map.h:1592
void(* disconnect)(struct bt_map_mse_mas *mse_mas, struct net_buf *buf)
Disconnect callback.
Definition map.h:1650
void(* set_folder)(struct bt_map_mse_mas *mse_mas, uint8_t flags, struct net_buf *buf)
Set folder callback.
Definition map.h:1683
void(* get_folder_listing)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Get folder listing callback.
Definition map.h:1695
void(* connect)(struct bt_map_mse_mas *mse_mas, uint8_t version, uint16_t mopl, struct net_buf *buf)
Connect callback.
Definition map.h:1639
void(* push_msg)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Push message callback.
Definition map.h:1743
void(* l2cap_disconnected)(struct bt_map_mse_mas *mse_mas)
L2CAP transport disconnected callback.
Definition map.h:1627
void(* rfcomm_disconnected)(struct bt_map_mse_mas *mse_mas)
RFCOMM transport disconnected callback.
Definition map.h:1609
void(* get_msg)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Get message callback.
Definition map.h:1719
void(* set_owner_status)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Set owner status callback.
Definition map.h:1779
void(* abort)(struct bt_map_mse_mas *mse_mas, struct net_buf *buf)
Abort callback.
Definition map.h:1660
void(* l2cap_connected)(struct bt_conn *conn, struct bt_map_mse_mas *mse_mas)
L2CAP transport connected callback.
Definition map.h:1619
void(* set_msg_status)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Set message status callback.
Definition map.h:1731
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:1767
void(* set_ntf_reg)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Set notification registration callback.
Definition map.h:1672
void(* set_ntf_filter)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Set notification filter callback.
Definition map.h:1815
void(* rfcomm_connected)(struct bt_conn *conn, struct bt_map_mse_mas *mse_mas)
RFCOMM transport connected callback.
Definition map.h:1601
void(* get_msg_listing)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Get message listing callback.
Definition map.h:1707
void(* update_inbox)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Update inbox callback.
Definition map.h:1755
void(* get_owner_status)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Get owner status callback.
Definition map.h:1791
void(* get_convo_listing)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Get conversation listing callback.
Definition map.h:1803
MAP Server MAS L2CAP server.
Definition map.h:1570
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:1584
struct bt_goep_transport_l2cap_server server
GOEP L2CAP transport server - underlying transport layer.
Definition map.h:1572
MAP Server MAS RFCOMM server.
Definition map.h:1548
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:1562
struct bt_goep_transport_rfcomm_server server
GOEP RFCOMM transport server - underlying transport layer.
Definition map.h:1550
MAP Server MAS instance structure.
Definition map.h:1823
struct bt_goep goep
Underlying GOEP instance.
Definition map.h:1828
struct bt_goep_transport goep_transport
Underlying GOEP transport instance.
Definition map.h:1825
MAP Server MNS callbacks.
Definition map.h:2200
void(* abort)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, struct net_buf *buf)
Abort callback.
Definition map.h:2272
void(* disconnect)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, struct net_buf *buf)
Disconnect callback.
Definition map.h:2261
void(* l2cap_connected)(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns)
L2CAP transport connected callback.
Definition map.h:2228
void(* rfcomm_disconnected)(struct bt_map_mse_mns *mse_mns)
RFCOMM transport disconnected callback.
Definition map.h:2218
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:2250
void(* send_event)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, struct net_buf *buf)
Send event callback.
Definition map.h:2284
void(* l2cap_disconnected)(struct bt_map_mse_mns *mse_mns)
L2CAP transport disconnected callback.
Definition map.h:2237
void(* rfcomm_connected)(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns)
RFCOMM transport connected callback.
Definition map.h:2209
MAP Server MNS instance structure.
Definition map.h:2292
struct bt_goep_transport goep_transport
Underlying GOEP transport instance.
Definition map.h:2294
struct bt_goep goep
Underlying GOEP instance.
Definition map.h:2297
OBEX client structure.
Definition obex.h:538
OBEX server structure.
Definition obex.h:492
Network buffer pool representation.
Definition net_buf.h:1184
Network buffer representation.
Definition net_buf.h:1048