gnss_driver_api.h 990 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef __GNSS_DRIVER_API_H__
  2. #define __GNSS_DRIVER_API_H__
  3. #define GNSS_MODEM_BIN_PATH_MAX (256)
  4. typedef struct
  5. {
  6. unsigned int base_addr;
  7. int bin_size;
  8. const char path[GNSS_MODEM_BIN_PATH_MAX];
  9. } GnssModemBinInfo_T;
  10. /** gnss firmware download and dump APIs **/
  11. /** start power on(download)/power off **/
  12. int gnss_driver_power_enable(int set_value);
  13. /** set bin type **/
  14. void gnss_driver_set_subsys(int set_value);
  15. /** show bin type **/
  16. int gnss_driver_show_subsys(char *buf, int len);
  17. /** show gnss status **/
  18. int gnss_driver_show_status(char *buf, int len);
  19. /** init gnss_common_ctl **/
  20. //int gnss_driver_common_ctl_probe(void);
  21. int gnss_driver_common_ctl_probe(void);
  22. /** remove gnss_common_ctl not used**/
  23. int gnss_driver_common_ctl_remove(void);
  24. /** start dump **/
  25. int gnss_driver_dump_req(int set_value);
  26. // int gnss_driver_set_bin_info(GnssModemBinInfo_T *pInfo);
  27. /* get the gnss modem bin info */
  28. // int gnss_drvier_get_bin_info(GnssModemBinInfo_T *pInfo);
  29. #endif