blob: 7ac4f75a735790565784cc9bda6ec5fa67825948 [file] [log] [blame]
#ifndef LYNQ_DATA_URC_H
#define LYNQ_DATA_URC_H
using ::android::Parcel;
#define LYNQ_URC_SERVICE_PORT 8086
/*the same with lynq_interface.h begin*/
#define LYNQ_REQUEST_VENDOR_BASE 8000
#define LYNQ_URC_VENDOR_BASE 9000
#define LYNQ_AT_SNED (LYNQ_REQUEST_VENDOR_BASE +1)
#define LYNQ_URC_CALL_STATUS_IND (LYNQ_URC_VENDOR_BASE+1)
#define LYNQ_URC_DATA_STATUS_IND (LYNQ_URC_VENDOR_BASE+2)
#define LYNQ_URC_DATA_CALL_STATUS_IND (LYNQ_URC_VENDOR_BASE+3)
#define LYNQ_AUTO_ANSWER_CALL (LYNQ_REQUEST_VENDOR_BASE +2)
#define LYNQ_REQUEST_SET_DTMF_VOLUME (LYNQ_REQUEST_VENDOR_BASE +3)
#define LYNQ_URC_MODIFY_APNDB (LYNQ_URC_VENDOR_BASE+4)
#define LYNQ_URC_RESET_APNDB (LYNQ_URC_VENDOR_BASE+5)
typedef struct{
int resp_type;
int urcid;
}lynq_head_t;
int lynq_init_data_urc_thread();
int lynq_deinit_data_urc_thread();
bool is_support_urc(int urc_id);
void urc_msg_process(Parcel *p);
#endif