|
Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
|
#include <stdint.h>Go to the source code of this file.
Macros | |
| #define | BT_ANS_ERR_CMD_NOT_SUP 0xa0 |
| Command not supported error code. | |
| #define | BT_ANS_MAX_TEXT_STR_SIZE 18 |
| ANS max text string size in octets. | |
Enumerations | |
| enum | bt_ans_cat { BT_ANS_CAT_SIMPLE_ALERT , BT_ANS_CAT_EMAIL , BT_ANS_CAT_NEWS , BT_ANS_CAT_CALL , BT_ANS_CAT_MISSED_CALL , BT_ANS_CAT_SMS_MMS , BT_ANS_CAT_VOICE_MAIL , BT_ANS_CAT_SCHEDULE , BT_ANS_CAT_HIGH_PRI_ALERT , BT_ANS_CAT_INSTANT_MESSAGE } |
| ANS Category ID Enum. More... | |
Functions | |
| int | bt_ans_set_new_alert_support_category (uint16_t mask) |
| Set the support for a given new alert category. | |
| int | bt_ans_set_unread_support_category (uint16_t mask) |
| Set the support for a given unread new alert category. | |
| int | bt_ans_notify_new_alert (struct bt_conn *conn, enum bt_ans_cat category, uint8_t num_new, const char *text) |
| Send a new alert to remote devices. | |
| int | bt_ans_set_unread_count (struct bt_conn *conn, enum bt_ans_cat category, uint8_t unread) |
| Set the total unread count for a given category. | |