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
865
867 struct bt_goep goep;
868
870 const struct bt_map_mce_mas_cb *_cb;
871
873 uint8_t _transport_type;
874
876 atomic_t _transport_state;
877
879 uint32_t _conn_id;
880
882 struct bt_obex_client _client;
883
885 atomic_t _state;
886
888 void (*_rsp_cb)(struct bt_map_mce_mas *mce_mas, uint8_t rsp_code, struct net_buf *buf);
889
891 const char *_req_type;
892};
893
904int bt_map_mce_mas_cb_register(struct bt_map_mce_mas *mce_mas, const struct bt_map_mce_mas_cb *cb);
905
918int bt_map_mce_mas_rfcomm_connect(struct bt_conn *conn, struct bt_map_mce_mas *mce_mas,
919 uint8_t channel);
920
932
944int bt_map_mce_mas_l2cap_connect(struct bt_conn *conn, struct bt_map_mce_mas *mce_mas,
945 uint16_t psm);
946
958
970 struct net_buf_pool *pool);
971
986int bt_map_mce_mas_connect(struct bt_map_mce_mas *mce_mas, struct net_buf *buf);
987
1001int bt_map_mce_mas_disconnect(struct bt_map_mce_mas *mce_mas, struct net_buf *buf);
1002
1016int bt_map_mce_mas_abort(struct bt_map_mce_mas *mce_mas, struct net_buf *buf);
1017
1033
1048int bt_map_mce_mas_set_ntf_reg(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf);
1049
1065 struct net_buf *buf);
1066
1081int bt_map_mce_mas_get_msg_listing(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf);
1082
1097int bt_map_mce_mas_get_msg(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf);
1098
1113int bt_map_mce_mas_set_msg_status(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf);
1114
1130int bt_map_mce_mas_push_msg(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf);
1131
1146int bt_map_mce_mas_update_inbox(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf);
1147
1163int bt_map_mce_mas_get_mas_inst_info(struct bt_map_mce_mas *mce_mas, bool final,
1164 struct net_buf *buf);
1165
1180int bt_map_mce_mas_set_owner_status(struct bt_map_mce_mas *mce_mas, bool final,
1181 struct net_buf *buf);
1182
1197int bt_map_mce_mas_get_owner_status(struct bt_map_mce_mas *mce_mas, bool final,
1198 struct net_buf *buf);
1199
1214int bt_map_mce_mas_get_convo_listing(struct bt_map_mce_mas *mce_mas, bool final,
1215 struct net_buf *buf);
1216
1231int bt_map_mce_mas_set_ntf_filter(struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf);
1232 /* end of bt_map_mce_mas */
1234
1241
1243struct bt_map_mce_mns;
1244
1265
1286
1300 void (*rfcomm_connected)(struct bt_conn *conn, struct bt_map_mce_mns *mce_mns);
1301
1308 void (*rfcomm_disconnected)(struct bt_map_mce_mns *mce_mns);
1309
1318 void (*l2cap_connected)(struct bt_conn *conn, struct bt_map_mce_mns *mce_mns);
1319
1326 void (*l2cap_disconnected)(struct bt_map_mce_mns *mce_mns);
1327
1338 void (*connect)(struct bt_map_mce_mns *mce_mns, uint8_t version, uint16_t mopl,
1339 struct net_buf *buf);
1340
1349 void (*disconnect)(struct bt_map_mce_mns *mce_mns, struct net_buf *buf);
1350
1359 void (*abort)(struct bt_map_mce_mns *mce_mns, struct net_buf *buf);
1360
1371 void (*send_event)(struct bt_map_mce_mns *mce_mns, bool final, struct net_buf *buf);
1372};
1373
1382
1385
1387 const struct bt_map_mce_mns_cb *_cb;
1388
1390 uint8_t _transport_type;
1391
1393 atomic_t _transport_state;
1394
1396 uint32_t _conn_id;
1397
1399 struct bt_obex_server _server;
1400
1402 atomic_t _state;
1403
1405 void (*_req_cb)(struct bt_map_mce_mns *mce_mns, bool final, struct net_buf *buf);
1406
1408 const char *_optype;
1409
1411 uint8_t _opcode;
1412};
1413
1424int bt_map_mce_mns_cb_register(struct bt_map_mce_mns *mce_mns, const struct bt_map_mce_mns_cb *cb);
1425
1436
1448
1459
1471
1483 struct net_buf_pool *pool);
1484
1498int bt_map_mce_mns_connect(struct bt_map_mce_mns *mce_mns, uint8_t rsp_code, struct net_buf *buf);
1499
1514 struct net_buf *buf);
1515
1529int bt_map_mce_mns_abort(struct bt_map_mce_mns *mce_mns, uint8_t rsp_code, struct net_buf *buf);
1530
1546 struct net_buf *buf);
1547 /* end of bt_map_mce_mns */
1549
1556
1558struct bt_map_mse_mas;
1559
1581
1603
1617 void (*rfcomm_connected)(struct bt_conn *conn, struct bt_map_mse_mas *mse_mas);
1618
1625 void (*rfcomm_disconnected)(struct bt_map_mse_mas *mse_mas);
1626
1635 void (*l2cap_connected)(struct bt_conn *conn, struct bt_map_mse_mas *mse_mas);
1636
1643 void (*l2cap_disconnected)(struct bt_map_mse_mas *mse_mas);
1644
1655 void (*connect)(struct bt_map_mse_mas *mse_mas, uint8_t version, uint16_t mopl,
1656 struct net_buf *buf);
1657
1666 void (*disconnect)(struct bt_map_mse_mas *mse_mas, struct net_buf *buf);
1667
1676 void (*abort)(struct bt_map_mse_mas *mse_mas, struct net_buf *buf);
1677
1688 void (*set_ntf_reg)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1689
1699 void (*set_folder)(struct bt_map_mse_mas *mse_mas, uint8_t flags, struct net_buf *buf);
1700
1711 void (*get_folder_listing)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1712
1723 void (*get_msg_listing)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1724
1735 void (*get_msg)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1736
1747 void (*set_msg_status)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1748
1759 void (*push_msg)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1760
1771 void (*update_inbox)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1772
1783 void (*get_mas_inst_info)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1784
1795 void (*set_owner_status)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1796
1807 void (*get_owner_status)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1808
1819 void (*get_convo_listing)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1820
1831 void (*set_ntf_filter)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1832};
1833
1842
1845
1847 const struct bt_map_mse_mas_cb *_cb;
1848
1850 uint8_t _transport_type;
1851
1853 atomic_t _transport_state;
1854
1856 uint32_t _conn_id;
1857
1859 struct bt_obex_server _server;
1860
1862 atomic_t _state;
1863
1865 void (*_req_cb)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf);
1866
1868 const char *_optype;
1869
1871 uint8_t _opcode;
1872};
1873
1884int bt_map_mse_mas_cb_register(struct bt_map_mse_mas *mse_mas, const struct bt_map_mse_mas_cb *cb);
1885
1896
1908
1919
1931
1943 struct net_buf_pool *pool);
1944
1958int bt_map_mse_mas_connect(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf);
1959
1973 struct net_buf *buf);
1974
1988int bt_map_mse_mas_abort(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf);
1989
2004 struct net_buf *buf);
2005
2020 struct net_buf *buf);
2021
2037 struct net_buf *buf);
2038
2054 struct net_buf *buf);
2055
2070int bt_map_mse_mas_get_msg(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf);
2071
2086 struct net_buf *buf);
2087
2102int bt_map_mse_mas_push_msg(struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf);
2103
2118 struct net_buf *buf);
2119
2135 struct net_buf *buf);
2136
2151 struct net_buf *buf);
2152
2168 struct net_buf *buf);
2169
2185 struct net_buf *buf);
2186
2201 struct net_buf *buf);
2202 /* end of bt_map_mse_mas */
2204
2211
2213struct bt_map_mse_mns;
2214
2228 void (*rfcomm_connected)(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns);
2229
2237 void (*rfcomm_disconnected)(struct bt_map_mse_mns *mse_mns);
2238
2247 void (*l2cap_connected)(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns);
2248
2256 void (*l2cap_disconnected)(struct bt_map_mse_mns *mse_mns);
2257
2269 void (*connect)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, uint8_t version,
2270 uint16_t mopl, struct net_buf *buf);
2271
2280 void (*disconnect)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, struct net_buf *buf);
2281
2291 void (*abort)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, struct net_buf *buf);
2292
2303 void (*send_event)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, struct net_buf *buf);
2304};
2305
2314
2317
2319 const struct bt_map_mse_mns_cb *_cb;
2320
2322 uint8_t _transport_type;
2323
2325 atomic_t _transport_state;
2326
2328 uint32_t _conn_id;
2329
2331 struct bt_obex_client _client;
2332
2334 atomic_t _state;
2335
2337 void (*_rsp_cb)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, struct net_buf *buf);
2338
2340 const char *_req_type;
2341};
2342
2353int bt_map_mse_mns_cb_register(struct bt_map_mse_mns *mse_mns, const struct bt_map_mse_mns_cb *cb);
2354
2367int bt_map_mse_mns_rfcomm_connect(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns,
2368 uint8_t channel);
2369
2381
2393int bt_map_mse_mns_l2cap_connect(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns,
2394 uint16_t psm);
2395
2407
2419 struct net_buf_pool *pool);
2420
2435int bt_map_mse_mns_connect(struct bt_map_mse_mns *mse_mns, struct net_buf *buf);
2436
2450int bt_map_mse_mns_disconnect(struct bt_map_mse_mns *mse_mns, struct net_buf *buf);
2451
2465int bt_map_mse_mns_abort(struct bt_map_mse_mns *mse_mns, struct net_buf *buf);
2466
2483int bt_map_mse_mns_send_event(struct bt_map_mse_mns *mse_mns, bool final, struct net_buf *buf);
2484 /* end of bt_map_mse_mns */
2486
2487#ifdef __cplusplus
2488}
2489#endif
2490
2494
2495#endif /* ZEPHYR_INCLUDE_BLUETOOTH_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_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: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:1291
void(* l2cap_connected)(struct bt_conn *conn, struct bt_map_mce_mns *mce_mns)
L2CAP transport connected callback.
Definition map.h:1318
void(* rfcomm_connected)(struct bt_conn *conn, struct bt_map_mce_mns *mce_mns)
RFCOMM transport connected callback.
Definition map.h:1300
void(* send_event)(struct bt_map_mce_mns *mce_mns, bool final, struct net_buf *buf)
Send event callback.
Definition map.h:1371
void(* disconnect)(struct bt_map_mce_mns *mce_mns, struct net_buf *buf)
Disconnect callback.
Definition map.h:1349
void(* abort)(struct bt_map_mce_mns *mce_mns, struct net_buf *buf)
Abort callback.
Definition map.h:1359
void(* connect)(struct bt_map_mce_mns *mce_mns, uint8_t version, uint16_t mopl, struct net_buf *buf)
Connect callback.
Definition map.h:1338
void(* l2cap_disconnected)(struct bt_map_mce_mns *mce_mns)
L2CAP transport disconnected callback.
Definition map.h:1326
void(* rfcomm_disconnected)(struct bt_map_mce_mns *mce_mns)
RFCOMM transport disconnected callback.
Definition map.h:1308
MAP Client MNS L2CAP server.
Definition map.h:1270
struct bt_goep_transport_l2cap_server server
GOEP L2CAP transport server - underlying transport layer.
Definition map.h:1272
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:1283
MAP Client MNS RFCOMM server.
Definition map.h:1249
struct bt_goep_transport_rfcomm_server server
GOEP RFCOMM transport server - underlying transport layer.
Definition map.h:1251
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:1262
MAP Client MNS instance structure.
Definition map.h:1379
struct bt_goep_transport goep_transport
Underlying GOEP transport instance.
Definition map.h:1381
struct bt_goep goep
Underlying GOEP instance.
Definition map.h:1384
MAP Server MAS callbacks.
Definition map.h:1608
void(* disconnect)(struct bt_map_mse_mas *mse_mas, struct net_buf *buf)
Disconnect callback.
Definition map.h:1666
void(* set_folder)(struct bt_map_mse_mas *mse_mas, uint8_t flags, struct net_buf *buf)
Set folder callback.
Definition map.h:1699
void(* get_folder_listing)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Get folder listing callback.
Definition map.h:1711
void(* connect)(struct bt_map_mse_mas *mse_mas, uint8_t version, uint16_t mopl, struct net_buf *buf)
Connect callback.
Definition map.h:1655
void(* push_msg)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Push message callback.
Definition map.h:1759
void(* l2cap_disconnected)(struct bt_map_mse_mas *mse_mas)
L2CAP transport disconnected callback.
Definition map.h:1643
void(* rfcomm_disconnected)(struct bt_map_mse_mas *mse_mas)
RFCOMM transport disconnected callback.
Definition map.h:1625
void(* get_msg)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Get message callback.
Definition map.h:1735
void(* set_owner_status)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Set owner status callback.
Definition map.h:1795
void(* abort)(struct bt_map_mse_mas *mse_mas, struct net_buf *buf)
Abort callback.
Definition map.h:1676
void(* l2cap_connected)(struct bt_conn *conn, struct bt_map_mse_mas *mse_mas)
L2CAP transport connected callback.
Definition map.h:1635
void(* set_msg_status)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Set message status callback.
Definition map.h:1747
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:1783
void(* set_ntf_reg)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Set notification registration callback.
Definition map.h:1688
void(* set_ntf_filter)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Set notification filter callback.
Definition map.h:1831
void(* rfcomm_connected)(struct bt_conn *conn, struct bt_map_mse_mas *mse_mas)
RFCOMM transport connected callback.
Definition map.h:1617
void(* get_msg_listing)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Get message listing callback.
Definition map.h:1723
void(* update_inbox)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Update inbox callback.
Definition map.h:1771
void(* get_owner_status)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Get owner status callback.
Definition map.h:1807
void(* get_convo_listing)(struct bt_map_mse_mas *mse_mas, bool final, struct net_buf *buf)
Get conversation listing callback.
Definition map.h:1819
MAP Server MAS L2CAP server.
Definition map.h:1586
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:1600
struct bt_goep_transport_l2cap_server server
GOEP L2CAP transport server - underlying transport layer.
Definition map.h:1588
MAP Server MAS RFCOMM server.
Definition map.h:1564
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:1578
struct bt_goep_transport_rfcomm_server server
GOEP RFCOMM transport server - underlying transport layer.
Definition map.h:1566
MAP Server MAS instance structure.
Definition map.h:1839
struct bt_goep goep
Underlying GOEP instance.
Definition map.h:1844
struct bt_goep_transport goep_transport
Underlying GOEP transport instance.
Definition map.h:1841
MAP Server MNS callbacks.
Definition map.h:2219
void(* abort)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, struct net_buf *buf)
Abort callback.
Definition map.h:2291
void(* disconnect)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, struct net_buf *buf)
Disconnect callback.
Definition map.h:2280
void(* l2cap_connected)(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns)
L2CAP transport connected callback.
Definition map.h:2247
void(* rfcomm_disconnected)(struct bt_map_mse_mns *mse_mns)
RFCOMM transport disconnected callback.
Definition map.h:2237
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:2269
void(* send_event)(struct bt_map_mse_mns *mse_mns, uint8_t rsp_code, struct net_buf *buf)
Send event callback.
Definition map.h:2303
void(* l2cap_disconnected)(struct bt_map_mse_mns *mse_mns)
L2CAP transport disconnected callback.
Definition map.h:2256
void(* rfcomm_connected)(struct bt_conn *conn, struct bt_map_mse_mns *mse_mns)
RFCOMM transport connected callback.
Definition map.h:2228
MAP Server MNS instance structure.
Definition map.h:2311
struct bt_goep_transport goep_transport
Underlying GOEP transport instance.
Definition map.h:2313
struct bt_goep goep
Underlying GOEP instance.
Definition map.h:2316
OBEX client structure.
Definition obex.h:541
OBEX server structure.
Definition obex.h:497
Network buffer pool representation.
Definition net_buf.h:1151
Network buffer representation.
Definition net_buf.h:1015