pinebuds/services/ble_profiles/pasp/pasp_common.h

42 lines
1.1 KiB
C
Raw Permalink Normal View History

2022-08-15 04:20:27 -05:00
#ifndef _PASP_COMMON_H_
#define _PASP_COMMON_H_
/**
****************************************************************************************
* @addtogroup PASP Phone Alert Status Profile
* @ingroup PROFILE
* @brief Phone Alert Status Profile
*****************************************************************************************
*/
/*
* INCLUDE FILES
****************************************************************************************
*/
/*
* DEFINES
****************************************************************************************
*/
/// Alert Status Flags
#define PASP_RINGER_ACTIVE (0x01)
#define PASP_VIBRATE_ACTIVE (0x02)
#define PASP_DISP_ALERT_STATUS_ACTIVE (0x04)
#define PASP_ALERT_STATUS_VAL_MAX (0x07)
/// Ringer Settings Keys
#define PASP_RINGER_SILENT (0)
#define PASP_RINGER_NORMAL (1)
/// Ringer Control Point Keys
#define PASP_SILENT_MODE (1)
#define PASP_MUTE_ONCE (2)
#define PASP_CANCEL_SILENT_MODE (3)
/// @} pasp_common
#endif //(_HTP_COMMON_H_)