platform_miscellaneous_interface.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*******************************************************
  2. * File name: platform_miscellaneous_interface.h
  3. * Author: Chongguang Li
  4. * Versions: 1.0
  5. * Description:This module includes platform relationship api.
  6. * History:
  7. * 1.Date: initial code
  8. * Author: Chongguang Li
  9. * Modification:
  10. *********************************************************/
  11. #ifndef _PLATFORM_MISCELLANEOUS_INTERFACE_H
  12. #define _PLATFORM_MISCELLANEOUS_INTERFACE_H
  13. #include "pando_types.h"
  14. /******************************************************************************
  15. * FunctionName : net_connect_check
  16. * Description : check whether the platform connect the net.
  17. * Parameters : none.
  18. * Returns : 1: the platform connect the net OK.
  19. * 0: the platform dose not connect the net.
  20. *******************************************************************************/
  21. bool net_connect_check(void);
  22. /******************************************************************************
  23. * FunctionName : get_device_serial
  24. * Description : get the unique identification of the device, such as mac address of internet device or imei of mobile device.
  25. * Parameters : serial_buf: the buf storage the serial.
  26. * Returns : none.
  27. *******************************************************************************/
  28. void get_device_serial(char* serial_buf);
  29. #endif