cfw_event.h 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684
  1. /* Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  2. * All rights reserved.
  3. *
  4. * This software is supplied "AS IS" without any warranties.
  5. * RDA assumes no responsibility or liability for the use of the software,
  6. * conveys no license or title under any patent, copyright, or mask work
  7. * right to the product. RDA reserves the right to make changes in the
  8. * software without notification. RDA also make no representation or
  9. * warranty that such application will be suitable for the specified use
  10. * without further testing or modification.
  11. */
  12. #ifndef __CFW_EVENT_H__
  13. #define __CFW_EVENT_H__
  14. #include "quec_proj_config.h"
  15. #include "quec_proj_config_at.h"
  16. //
  17. // System level Events
  18. //
  19. #define EV_SYS_BASE 0
  20. #define EV_SYS_END_ 50
  21. #define EV_SHL_CFW_STATUS_IND (EV_SYS_BASE + 10)
  22. #define EV_COS_CALLBACK (EV_SYS_BASE + 11)
  23. #define EV_MESSAGE_EVENT (EV_SYS_BASE + 12)
  24. //
  25. // DM Events.
  26. //
  27. #define EV_DM_BASE (50)
  28. #define EV_DM_END_ (100)
  29. //
  30. // PM Evetns.
  31. //
  32. #define EV_PM_BASE (100)
  33. #define EV_PM_END_ (150)
  34. #define EV_CFW_START_ (500)
  35. #define EV_CFW_NW_RSP_BASE (500)
  36. #define EV_CFW_NW_RSP_END_ (550)
  37. #define EV_CFW_CC_RSP_BASE (550)
  38. #define EV_CFW_CC_RSP_END_ (600)
  39. #define EV_CFW_SS_RSP_BASE (600)
  40. #define EV_CFW_SS_RSP_END_ (650)
  41. #define EV_CFW_SIM_RSP_BASE (700)
  42. #define EV_CFW_SIM_RSP_END_ (770)
  43. #define EV_CFW_SMS_RSP_BASE (770)
  44. #define EV_CFW_SMS_RSP_END_ (800)
  45. #define EV_CFW_PBK_RSP_BASE (800)
  46. #define EV_CFW_PBK_RSP_END_ (850)
  47. #define EV_CFW_GPRS_RSP_BASE (850)
  48. #define EV_CFW_GPRS_RSP_END_ (900)
  49. #define EV_CFW_FAX_RSP_BASE (900)
  50. #define EV_CFW_FAX_RSP_END_ (950)
  51. #define EV_CFW_TCPIPUDP_RSP_BASE (1000)
  52. #define EV_CFW_TCPIPUDP_RSP_END_ (1050)
  53. #define EV_CFW_HTTP_RSP_BASE (1050)
  54. #define EV_CFW_HTTP_RSP_END_ (1100)
  55. #define EV_CFW_SHELL_RSP_BASE (1100)
  56. #define EV_CFW_SHELL_RSP_END_ (1150)
  57. #define EV_CFW_TM_RSP_BASE (1150) // Test Module
  58. #define EV_CFW_TM_RSP_END_ (1200)
  59. #define EV_RMC_BASE (1200) // Remote Control Module
  60. #define EV_RMC_END_ (1300)
  61. #define EV_CFW_WIFI_RSP_BASE (1300) // Test Module
  62. #define EV_CFW_WIFI_RSP_END_ (1350)
  63. #define EV_WIFI_RSP_BASE (1300)
  64. #define EV_WIFI_RSP_END_ (1350)
  65. #define EV_WIFI_IND_BASE (1351)
  66. #define EV_WIFI_IND_END_ (1400)
  67. #define EV_BT_TETHER_BASE (1400)
  68. #define EV_BT_TETHER_END_ (1450)
  69. //8850CM positioning abritration module handshake lte stack
  70. #define EV_CFW_PAM_HSL_BASE (1500) //HandShakeLte
  71. #define EV_CFW_PAM_HSL_END_ (1550)
  72. #define EV_CFW_PAM_GNSS_HSL_START_RSP (EV_CFW_PAM_HSL_BASE + 1)
  73. #define EV_CFW_PAM_GNSS_HSL_STOP_RSP (EV_CFW_PAM_HSL_BASE + 2)
  74. #define EV_CFW_PAM_GNSS_HSL_ABORT_IND (EV_CFW_PAM_HSL_BASE + 3)
  75. #define EV_CFW_PAM_WIFISCAN_HSL_START_RSP (EV_CFW_PAM_HSL_BASE + 4)
  76. #define EV_CFW_PAM_WIFISCAN_HSL_STOP_RSP (EV_CFW_PAM_HSL_BASE + 5)
  77. #define EV_CFW_PAM_WIFISCAN_HSL_ABORT_IND (EV_CFW_PAM_HSL_BASE + 6)
  78. #define EV_CFW_PAM_WIFISCAN_RESULT_RSP (EV_CFW_PAM_HSL_BASE + 7)
  79. #define EV_CFW_PAM_GNSS_RECOVERY_IND (EV_CFW_PAM_HSL_BASE + 8)
  80. #define EV_CFW_PAM_GNSS_LTE_PRIORITY_RSP (EV_CFW_PAM_HSL_BASE + 9)
  81. #define EV_AT_PAM_AGNSS_IND (EV_CFW_PAM_HSL_BASE + 11)
  82. #define EV_AT_PAM_GNSS_SLEEP_IND (EV_CFW_PAM_HSL_BASE + 12)
  83. #define EV_AT_PAM_OUTPUT_INFO_IND (EV_CFW_PAM_HSL_BASE + 13)
  84. #define EV_AT_PAM_DATA_SOCKET_IND (EV_CFW_PAM_HSL_BASE + 14)
  85. #define EV_AT_PAM_POSITION_INFO_IND (EV_CFW_PAM_HSL_BASE + 15)
  86. #define EV_PAM_STARTMODE_AND_AGNSS_IND (EV_CFW_PAM_HSL_BASE + 20)
  87. #define EV_CFW_IND_BASE (5000)
  88. #define EV_CFW_IND_END_ (5090)
  89. #define EV_CFW_END_ (6000)
  90. //
  91. // AFW event.
  92. //
  93. #define AFW_EV_BASE (7000)
  94. #define AFW_EV_END_ (8000)
  95. //
  96. // UI FW event
  97. //
  98. #define UI_FW_EV_BASE (9000)
  99. #define UI_FW_EV_END_ (10000)
  100. #ifdef CONFIG_QUEC_PROJECT_FEATURE
  101. #define QL_PS_ATTACH_EVENT 10900
  102. #define QL_PS_DETACH_EVENT 10910
  103. #ifdef CONFIG_QUEC_PROJECT_FEATURE_TCPIP_AT
  104. #define QL_TCPIP_EVENT 11000
  105. #endif
  106. #ifdef CONFIG_QUEC_PROJECT_FEATURE_FTP_AT
  107. #define QL_FTP_EVENT 11001
  108. #endif
  109. #ifdef CONFIG_QUEC_PROJECT_FEATURE_HTTP_AT
  110. #define QL_HTTP_EVENT 11002
  111. #endif
  112. #ifdef CONFIG_QUEC_PROJECT_FEATURE_MQTT_AT
  113. #define QL_MQTT_EVENT 11003
  114. #endif
  115. #define QL_DNS_EVENT 11004
  116. #define QL_PING_EVENT 11005
  117. #define QL_NTP_EVENT 11006
  118. #define QL_LBS_EVENT 11007
  119. #define QL_CTSREG_EVENT 11008
  120. #define QL_MMS_EVENT 11009
  121. #ifdef CONFIG_QUEC_PROJECT_FEATURE_BT
  122. #define QL_BTBLE_EVENT 11010
  123. #endif
  124. #ifdef CONFIG_QUEC_PROJECT_FEATURE_LWM2M_AT
  125. #define QL_LWM2M_EVENT 11011
  126. #endif
  127. #ifdef CONFIG_QUEC_PROJECT_FEATURE_SMTP_AT
  128. #define QL_SMTP_EVENT 11012
  129. #endif
  130. #ifdef CONFIG_QUEC_PROJECT_FEATURE_SMS_AT
  131. #define QL_SMS_EVENT 11013
  132. #endif
  133. #ifdef __QUEC_OEM_VER_AC__
  134. #define QL_TCPIP_AC_EVENT 11015
  135. #endif
  136. #define QL_NETDEV_EVENT 11300
  137. #define QL_MSG_PROCESS_EVENT 11310
  138. #define QL_LEDCFG_EVENT 11320
  139. #ifdef CONFIG_QUEC_PROJECT_FEATURE_WIFISCAN
  140. #define QL_WIFISCAN_SYNC_RSP 11330
  141. #endif
  142. #define QL_DATACALL_EVENT 11340
  143. #endif
  144. #define CSW_SRV_EV_END_ (0x000FFFFF)
  145. //
  146. // User Event: 0x00100000 -- 0xA0000000
  147. //
  148. #define EV_MMI_EV_BASE 0x00100000
  149. #define EV_MMI_EV_END_ 0xA0000000
  150. // ...
  151. // 0xA0000000 -- 0xF0000000 reserved by system.
  152. //
  153. //
  154. // CSW Private Event 0xF0000001 -- 0xF000F000
  155. // used by CSW internal only
  156. //
  157. #define EV_CSW_PRV_BASE 0xF0000001
  158. #define EV_CSW_PRV_END_ 0xF000F000
  159. //
  160. // CSW Private Event 0xF000F001 -- 0xFFFFF000
  161. //
  162. #define EV_CSW_REQ_BASE 0xF000F001
  163. #define EV_CSW_REQ_END_ 0xFFFFF000 // don't change this value!
  164. // ...
  165. // 0xFFFFF000 -- 0xFFFFFFF reserved by system.
  166. //
  167. #define EV_EMU_BASE 0xF0000000
  168. //
  169. // Helper Macros
  170. //
  171. #define IS_CFW_EVNET(evId) (((evId) >= EV_CFW_START_) && (evId) < EV_CFW_END_)
  172. //
  173. // DM & TIM Event.
  174. //
  175. #define EV_DM_POWER_ON_IND (EV_DM_BASE + 1) // 51
  176. #define EV_DM_DAEMON_IND (EV_DM_BASE + 2) // 52
  177. #define EV_DM_POWER_OFF_IND (EV_DM_BASE + 5)
  178. #define EV_TIM_ALRAM_IND (EV_DM_BASE + 6)
  179. #define EV_DM_UART_RECEIVE_DATA_IND (EV_DM_BASE + 8)
  180. #define EV_DM_EXTI_IND (EV_DM_BASE + 9)
  181. #define EV_DM_GPIO_IND (EV_DM_BASE + 10)
  182. #define EV_DM_RECORD_END_IND (EV_DM_BASE + 11)
  183. #define EV_DM_STREAM_END_IND (EV_DM_BASE + 12)
  184. #define EV_DM_GPADC_IND (EV_DM_BASE + 13)
  185. #define EV_TIM_SET_TIME_IND (EV_DM_BASE + 14)
  186. //guoh add speech indication, if start call, this indication will send to mmi task
  187. #define EV_DM_SPEECH_IND (EV_DM_BASE + 15)
  188. #define EV_DM_AUDIO_OPER_MSG_START (EV_DM_BASE + 16)
  189. #define EV_DM_AUDIO_CONTROL_IND (EV_DM_BASE + 16)
  190. #define EV_DM_SET_AUDIO_VOLUME_IND (EV_DM_BASE + 17)
  191. #define EV_DM_SET_MIC_GAIN_IND (EV_DM_BASE + 18)
  192. #define EV_DM_SET_AUDIO_MODE_IND (EV_DM_BASE + 19)
  193. #define EV_DM_AUD_SETUP_IND (EV_DM_BASE + 20)
  194. #define EV_DM_AUD_STREAM_START_IND (EV_DM_BASE + 21)
  195. #define EV_DM_AUD_STREAM_STOP_IND (EV_DM_BASE + 22)
  196. #define EV_DM_AUD_STREAM_PAUSE_IND (EV_DM_BASE + 23)
  197. #define EV_DM_AUD_STREAM_RECORD_IND (EV_DM_BASE + 24)
  198. #define EV_DM_AUD_TEST_MODE_SETUP_IND (EV_DM_BASE + 25)
  199. #define EV_DM_AUD_FORCE_RECV_MIC_SEL_IND (EV_DM_BASE + 26)
  200. #define EV_DM_AUD_SET_CUR_OUTPUT_DEVICE_IND (EV_DM_BASE + 27)
  201. #define EV_DM_AUD_MUTE_OUTPUT_DEVICE_IND (EV_DM_BASE + 28)
  202. #define EV_DM_AUD_LOUDSPK_WITH_EP_IND (EV_DM_BASE + 29)
  203. #define EV_DM_VOIS_RECORD_START_IND (EV_DM_BASE + 30)
  204. #define EV_DM_VOIS_RECORD_STOP_IND (EV_DM_BASE + 31)
  205. #define EV_DM_ARS_SETUP_IND (EV_DM_BASE + 33)
  206. #define EV_DM_ARS_RECORD_IND (EV_DM_BASE + 34)
  207. #define EV_DM_ARS_PAUSE_IND (EV_DM_BASE + 35)
  208. #define EV_DM_ARS_STOP_IND (EV_DM_BASE + 36)
  209. #define EV_DM_READ_IPC_DATA_IND (EV_DM_BASE + 38)
  210. #define EV_DM_AUDIO_OPER_MSG_END (EV_DM_BASE + 39)
  211. // don't change the following definition
  212. #define EV_KEY_DOWN (EV_DM_BASE + 40)
  213. #define EV_KEY_PRESS (EV_DM_BASE + 41)
  214. #define EV_KEY_UP (EV_DM_BASE + 42)
  215. #define EV_TIMER (EV_DM_BASE + 43)
  216. #define EV_DOUBLE_KEY_DOWN (EV_DM_BASE + 44)
  217. #define EV_DOUBLE_KEY_UP (EV_DM_BASE + 45)
  218. #define EV_DM_UART_MUX_RECEIVE_DATA_IND (EV_DM_BASE + 46)
  219. #define EV_DM_READ_UART_DATA_IND (EV_DM_BASE + 47)
  220. //
  221. // PM Event
  222. //
  223. #define EV_PM_BC_IND (EV_PM_BASE + 1) // 101
  224. //
  225. // CFW IND Event.
  226. //
  227. #define EV_CFW_INIT_IND (EV_CFW_IND_BASE + 1) // 5001
  228. #define EV_CFW_SRV_STATUS_IND (EV_CFW_IND_BASE + 2)
  229. #define EV_CFW_NW_SIGNAL_QUALITY_IND (EV_CFW_IND_BASE + 3)
  230. #define EV_CFW_NW_REG_STATUS_IND (EV_CFW_IND_BASE + 5)
  231. #define EV_CFW_CC_SPEECH_CALL_IND (EV_CFW_IND_BASE + 6)
  232. #define EV_CFW_CC_CRSSINFO_IND (EV_CFW_IND_BASE + 7)
  233. #define EV_CFW_NEW_SMS_IND (EV_CFW_IND_BASE + 8)
  234. #define EV_CFW_SMS_INFO_IND (EV_CFW_IND_BASE + 9)
  235. #define EV_CFW_CC_CALL_INFO_IND (EV_CFW_IND_BASE + 10)
  236. #define EV_CFW_SIM_STATUS_IND (EV_CFW_IND_BASE + 11)
  237. #define EV_CFW_SS_USSD_IND (EV_CFW_IND_BASE + 12)
  238. #define EV_CFW_CC_RELEASE_CALL_IND (EV_CFW_IND_BASE + 13)
  239. #define EV_CFW_CC_ERROR_IND (EV_CFW_IND_BASE + 14)
  240. #define EV_CFW_SAT_CMDTYPE_IND (EV_CFW_IND_BASE + 15)
  241. #define EV_CFW_PBK_IND (EV_CFW_IND_BASE + 16)
  242. #define EV_CFW_NW_NETWORKINFO_IND (EV_CFW_IND_BASE + 17)
  243. #define EV_CFW_GPRS_CXT_ACTIVE_IND (EV_CFW_IND_BASE + 18)
  244. #define EV_CFW_GPRS_CXT_DEACTIVE_IND (EV_CFW_IND_BASE + 19)
  245. #define EV_CFW_GPRS_MOD_IND (EV_CFW_IND_BASE + 20)
  246. #define EV_CFW_GPRS_STATUS_IND (EV_CFW_IND_BASE + 21)
  247. #define EV_CFW_GPRS_DATA_IND (EV_CFW_IND_BASE + 22)
  248. #define EV_CFW_GPRS_CTRL_RELEASE_IND (EV_CFW_IND_BASE + 23)
  249. #define EV_CFW_TCPIP_BEARER_LOSING_IND (EV_CFW_IND_BASE + 24) // TCP/IP IND
  250. #define EV_CFW_TCPIP_REV_DATA_IND (EV_CFW_IND_BASE + 25) // TCP/IP IND
  251. #define EV_CFW_TCPIP_CLOSE_IND (EV_CFW_IND_BASE + 26) // TCP/IP close IND
  252. #define EV_CFW_TCPIP_ERR_IND (EV_CFW_IND_BASE + 27) // TCP/IP ERROR IND
  253. #define EV_CFW_TCPIP_ACCEPT_IND (EV_CFW_IND_BASE + 28) // TCP/IP accept IND
  254. #define EV_CFW_ICMP_DATA_IND (EV_CFW_IND_BASE + 29)
  255. #define EV_CFW_DNS_RESOLV_SUC_IND (EV_CFW_IND_BASE + 30)
  256. #define EV_CFW_DNS_RESOLV_ERR_IND (EV_CFW_IND_BASE + 31)
  257. #define EV_CFW_PPP_DATA_IND (EV_CFW_IND_BASE + 32)
  258. #define EV_CFW_PPP_TERMINATE_IND (EV_CFW_IND_BASE + 33)
  259. #define EV_CFW_MBS_CALL_INFO_IND (EV_CFW_IND_BASE + 34)
  260. #define EV_CFW_NEW_EMS_IND (EV_CFW_IND_BASE + 35)
  261. #define EV_CFW_ATT_STATUS_IND (EV_CFW_IND_BASE + 36)
  262. #define EV_CFW_CC_STATUS_IND (EV_CFW_IND_BASE + 37)
  263. #define EV_CFW_CC_PROGRESS_IND (EV_CFW_IND_BASE + 38)
  264. #define EV_CFW_NW_JAMMING_DETECT_IND (EV_CFW_IND_BASE + 39)
  265. #define EV_CFW_CB_MSG_IND (EV_CFW_IND_BASE + 40)
  266. #define EV_CFW_CB_PAGE_IND (EV_CFW_IND_BASE + 41)
  267. #define EV_CFW_BLUETOOTH_DATA_IND (EV_CFW_IND_BASE + 42)
  268. #define EV_CFW_BLUETOOTH_WAKEUP_IND (EV_CFW_IND_BASE + 43)
  269. #define EV_CFW_REG_UPDATE_IND (EV_CFW_IND_BASE + 44)
  270. #define EV_CFW_NEW_SMS_PDU_IND (EV_CFW_IND_BASE + 45)
  271. #define EV_CFW_ICMPV4_DATA_REQ (EV_CFW_IND_BASE + 46)
  272. #define EV_CFW_ICMPV4_DATA_RPY (EV_CFW_IND_BASE + 47)
  273. #define EV_CFW_EXIT_IND (EV_CFW_IND_BASE + 48)
  274. #define EV_CFW_ERRC_CONNSTATUS_IND (EV_CFW_IND_BASE + 49)
  275. #define EV_CFW_GPRS_PDN_CTX_ACTIVE_IND (EV_CFW_IND_BASE + 51)
  276. #define EV_CFW_GPRS_SEC_CTX_ACTIVE_IND (EV_CFW_IND_BASE + 52)
  277. #define EV_CFW_GPRS_SEC_CTX_DEACTIVE_IND (EV_CFW_IND_BASE + 53)
  278. #define EV_CFW_GPRS_CTX_MODIFY_IND (EV_CFW_IND_BASE + 54)
  279. #define EV_CFW_EMC_NUM_LIST_IND (EV_CFW_IND_BASE + 55)
  280. #define EV_CFW_GPRS_EDRX_IND (EV_CFW_IND_BASE + 56)
  281. #define EV_CFW_GPRS_CCIOTOPT_IND (EV_CFW_IND_BASE + 57)
  282. #define EV_CFW_GPRS_APNCR_IND (EV_CFW_IND_BASE + 58)
  283. #define EV_CFW_GPRS_CRTDCP_IND (EV_CFW_IND_BASE + 59)
  284. #define EV_CFW_GPRS_NONIPDATA_IND (EV_CFW_IND_BASE + 60)
  285. #define EV_CFW_IPERF_REV_DATA_IND (EV_CFW_IND_BASE + 61)
  286. #define EV_CFW_CALL_CONTROL_CCM_IND (EV_CFW_IND_BASE + 62)
  287. #define EV_CFW_CC_AUDIOON_IND (EV_CFW_IND_BASE + 63)
  288. #define EV_CFW_CC_ALERT_IND (EV_CFW_IND_BASE + 64)
  289. #define EV_CFW_IMS_STATE_IND (EV_CFW_IND_BASE + 65)
  290. #define EV_CFW_CC_CALL_PATH_IND (EV_CFW_IND_BASE + 66)
  291. #define EV_CFW_CC_CALL_TI_ASSIGNED_IND (EV_CFW_IND_BASE + 67)
  292. #define EV_CFW_CC_AUDIO_RESTART_IND (EV_CFW_IND_BASE + 68)
  293. #define EV_CFW_NW_SIM_SWITCH_IND (EV_CFW_IND_BASE + 69)
  294. #define EV_CFW_GPRS_AUTO_ACT_IND (EV_CFW_IND_BASE + 70)
  295. #define EV_CFW_TCPIP_DATA_RF_ACKED_IND (EV_CFW_IND_BASE + 71)
  296. #define EV_CFW_GPRS_APPSN_IND (EV_CFW_IND_BASE + 72)
  297. #define EV_CFW_SMS_CONCAT_MESSAGE_IND (EV_CFW_IND_BASE + 73)
  298. #define EV_CFW_CC_DTMF_KEY_IND (EV_CFW_IND_BASE + 74)
  299. #if defined RPM_SUPPORT && defined(CONFIG_SOC_8910)
  300. #define EV_CFW_RPM_REBOOT_IND (EV_CFW_IND_BASE + 75)
  301. #endif
  302. #define EV_CFW_ERRC_CONNSTATUS_V2_IND (EV_CFW_IND_BASE + 76)
  303. #if defined(CONFIG_SOC_8910) || defined(CONFIG_SOC_8850)
  304. #define EV_CFW_BSIC_PCI_STATUS_IND (EV_CFW_IND_BASE + 77)
  305. #define EV_CFW_ENG_EVENT_RPT_IND (EV_CFW_IND_BASE + 78)
  306. #define EV_CFW_ENG_STATIS_RPT_IND (EV_CFW_IND_BASE + 79)
  307. #define EV_CFW_GSM_RACH_RESULT_IND (EV_CFW_IND_BASE + 80)
  308. #define EV_CFW_ENG_STATIS_RPT_EL1_IND (EV_CFW_IND_BASE + 81)
  309. #define EV_CFW_ENG_EVENT_RPT_V2_IND (EV_CFW_IND_BASE + 83)
  310. #endif
  311. #define EV_CFW_GPRS_NONIP_ACT_IND (EV_CFW_IND_BASE + 82)
  312. #if defined(CONFIG_SOC_8910) || defined(CONFIG_SOC_8850)
  313. #define EV_CFW_ENG_STATIS_RPT_V2_IND (EV_CFW_IND_BASE + 84)
  314. #define EV_CFW_NW_EMM_FAILED_PROCEDURE_IND (EV_CFW_IND_BASE + 85)
  315. #endif
  316. //
  317. // Emulator Event
  318. //
  319. #define EV_EMU_SCM_REQ (EV_EMU_BASE + 1)
  320. #define EV_EMU_SCL_RSP (EV_EMU_BASE + 2)
  321. #define EV_EMU_SCL_REQ (EV_EMU_BASE + 3)
  322. #define EV_EMU_SCL_TST (EV_EMU_BASE + 4)
  323. #define EV_EMU_TRACE (EV_EMU_BASE + 5)
  324. #define EV_EMU_SYSTEM (EV_EMU_BASE + 6)
  325. #define EV_EMU_EXIT (EV_EMU_BASE + 7)
  326. #define EV_EMU_SCL_AUDIO (EV_EMU_BASE + 10)
  327. #define EV_EMU_LCD (EV_EMU_BASE + 11)
  328. #define EV_EMU_INPUT (EV_EMU_BASE + 12)
  329. //
  330. // NW Response Event.
  331. //
  332. #define EV_CFW_NW_SET_BAND_RSP (EV_CFW_NW_RSP_BASE + 1) // 501
  333. #define EV_CFW_NW_GET_IMEI_RSP (EV_CFW_NW_RSP_BASE + 2)
  334. #define EV_CFW_NW_GET_SIGNAL_QUALITY_RSP (EV_CFW_NW_RSP_BASE + 3)
  335. #define EV_CFW_NW_SET_REGISTRATION_RSP (EV_CFW_NW_RSP_BASE + 4)
  336. #define EV_CFW_NW_DEREGISTER_RSP (EV_CFW_NW_RSP_BASE + 5)
  337. #define EV_CFW_NW_GET_AVAIL_OPERATOR_RSP (EV_CFW_NW_RSP_BASE + 6)
  338. #define EV_CFW_NW_ABORT_LIST_OPERATORS_RSP (EV_CFW_NW_RSP_BASE + 7)
  339. #define EV_CFW_SET_COMM_RSP (EV_CFW_NW_RSP_BASE + 8)
  340. #define EV_CFW_NW_STORELIST_IND (EV_CFW_NW_RSP_BASE + 9)
  341. #define EV_CFW_XCPU_TEST_RSP (EV_CFW_NW_RSP_BASE + 10)
  342. #define EV_CFW_WCPU_TEST_RSP (EV_CFW_NW_RSP_BASE + 11)
  343. #define EV_CFW_NW_GET_QSCANF_RSP (EV_CFW_NW_RSP_BASE + 12)
  344. #define EV_CFW_NW_CELL_LIST_INFO_IND (EV_CFW_NW_RSP_BASE + 13)
  345. #ifdef CONFIG_SOC_6760
  346. #define EV_CFW_NW_PAY_LOAD_INFO_IND (EV_CFW_NW_RSP_BASE + 14)
  347. #endif
  348. #define EV_CFW_NW_GET_FREQSCAN_RSP (EV_CFW_NW_RSP_BASE + 15)
  349. #define EV_CFW_NW_GET_JAMMING_RSP (EV_CFW_NW_RSP_BASE + 16)
  350. #define EV_CFW_NW_DETACH_ALL_RSP (EV_CFW_NW_RSP_BASE + 17)
  351. #define EV_CFW_NW_MEASURE_RESULT_RSP (EV_CFW_NW_RSP_BASE + 18)
  352. #define EV_CFW_NW_JAMMING_RSSI_RSP (EV_CFW_NW_RSP_BASE + 19)
  353. #define EV_CFW_BLKLIST_GSM_PARAM_GET_IND (EV_CFW_NW_RSP_BASE + 20)
  354. #define EV_CFW_NW_NET_DL_PSM_PARAM_RSP (EV_CFW_NW_RSP_BASE + 21)
  355. #define EV_CFW_BLKLIST_LTE_PARAM_GET_IND (EV_CFW_NW_RSP_BASE + 22)
  356. #define EV_CFW_ERRC_IDL_MEAS_OFFSET_READ_RSP (EV_CFW_NW_RSP_BASE + 23)
  357. #define EV_CFW_NW_GET_FREQSCAN_V2_RSP (EV_CFW_NW_RSP_BASE + 24)
  358. #define EV_CFW_NW_CSG_LIST_RSP (EV_CFW_NW_RSP_BASE + 25)
  359. //
  360. // GPRS Response Event.
  361. //
  362. #define EV_CFW_GPRS_CTX_MODIFY_ACC_RSP (EV_CFW_GPRS_RSP_BASE + 1) // 851
  363. #define EV_CFW_GPRS_ATT_RSP (EV_CFW_GPRS_RSP_BASE + 2)
  364. #define EV_CFW_GPRS_ACT_RSP (EV_CFW_GPRS_RSP_BASE + 3)
  365. #define EV_CFW_GPRS_CXT_ACTIVE_RSP (EV_CFW_GPRS_RSP_BASE + 4)
  366. #define EV_CFW_GPRS_MOD_RSP (EV_CFW_GPRS_RSP_BASE + 5)
  367. #define EV_CFW_WIFI_CONNECTED_RSP (EV_CFW_GPRS_RSP_BASE + 6)
  368. #define EV_TCPIP_CFW_GPRS_ACT (EV_CFW_GPRS_RSP_BASE + 7)
  369. #define EV_TCPIP_CFW_GPRS_DEACT (EV_CFW_GPRS_RSP_BASE + 8)
  370. #define EV_TCPIP_ETHCARD_CONNECT (EV_CFW_GPRS_RSP_BASE + 9)
  371. #define EV_TCPIP_ETHCARD_DISCONNECT (EV_CFW_GPRS_RSP_BASE + 10)
  372. #define EV_TCPIP_CFW_GPRS_RFACK (EV_CFW_GPRS_RSP_BASE + 11)
  373. #define EV_TCPIP_CFW_GPRS_ACTED (EV_CFW_GPRS_RSP_BASE + 12)
  374. #define EV_TCPIP_CFW_GPRS_DEACTED (EV_CFW_GPRS_RSP_BASE + 13)
  375. #define EV_TCPIP_UNETLOG_IND (EV_CFW_GPRS_RSP_BASE + 14)
  376. #define EV_TCPIP_CFW_GPRS_IPV6_PREFERED (EV_CFW_GPRS_RSP_BASE + 15)
  377. //
  378. // CC Response Event
  379. //
  380. #define EV_CFW_CC_ACCEPT_SPEECH_CALL_RSP (EV_CFW_CC_RSP_BASE + 1) // 551
  381. #define EV_CFW_CC_CALL_HOLD_MULTIPARTY_RSP (EV_CFW_CC_RSP_BASE + 2)
  382. #define EV_CFW_CC_INITIATE_SPEECH_CALL_RSP (EV_CFW_CC_RSP_BASE + 3)
  383. #define EV_CFW_CC_RELEASE_CALL_RSP (EV_CFW_CC_RSP_BASE + 4)
  384. #define EV_CFW_CC_CALL_SWAP_RSP (EV_CFW_CC_RSP_BASE + 5)
  385. //
  386. // SS Response Event
  387. //
  388. #define EV_CFW_SS_QUERY_CLIP_RSP (EV_CFW_SS_RSP_BASE + 1) // 601
  389. #define EV_CFW_SS_SET_CALL_WAITING_RSP (EV_CFW_SS_RSP_BASE + 2)
  390. #define EV_CFW_SS_QUERY_CALL_WAITING_RSP (EV_CFW_SS_RSP_BASE + 3)
  391. #define EV_CFW_SS_SET_CALL_FORWARDING_RSP (EV_CFW_SS_RSP_BASE + 4)
  392. #define EV_CFW_SS_QUERY_CALL_FORWARDING_RSP (EV_CFW_SS_RSP_BASE + 5)
  393. #define EV_CFW_SS_SET_FACILITY_LOCK_RSP (EV_CFW_SS_RSP_BASE + 6)
  394. #define EV_CFW_SS_GET_FACILITY_LOCK_RSP (EV_CFW_SS_RSP_BASE + 7)
  395. #define EV_CFW_SS_CHANGE_PWD_RSP (EV_CFW_SS_RSP_BASE + 8)
  396. #define EV_CFW_SS_QUERY_FACILITY_LOCK_RSP (EV_CFW_SS_RSP_BASE + 9)
  397. #define EV_CFW_SS_QUERY_CLIR_RSP (EV_CFW_SS_RSP_BASE + 10)
  398. #define EV_CFW_SS_QUERY_COLP_RSP (EV_CFW_SS_RSP_BASE + 11)
  399. #define EV_CFW_SS_SEND_USSD_RSP (EV_CFW_SS_RSP_BASE + 12)
  400. #define EV_CFW_SS_TERMINATE_RSP (EV_CFW_SS_RSP_BASE + 13)
  401. #define EV_CFW_SS_QUERY_COLR_RSP (EV_CFW_SS_RSP_BASE + 14)
  402. #if 1 //NBIOT_POSITION_SUPPORT
  403. #define EV_CFW_LCS_MTLR_IND (EV_CFW_SS_RSP_BASE + 15)
  404. #define EV_CFW_LCS_MOLR_RES (EV_CFW_SS_RSP_BASE + 16)
  405. #define EV_CFW_LCS_MOLR_ERR (EV_CFW_SS_RSP_BASE + 17)
  406. #endif //NBIOT_POSITION_SUPPORT
  407. //
  408. // SIM Response Event
  409. //
  410. #define EV_CFW_SIM_ADD_PBK_RSP (EV_CFW_SIM_RSP_BASE + 1) // 701
  411. #define EV_CFW_SIM_DELETE_PBK_ENTRY_RSP (EV_CFW_SIM_RSP_BASE + 2)
  412. #define EV_CFW_SIM_GET_PBK_ENTRY_RSP (EV_CFW_SIM_RSP_BASE + 3)
  413. #define EV_CFW_SIM_LIST_PBK_ENTRY_RSP (EV_CFW_SIM_RSP_BASE + 4)
  414. #define EV_CFW_SIM_GET_PBK_STRORAGE_RSP (EV_CFW_SIM_RSP_BASE + 5)
  415. #define EV_CFW_SIM_GET_PBK_STRORAGE_INFO_RSP (EV_CFW_SIM_RSP_BASE + 6)
  416. #define EV_CFW_SIM_GET_PROVIDER_ID_RSP (EV_CFW_SIM_RSP_BASE + 7)
  417. #define EV_CFW_SIM_CHANGE_PWD_RSP (EV_CFW_SIM_RSP_BASE + 8)
  418. #define EV_CFW_SIM_GET_AUTH_STATUS_RSP (EV_CFW_SIM_RSP_BASE + 9)
  419. #define EV_CFW_SIM_ENTER_AUTH_RSP (EV_CFW_SIM_RSP_BASE + 11)
  420. #define EV_CFW_SIM_SET_FACILITY_LOCK_RSP (EV_CFW_SIM_RSP_BASE + 12)
  421. #define EV_CFW_SIM_GET_FACILITY_LOCK_RSP (EV_CFW_SIM_RSP_BASE + 13)
  422. #define EV_CFW_SIM_DELETE_MESSAGE_RSP (EV_CFW_SIM_RSP_BASE + 15)
  423. #define EV_CFW_SIM_WRITE_MESSAGE_RSP (EV_CFW_SIM_RSP_BASE + 16)
  424. #define EV_CFW_SIM_READ_MESSAGE_RSP (EV_CFW_SIM_RSP_BASE + 17)
  425. #define EV_CFW_SIM_LIST_MESSAGE_RSP (EV_CFW_SIM_RSP_BASE + 18)
  426. #define EV_CFW_SIM_GET_SMS_STORAGE_INFO_RSP (EV_CFW_SIM_RSP_BASE + 19)
  427. #define EV_CFW_SIM_READ_BINARY_RSP (EV_CFW_SIM_RSP_BASE + 20)
  428. #define EV_CFW_SIM_UPDATE_BINARY_RSP (EV_CFW_SIM_RSP_BASE + 21)
  429. #define EV_CFW_SIM_GET_SMS_PARAMETERS_RSP (EV_CFW_SIM_RSP_BASE + 22)
  430. #define EV_CFW_SIM_SET_SMS_PARAMETERS_RSP (EV_CFW_SIM_RSP_BASE + 23)
  431. #define EV_CFW_SIM_GET_MR_RSP (EV_CFW_SIM_RSP_BASE + 24)
  432. #define EV_CFW_SIM_SET_MR_RSP (EV_CFW_SIM_RSP_BASE + 25)
  433. #define EV_CFW_SIM_COMPOSE_PDU_RSP (EV_CFW_SIM_RSP_BASE + 26)
  434. #define EV_CFW_SAT_ACTIVATION_RSP (EV_CFW_SIM_RSP_BASE + 27)
  435. #define EV_CFW_SAT_GET_STATUS_RSP (EV_CFW_SIM_RSP_BASE + 28)
  436. #define EV_CFW_SAT_RESPONSE_RSP (EV_CFW_SIM_RSP_BASE + 29)
  437. #define EV_CFW_SAT_GET_INFORMATION_RSP (EV_CFW_SIM_RSP_BASE + 30)
  438. #define EV_CFW_SIM_SET_PREF_OPERATOR_LIST_RSP (EV_CFW_SIM_RSP_BASE + 31)
  439. #define EV_CFW_SIM_GET_PREF_OPERATOR_LIST_RSP (EV_CFW_SIM_RSP_BASE + 32)
  440. #define EV_CFW_SIM_GET_PREF_OPT_LIST_MAXNUM_RSP (EV_CFW_SIM_RSP_BASE + 33)
  441. #define EV_CFW_SIM_SET_PBKMODE_RSP (EV_CFW_SIM_RSP_BASE + 34)
  442. #define EV_CFW_SIM_GET_PBKMODE_RSP (EV_CFW_SIM_RSP_BASE + 35)
  443. #define EV_CFW_SIM_INIT_SMS_RSP (EV_CFW_SIM_RSP_BASE + 36)
  444. #define EV_CFW_SIM_LIST_COUNT_PBK_ENTRY_RSP (EV_CFW_SIM_RSP_BASE + 37)
  445. #define EV_CFW_SIM_RESET_RSP (EV_CFW_SIM_RSP_BASE + 38)
  446. #define EV_CFW_SIM_GET_PUCT_RSP (EV_CFW_SIM_RSP_BASE + 39)
  447. #define EV_CFW_SIM_SET_PUCT_RSP (EV_CFW_SIM_RSP_BASE + 40)
  448. #define EV_CFW_SIM_GET_ACMMAX_RSP (EV_CFW_SIM_RSP_BASE + 41)
  449. #define EV_CFW_SIM_SET_ACMMAX_RSP (EV_CFW_SIM_RSP_BASE + 42)
  450. #define EV_CFW_SIM_SET_ACM_RSP (EV_CFW_SIM_RSP_BASE + 43)
  451. #define EV_CFW_SIM_GET_ACM_RSP (EV_CFW_SIM_RSP_BASE + 44)
  452. #define EV_CFW_SIM_READ_EF_RSP (EV_CFW_SIM_RSP_BASE + 45)
  453. #define EV_CFW_SIM_GET_FILE_STATUS_RSP (EV_CFW_SIM_RSP_BASE + 46)
  454. #define EV_CFW_SIM_READ_RECORD_RSP (EV_CFW_SIM_RSP_BASE + 47)
  455. #define EV_CFW_SIM_UPDATE_RECORD_RSP (EV_CFW_SIM_RSP_BASE + 48)
  456. #define EV_CFW_SIM_GET_SPN_RSP (EV_CFW_SIM_RSP_BASE + 49)
  457. #define EV_CFW_SIM_GET_SMS_TOTAL_NUM_RSP (EV_CFW_SIM_RSP_BASE + 50)
  458. #define EV_CFW_SIM_GET_ICCID_RSP (EV_CFW_SIM_RSP_BASE + 51)
  459. #define EV_CFW_SIM_CLOSE_RSP (EV_CFW_SIM_RSP_BASE + 52)
  460. #define EV_CFW_SIM_SEARCH_PBK_RSP (EV_CFW_SIM_RSP_BASE + 53)
  461. #define EV_CFW_SIM_POWER_OFF_RSP (EV_CFW_SIM_RSP_BASE + 54)
  462. #define EV_CFW_SIM_READ_ELEMENTARY_RSP (EV_CFW_SIM_RSP_BASE + 55)
  463. #define EV_CFW_SIM_READ_VOICEMIAL_RSP (EV_CFW_SIM_RSP_BASE + 57)
  464. #define EV_CFW_SIM_UPDATE_VOICEMIAL_RSP (EV_CFW_SIM_RSP_BASE + 58)
  465. #define EV_CFW_SIM_INIT_ISIM_RSP (EV_CFW_SIM_RSP_BASE + 59)
  466. #define EV_CFW_SIM_READ_FILES_RSP (EV_CFW_SIM_RSP_BASE + 60)
  467. #define EV_CFW_SIM_TPDU_COMMAND_RSP (EV_CFW_SIM_RSP_BASE + 61)
  468. #define EV_CFW_SIM_MANAGE_CHANNEL_RSP (EV_CFW_SIM_RSP_BASE + 62)
  469. #define EV_CFW_SIM_SELECT_APPLICATION_RSP (EV_CFW_SIM_RSP_BASE + 63)
  470. #define EV_CFW_SIM_GET_DF_STATUS_RSP (EV_CFW_SIM_RSP_BASE + 64)
  471. #define EV_CFW_SIM_GET_EID_RSP (EV_CFW_SIM_RSP_BASE + 65)
  472. #define EV_CFW_SIM_GET_CDMA_IMSI_RSP (EV_CFW_SIM_RSP_BASE + 66)
  473. #define EV_CFW_SIM_SET_SUSPEND_RSP (EV_CFW_SIM_RSP_BASE + 67)
  474. #define EV_CFW_SIM_SET_RESUME_RSP (EV_CFW_SIM_RSP_BASE + 68)
  475. #define EV_CFW_SAT_TERMINAL_RESPONSE_RSP (EV_CFW_SIM_RSP_BASE + 69)
  476. #define EV_CFW_SAT_TERMINAL_ENVELOPE_RSP (EV_CFW_SIM_RSP_BASE + 70)
  477. //
  478. // SMS Response Event.
  479. //
  480. #define EV_CFW_SMS_DELETE_MESSAGE_RSP (EV_CFW_SMS_RSP_BASE + 1) // 761
  481. #define EV_CFW_SMS_GET_STORAGE_RSP (EV_CFW_SMS_RSP_BASE + 2)
  482. #define EV_CFW_SMS_SET_STORAGE_RSP (EV_CFW_SMS_RSP_BASE + 3)
  483. #define EV_CFW_SMS_LIST_MESSAGE_RSP (EV_CFW_SMS_RSP_BASE + 4)
  484. #define EV_CFW_SMS_READ_MESSAGE_RSP (EV_CFW_SMS_RSP_BASE + 5)
  485. #define EV_CFW_SMS_SEND_MESSAGE_RSP (EV_CFW_SMS_RSP_BASE + 6)
  486. #define EV_CFW_SMS_SET_CENTER_ADDR_RSP (EV_CFW_SMS_RSP_BASE + 7)
  487. #define EV_CFW_SMS_GET_CENTER_ADDR_RSP (EV_CFW_SMS_RSP_BASE + 8)
  488. #define EV_CFW_SMS_SET_TEXT_MODE_PARAM_RSP (EV_CFW_SMS_RSP_BASE + 9)
  489. #define EV_CFW_SMS_GET_TEXT_MODE_PARAM_RSP (EV_CFW_SMS_RSP_BASE + 10)
  490. #define EV_CFW_SMS_WRITE_MESSAGE_RSP (EV_CFW_SMS_RSP_BASE + 11)
  491. #define EV_CFW_SMS_LIST_MESSAGE_HRD_RSP (EV_CFW_SMS_RSP_BASE + 12)
  492. #define EV_CFW_SMS_COPY_MESSAGE_RSP (EV_CFW_SMS_RSP_BASE + 13)
  493. #define EV_CFW_SMS_SET_UNREAD2READ_RSP (EV_CFW_SMS_RSP_BASE + 14)
  494. #define EV_CFW_SMS_SET_UNSENT2SENT_RSP (EV_CFW_SMS_RSP_BASE + 15)
  495. #define EV_CFW_SMS_SET_READ2UNREAD_RSP (EV_CFW_SMS_RSP_BASE + 16)
  496. #define EV_CFW_SMS_SET_PARAM_RSP (EV_CFW_SMS_RSP_BASE + 17)
  497. #define EV_CFW_SIM_PATCH_RSP (EV_CFW_SMS_RSP_BASE + 18)
  498. #define EV_CFW_CB_READ_SIM_RSP (EV_CFW_SMS_RSP_BASE + 19)
  499. #define EV_CFW_SMS_MOVE_RSP (EV_CFW_SMS_RSP_BASE + 20)
  500. #define EV_CFW_CB_SET_MID_SIM_RSP (EV_CFW_SMS_RSP_BASE + 21)
  501. #define EV_CFW_SIM_PATCHEX_RSP (EV_CFW_SMS_RSP_BASE + 22)
  502. //
  503. // PBK Response Event
  504. //
  505. #define EV_CFW_PBK_ADD_RSP (EV_CFW_PBK_RSP_BASE + 1) // 801
  506. #define EV_CFW_PBK_UPDATE_ENTRY_RSP (EV_CFW_PBK_RSP_BASE + 2)
  507. #define EV_CFW_PBK_DELETE_RSP (EV_CFW_PBK_RSP_BASE + 3)
  508. #define EV_CFW_PBK_DELETE_BATCH_ENTRIES_RSP (EV_CFW_PBK_RSP_BASE + 4)
  509. #define EV_CFW_PBK_FIND_ENTRY_RSP (EV_CFW_PBK_RSP_BASE + 5)
  510. #define EV_CFW_PBK_LIST_ENTRIES_RSP (EV_CFW_PBK_RSP_BASE + 6)
  511. #define EV_CFW_PBK_GET_ENTRY_RSP (EV_CFW_PBK_RSP_BASE + 7)
  512. #define EV_CFW_PBK_COPY_ENTRIES_RSP (EV_CFW_PBK_RSP_BASE + 8)
  513. #define EV_CFW_PBK_ADD_ENTRY_ITEM_RSP (EV_CFW_PBK_RSP_BASE + 9)
  514. #define EV_CFW_PBK_GET_ENTRY_ITEMS_RSP (EV_CFW_PBK_RSP_BASE + 10)
  515. #define EV_CFW_PBK_DELETE_ENTRY_ITEM_RSP (EV_CFW_PBK_RSP_BASE + 11)
  516. #define EV_CFW_PBK_ADD_CALLLOG_ENTTRY_RSP (EV_CFW_PBK_RSP_BASE + 12)
  517. #define EV_CFW_PBK_GET_CALLLOG_ENTRY_RSP (EV_CFW_PBK_RSP_BASE + 13)
  518. #define EV_CFW_PBK_LIST_CALLLOG_ENTRIES_RSP (EV_CFW_PBK_RSP_BASE + 14)
  519. #define EV_CFW_PBK_DELETE_CALLLOG_ALL_ENTRIES_RSP (EV_CFW_PBK_RSP_BASE + 15)
  520. #define EV_CFW_PBK_CANCEL_RSP (EV_CFW_PBK_RSP_BASE + 16)
  521. #define EV_CFW_PBK_DELETE_CALLLOG_OLDEST_ENTRY_RSP (EV_CFW_PBK_RSP_BASE + 17)
  522. //
  523. // Shell Response Event
  524. //
  525. #define EV_CFW_ME_SET_FACILITY_LOCK_RSP (EV_CFW_SHELL_RSP_BASE + 1) // 1101
  526. #define EV_CFW_ME_GET_FACILITY_LOCK_RSP (EV_CFW_SHELL_RSP_BASE + 2)
  527. #define EV_CFW_ME_CHANGE_PWD_RSP (EV_CFW_SHELL_RSP_BASE + 3)
  528. //
  529. //TCP(UDP) / IP Event
  530. //
  531. #define EV_CFW_TCPIP_SOCKET_CONNECT_RSP (EV_CFW_TCPIPUDP_RSP_BASE + 1) // 1001
  532. #define EV_CFW_TCPIP_SOCKET_CLOSE_RSP (EV_CFW_TCPIPUDP_RSP_BASE + 2)
  533. #define EV_CFW_TCPIP_SOCKET_SEND_RSP (EV_CFW_TCPIPUDP_RSP_BASE + 3)
  534. #define EV_CFW_FTP_LONGIN_RSP (EV_CFW_TCPIPUDP_RSP_BASE + 4)
  535. #define EV_CFW_FTP_FILE_DOWNLOAD_RSP (EV_CFW_TCPIPUDP_RSP_BASE + 5)
  536. #define EV_CFW_FTP_LIST_RSP (EV_CFW_TCPIPUDP_RSP_BASE + 6)
  537. #define EV_CFW_FTP_CHANGEDIR_RSP (EV_CFW_TCPIPUDP_RSP_BASE + 7)
  538. #define EV_CFW_FTP_REC_DATA_IND (EV_CFW_TCPIPUDP_RSP_BASE + 8)
  539. //
  540. //test mode event
  541. //
  542. #define EV_CFW_TSM_INFO_IND (EV_CFW_TM_RSP_BASE + 1) // 1151
  543. #define EV_CFW_TSM_INFO_END_RSP (EV_CFW_TM_RSP_BASE + 2)
  544. #define EV_CFW_TSM_SYNC_INFO_IND (EV_CFW_TM_RSP_BASE + 3)
  545. #define EV_CFW_TSM_SYNC_INFO_END_RSP (EV_CFW_TM_RSP_BASE + 4)
  546. #define EV_RMT_STTPC_REQ (EV_RMC_BASE + 1) // 1201
  547. #define EV_RMT_STTPC_RSP (EV_RMC_BASE + 2)
  548. #define EV_RMT_APP_REQ (EV_RMC_BASE + 51)
  549. #define EV_RMT_APP_RSP (EV_RMC_BASE + 52)
  550. #define EV_DIAG_RECEIVE_DATA (EV_RMC_BASE + 60)
  551. #define EV_CFW_WIFI_INIT_RSP (EV_WIFI_RSP_BASE + 1) // 1301
  552. #define EV_CFW_WIFI_DEINIT_RSP (EV_WIFI_RSP_BASE + 2)
  553. #define EV_CFW_WIFI_SCAN_RSP (EV_WIFI_RSP_BASE + 3)
  554. #define EV_CFW_WIFI_CONN_RSP (EV_WIFI_RSP_BASE + 4)
  555. #define EV_CFW_WIFI_DISCONN_RSP (EV_WIFI_RSP_BASE + 5)
  556. #define EV_CFW_WIFI_DISCONNECT_IND (EV_WIFI_RSP_BASE + 6)
  557. #define EV_CFW_WIFI_SCAN_REQ (EV_WIFI_RSP_BASE + 7)
  558. #define EV_CFW_WIFI_CONNECT_REQ (EV_WIFI_RSP_BASE + 8)
  559. #define EV_CFW_WIFI_POWER_ON_REQ (EV_WIFI_RSP_BASE + 9)
  560. #define EV_MMI_WIFI_IPADDR_CHANGE_REQ (EV_WIFI_RSP_BASE + 10)
  561. #define EV_CFW_WIFI_CONNECTED_IND (EV_WIFI_IND_BASE + 1) // 1352
  562. #define EV_CFW_WIFI_DATA_IND (EV_WIFI_IND_BASE + 2)
  563. #define EV_CFW_WIFI_TEST_MODE_DATA_IND (EV_WIFI_IND_BASE + 3)
  564. #define EV_MAC_WIFI_DATA_IND (EV_WIFI_IND_BASE + 4)
  565. #define EV_MAC_WIFI_DATA_REQ (EV_WIFI_IND_BASE + 5)
  566. #define EV_CFW_WIFI_EAPOL_IND (EV_WIFI_IND_BASE + 6)
  567. #define EV_MMI_WIFI_CONNECTED_IND (EV_WIFI_IND_BASE + 7)
  568. #define EV_MMI_WIFI_NEED_POWEROFF_IND (EV_WIFI_IND_BASE + 8)
  569. #define EV_CFW_WIFI_IPADDR_UPDATE_IND (EV_WIFI_IND_BASE + 9)
  570. #define EV_CFW_WIFI_IPADDR_CONFLICT_IND (EV_WIFI_IND_BASE + 10)
  571. #define EV_CFW_WIFI_CURR_AP_INFO_IND (EV_WIFI_IND_BASE + 11)
  572. #define EV_WIFI_WIFI_RESET_REQ (EV_WIFI_IND_BASE + 12)
  573. #define EV_WIFI_MMI_RESET_IND (EV_WIFI_IND_BASE + 13)
  574. #define EV_CFW_WIFI_DISCONNECT_REQ (EV_WIFI_RSP_BASE + 14)
  575. #define EV_WIFI_WIFI_POWERON_CONTINUE_REQ (EV_WIFI_IND_BASE + 15)
  576. #define EV_CFW_WIFI_POWER_OFF_REQ (EV_WIFI_IND_BASE + 16)
  577. #define EV_MAC_WIFI_KET_SET_REQ (EV_WIFI_IND_BASE + 17)
  578. #define EV_CFW_WIFI_TEST_MODE_INFO_IND (EV_WIFI_IND_BASE + 18)
  579. #define EV_CFW_WIFI_GET_NETWORKINFO_REQ (EV_WIFI_IND_BASE + 19)
  580. #define EV_BT_TETHER_DATA_IND (EV_BT_TETHER_BASE + 1) // 1401
  581. #define EV_INTER_APS_TCPIP_REQ (EV_CSW_PRV_BASE + 5)
  582. #endif // _H_