at_cmd_loc.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. * Author:ning.li3
  12. */
  13. #ifndef __AT_CMD_LOC_H__
  14. #define __AT_CMD_LOC_H__
  15. //gnss and wifiscan mutex
  16. typedef enum
  17. {
  18. AT_GNSS_WIFISCAN_NONE,
  19. AT_GNSS_HANDLE,
  20. AT_WIFISCAN_HANDLE,
  21. } GNSS_WIFISCAN_FLAG;
  22. #ifdef CONFIG_PAM_LTE_GNSS_WIFISCAN_SUPPORT
  23. #define GNSS_COLD_START 1
  24. #define GNSS_HOT_START 0
  25. #define GNSS_RECOVERY 1
  26. #define GNSS_LTE_COEXIST 1
  27. #define START_GNSS_TIME 0
  28. #define COEXIST_ENABLE 1
  29. #define HSL_LTE_PROCESSING 1
  30. typedef struct
  31. {
  32. uint8_t nHslRetry;
  33. uint8_t nSim;
  34. uint8_t pSatelliteType;
  35. uint16_t nOutputFormat;
  36. uint32_t nTimeInterval;
  37. unsigned errcode;
  38. GNSS_STARTMODE_AGNSS_T gnssStartInfo;
  39. GNSS_READ_INFO_CNF_T *locGnsInfo;
  40. } atGnssStartCtx_t;
  41. void locSendPdpInfoResult(void *param);
  42. void _atGnssStopNotifyStack(void *param);
  43. #endif
  44. #endif