|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Message Access Profile header. More...
#include <zephyr/kernel.h>#include <errno.h>#include <zephyr/bluetooth/bluetooth.h>#include <zephyr/bluetooth/uuid.h>#include <zephyr/bluetooth/conn.h>#include <zephyr/bluetooth/l2cap.h>#include <zephyr/bluetooth/classic/goep.h>Go to the source code of this file.
Data Structures | |
| struct | bt_map_mce_mas_cb |
| MAP Client MAS callbacks. More... | |
| struct | bt_map_mce_mas |
| MAP Client MAS instance structure. More... | |
| struct | bt_map_mce_mns_rfcomm_server |
| MAP Client MNS RFCOMM server. More... | |
| struct | bt_map_mce_mns_l2cap_server |
| MAP Client MNS L2CAP server. More... | |
| struct | bt_map_mce_mns_cb |
| MAP Client MNS callbacks. More... | |
| struct | bt_map_mce_mns |
| MAP Client MNS instance structure. More... | |
| struct | bt_map_mse_mas_rfcomm_server |
| MAP Server MAS RFCOMM server. More... | |
| struct | bt_map_mse_mas_l2cap_server |
| MAP Server MAS L2CAP server. More... | |
| struct | bt_map_mse_mas_cb |
| MAP Server MAS callbacks. More... | |
| struct | bt_map_mse_mas |
| MAP Server MAS instance structure. More... | |
| struct | bt_map_mse_mns_cb |
| MAP Server MNS callbacks. More... | |
| struct | bt_map_mse_mns |
| MAP Server MNS instance structure. More... | |
Macros | |
| #define | BT_MAP_MANDATORY_SUPPORTED_FEATURES (0x0000001FU) |
| MAP mandatory supported features bitmask. | |
| #define | BT_MAP_UUID_MAS |
| MAP Message Access Server (MAS) UUID. | |
| #define | BT_MAP_UUID_MNS |
| MAP Message Notification Server (MNS) UUID. | |
| #define | BT_MAP_FILLER_BYTE "0" |
| Filler byte for padding. | |
| #define | BT_MAP_HDR_TYPE_SEND_EVENT "x-bt/MAP-event-report" |
| Type header for send event operation. | |
| #define | BT_MAP_HDR_TYPE_SET_NTF_REG "x-bt/MAP-NotificationRegistration" |
| Type header for set notification registration operation. | |
| #define | BT_MAP_HDR_TYPE_GET_FOLDER_LISTING "x-obex/folder-listing" |
| Type header for get folder listing operation. | |
| #define | BT_MAP_HDR_TYPE_GET_MSG_LISTING "x-bt/MAP-msg-listing" |
| Type header for get message listing operation. | |
| #define | BT_MAP_HDR_TYPE_GET_MSG "x-bt/message" |
| Type header for get message operation. | |
| #define | BT_MAP_HDR_TYPE_SET_MSG_STATUS "x-bt/messageStatus" |
| Type header for set message status operation. | |
| #define | BT_MAP_HDR_TYPE_PUSH_MSG "x-bt/message" |
| Type header for push message operation. | |
| #define | BT_MAP_HDR_TYPE_UPDATE_INBOX "x-bt/MAP-messageUpdate" |
| Type header for update inbox operation. | |
| #define | BT_MAP_HDR_TYPE_GET_MAS_INST_INFO "x-bt/MASInstanceInformation" |
| Type header for get MAS instance info operation. | |
| #define | BT_MAP_HDR_TYPE_SET_OWNER_STATUS "x-bt/ownerStatus" |
| Type header for set owner status operation. | |
| #define | BT_MAP_HDR_TYPE_GET_OWNER_STATUS "x-bt/ownerStatus" |
| Type header for get owner status operation. | |
| #define | BT_MAP_HDR_TYPE_GET_CONVO_LISTING "x-bt/MAP-convo-listing" |
| Type header for get conversation listing operation. | |
| #define | BT_MAP_HDR_TYPE_SET_NTF_FILTER "x-bt/MAP-notification-filter" |
| Type header for set notification filter operation. | |
Functions | |
| 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_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_rfcomm_disconnect (struct bt_map_mce_mas *mce_mas) |
| Disconnect MAP Client MAS over RFCOMM. | |
| 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. | |
| 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_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_abort (struct bt_map_mce_mas *mce_mas, struct net_buf *buf) |
| Send OBEX abort request. | |
| 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_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_get_folder_listing (struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf) |
| Send get folder listing 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_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_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_push_msg (struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf) |
| Send push message 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_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_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_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_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_filter (struct bt_map_mce_mas *mce_mas, bool final, struct net_buf *buf) |
| Send set notification filter request. | |
| 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_rfcomm_disconnect (struct bt_map_mce_mns *mce_mns) |
| Disconnect MAP Client MNS over RFCOMM. | |
| 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_l2cap_disconnect (struct bt_map_mce_mns *mce_mns) |
| Disconnect MAP Client MNS over L2CAP. | |
| 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_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_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_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_send_event (struct bt_map_mce_mns *mce_mns, uint8_t rsp_code, struct net_buf *buf) |
| Send event 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_rfcomm_register (struct bt_map_mse_mas_rfcomm_server *server) |
| Register MAP Server MAS RFCOMM server. | |
| 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_l2cap_register (struct bt_map_mse_mas_l2cap_server *server) |
| Register MAP Server MAS L2CAP server. | |
| int | bt_map_mse_mas_l2cap_disconnect (struct bt_map_mse_mas *mse_mas) |
| Disconnect MAP Server MAS over L2CAP. | |
| 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_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_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_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_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_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_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_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_get_msg (struct bt_map_mse_mas *mse_mas, uint8_t rsp_code, struct net_buf *buf) |
| Send get message 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_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_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_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_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_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_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_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_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_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_rfcomm_disconnect (struct bt_map_mse_mns *mse_mns) |
| Disconnect MAP Server MNS over RFCOMM. | |
| 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. | |
| 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_connect (struct bt_map_mse_mns *mse_mns, struct net_buf *buf) |
| Send OBEX connect request. | |
| 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_abort (struct bt_map_mse_mns *mse_mns, struct net_buf *buf) |
| Send OBEX abort request. | |
| int | bt_map_mse_mns_send_event (struct bt_map_mse_mns *mse_mns, bool final, struct net_buf *buf) |
| Send event notification request. | |
Message Access Profile header.