main.h 457 B

123456789101112131415161718192021222324
  1. #ifndef __MAIN_H_
  2. #define __MAIN_H_
  3. #include <stdint.h>
  4. #include <stdbool.h>
  5. #include <stdio.h>
  6. #pragma pack(1)
  7. typedef struct
  8. {
  9. char projectModel[20];
  10. uint32_t deviceId;
  11. uint8_t rfChannel;
  12. uint8_t channelStep;
  13. int8_t txPower;
  14. uint8_t rfBaudrate;
  15. uint8_t chipType;
  16. uint8_t beepNumb;
  17. uint8_t packetLen;
  18. uint32_t sendPacketCounts;
  19. uint8_t checkSum;
  20. }userParams_ts;
  21. #pragma pack()
  22. #endif