BT_MAP_CLIENT_EVENT,
BT_GATT_BLUEZ_EVENT, /* GattValueChanged from bluez directly */
BT_TDS_EVENT,
+ BT_OTP_EVENT,
/* Will be added */
} bt_event_type_t;
#define BT_FUNC_PXP_BASE ((int)(BT_FUNC_DPM_BASE + 0x0030)) /* Adding 0x0030 to base, as DPM has more use case */
#define BT_FUNC_MAP_BASE ((int)(BT_FUNC_PXP_BASE + 0x0020))
#define BT_FUNC_TDS_BASE ((int)(BT_FUNC_MAP_BASE + 0x0020))
+#define BT_FUNC_OTP_BASE ((int)(BT_FUNC_TDS_BASE + 0x0020))
typedef enum {
BT_CHECK_ADAPTER = BT_FUNC_BASE,
BT_TDS_READ_TRANSPORT_DATA,
BT_TDS_ENABLE_CONTROL_POINT,
BT_TDS_ACTIVATE_CONTROL_POINT,
+ BT_OTP_SERVER_INIT = BT_FUNC_OTP_BASE,
+ BT_OTP_SERVER_DEINIT,
} bt_function_t;
typedef struct {
#define BT_A2DP_SOURCE_PATH "/org/projectx/bt/a2dp_source"
#define BT_HID_DEVICE_PATH "/org/projectx/bt/hid_device"
#define BT_TDS_PATH "/org/projectx/bt/tds"
+#define BT_OTP_PATH "/org/projectx/bt/otp"
#define BT_ENABLED "Enabled"
#define BT_DISABLED "Disabled"
#define BT_TDS_CONTROL_POINT_ENABLED "TdsControlPointEnabled"
#define BT_TDS_ACTIVATION_INDICATION "TdsActivationIndication"
+/* OTP */
+#define BT_OTP_SERVER_STATE_CHANGED "OtpServerStateChanged"
+
typedef enum {
_PROFILE_UNKNOWN = 0,
_PROFILE_MOBILE = 0x1,