blob: 01edc34f3d64488c4cdfa569c04cdb7da930a338 [file] [log] [blame]
#ifndef LYNQ_DATA_URC_H
#define LYNQ_DATA_URC_H
using ::android::Parcel;
#define LYNQ_URC_SERVICE_PORT 8086
#ifdef GSW_RIL_CFG
#define LYNQ_RIL_FWK_BROADCAST_IP "127.255.255.255" /*hong.liu change broadcast addr on 2024.2.18*/
#else
#define LYNQ_RIL_FWK_BROADCAST_IP "0.0.0.0"
#endif
/*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)
#define LYNQ_TELEPHONY_RESTART 3113
#define LYNQ_SET_IP_TUPLE_FILTER 2195
#define LYNQ_SET_IP_TUPLE_FILTER_MODE 2196
#define LYNQ_GET_IP_TUPLE_FILTER 2197
#define LYNQ_DEL_IP_TUPLE_FILTER 2198
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