cfw_cc.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. /**
  13. *@file cfw_cc.h
  14. *@author UNISOC
  15. *@email
  16. *@version
  17. *@data
  18. */
  19. #ifndef _CFW_CC_H_
  20. #define _CFW_CC_H_
  21. #include <stdint.h>
  22. #include <stdbool.h>
  23. #include "cfw_utility.h"
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27. #define TEL_NUMBER_MAX_LEN 21
  28. typedef struct _CFW_DIALNUMBER
  29. {
  30. uint8_t *pDialNumber;
  31. uint8_t nDialNumberSize;
  32. uint8_t nType;
  33. uint8_t nClir;
  34. //#ifdef CFW_VOLTE_SUPPORT //quectel modify
  35. uint8_t nNumType;
  36. uint8_t nExtend; //
  37. //#endif //quectel modify
  38. uint8_t padding[1];
  39. } CFW_DIALNUMBER;
  40. typedef struct
  41. {
  42. uint8_t pDialNumber[TEL_NUMBER_MAX_LEN];
  43. uint8_t nDialNumberSize;
  44. uint8_t nType;
  45. uint8_t nClir;
  46. uint8_t nNumType; // CFW_VOLTE_SUPPORT
  47. uint8_t nExtend; // CFW_VOLTE_SUPPORT
  48. } CFW_DIALNUMBER_V2;
  49. //#ifdef AT_EXT_CONF_SUPPORT
  50. typedef struct CFW_DIAL_EXT_CONF_CT
  51. {
  52. uint8_t participant_str[511];
  53. uint8_t nParticipantStrSize;
  54. uint8_t type;
  55. uint8_t operation;
  56. } CFW_DIAL_EXT_CONF_CT;
  57. //#endif
  58. typedef struct _CFW_TELNUMBER
  59. {
  60. uint8_t nTelNumber[TEL_NUMBER_MAX_LEN];
  61. uint8_t nType;
  62. uint8_t nSize;
  63. uint8_t padding[1];
  64. } CFW_TELNUMBER;
  65. #endif