rjw | 4d48a8e | 2023-01-18 11:34:28 +0800 | [diff] [blame] | 1 | #ifndef LYNQ_DATA_URC_H |
| 2 | #define LYNQ_DATA_URC_H |
| 3 | |
| 4 | using ::android::Parcel; |
| 5 | |
| 6 | #define LYNQ_URC_SERVICE_PORT 8086 |
| 7 | |
| 8 | /*the same with lynq_interface.h begin*/ |
| 9 | #define LYNQ_REQUEST_VENDOR_BASE 8000 |
| 10 | #define LYNQ_URC_VENDOR_BASE 9000 |
| 11 | #define LYNQ_AT_SNED (LYNQ_REQUEST_VENDOR_BASE +1) |
| 12 | #define LYNQ_URC_CALL_STATUS_IND (LYNQ_URC_VENDOR_BASE+1) |
| 13 | #define LYNQ_URC_DATA_STATUS_IND (LYNQ_URC_VENDOR_BASE+2) |
| 14 | #define LYNQ_URC_DATA_CALL_STATUS_IND (LYNQ_URC_VENDOR_BASE+3) |
| 15 | #define LYNQ_AUTO_ANSWER_CALL (LYNQ_REQUEST_VENDOR_BASE +2) |
| 16 | #define LYNQ_REQUEST_SET_DTMF_VOLUME (LYNQ_REQUEST_VENDOR_BASE +3) |
| 17 | #define LYNQ_URC_MODIFY_APNDB (LYNQ_URC_VENDOR_BASE+4) |
| 18 | #define LYNQ_URC_RESET_APNDB (LYNQ_URC_VENDOR_BASE+5) |
| 19 | |
| 20 | typedef struct{ |
| 21 | int resp_type; |
| 22 | int urcid; |
| 23 | }lynq_head_t; |
| 24 | |
| 25 | int lynq_init_data_urc_thread(); |
| 26 | int lynq_deinit_data_urc_thread(); |
| 27 | bool is_support_urc(int urc_id); |
| 28 | void urc_msg_process(Parcel *p); |
| 29 | |
you.chen | 2f5cd7b | 2023-03-20 19:06:08 +0800 | [diff] [blame^] | 30 | #endif |