common_functions.h 647 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*******************************************************
  2. * File name: common_functions.h
  3. * Author: LIJIAN
  4. * Versions: 0.1
  5. * Description: Common APIs for all platforms.
  6. * History:
  7. * 1.Date:
  8. * Author:
  9. * Modification:
  10. *********************************************************/
  11. #ifndef PLATFORM_FUNCTIONS_H
  12. #define PLATFORM_FUNCTIONS_H
  13. #ifdef __cplusplus
  14. extern "C"
  15. {
  16. #endif
  17. #ifdef ESP8266_PLANTFORM
  18. #else
  19. #include <stdio.h>
  20. #include <string.h>
  21. #include <stdlib.h>
  22. #include "pando_types.h"
  23. #endif
  24. #include "pando_machine.h"
  25. void show_package(uint8_t *buffer, uint16_t length);
  26. #ifdef __cplusplus
  27. }
  28. #endif
  29. #endif