* Status code. Errors are always negative.
*/
enum bt_notification_iterator_status {
- /** Try again. */
+ /** Canceled. */
+ BT_NOTIFICATION_ITERATOR_STATUS_CANCELED = 125,
+ /** No notifications available for now. Try again later. */
BT_NOTIFICATION_ITERATOR_STATUS_AGAIN = 11,
/** No more notifications to be delivered. */
BT_NOTIFICATION_ITERATOR_STATUS_END = 1,
BT_NOTIFICATION_ITERATOR_SEEK_ORIGIN_EPOCH = 3,
};
-struct bt_notification_iterator_next_return {
- struct bt_notification *notification;
- enum bt_notification_iterator_status status;
-};
-
/**
* Get current notification at iterator's position.
*