| #include "lynq_interface.h" |
| using ::android::Parcel; |
| |
| #define LYNQ_ADDRESS "127.0.0.1" |
| #define LYNQ_URC_SERVICE_PORT 8086 |
| #ifdef GSW_RIL_CFG |
| #define LYNQ_URC_ADDRESS "127.255.255.255" /*hong.liu change broadcast addr on 2024.2.18*/ |
| #else |
| #define LYNQ_URC_ADDRESS "0.0.0.0" |
| #endif |
| #define LYNQ_REC_BUF 8192 |
| |
| #define RESULT_OK (0) |
| #define RESULT_ERROR (-1) |
| |
| typedef struct{ |
| int resp_type; |
| int urcid; |
| }lynq_head_t; |
| |
| void urc_msg_process(Parcel *p); |
| int lynq_start_all_urc_socket_thread(); |
| void lynq_close_all_urc_socket_thread(); |