7#ifndef ZEPHYR_INCLUDE_BLUETOOTH_SERVICES_ANS_H_
8#define ZEPHYR_INCLUDE_BLUETOOTH_SERVICES_ANS_H_
30#define BT_ANS_ERR_CMD_NOT_SUP 0xa0
42#define BT_ANS_MAX_TEXT_STR_SIZE 18
int bt_ans_set_unread_support_category(uint16_t mask)
Set the support for a given unread new alert category.
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_count(struct bt_conn *conn, enum bt_ans_cat category, uint8_t unread)
Set the total unread count for a given category.
bt_ans_cat
ANS Category ID Enum.
Definition ans.h:49
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.
@ BT_ANS_CAT_CALL
Incoming call alerts.
Definition ans.h:53
@ BT_ANS_CAT_SMS_MMS
SMS/MMS text messages.
Definition ans.h:55
@ BT_ANS_CAT_INSTANT_MESSAGE
Instant messaging alerts.
Definition ans.h:59
@ BT_ANS_CAT_SIMPLE_ALERT
Simple alerts (general notifications).
Definition ans.h:50
@ BT_ANS_CAT_NEWS
News updates.
Definition ans.h:52
@ BT_ANS_CAT_EMAIL
Email messages.
Definition ans.h:51
@ BT_ANS_CAT_MISSED_CALL
Missed call alerts.
Definition ans.h:54
@ BT_ANS_CAT_VOICE_MAIL
Voicemail notifications.
Definition ans.h:56
@ BT_ANS_CAT_HIGH_PRI_ALERT
High-priority alerts.
Definition ans.h:58
@ BT_ANS_CAT_SCHEDULE
Calendar or schedule alerts.
Definition ans.h:57
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89