easysetup.h 459 B

12345678910111213141516171819202122232425
  1. #pragma once
  2. #include "_base.h"
  3. // Hacked together by @Willy-JL and @Spooks4576
  4. // Research by @Spooks4576
  5. typedef enum {
  6. EasysetupTypeBuds,
  7. EasysetupTypeWatch,
  8. EasysetupTypeCOUNT,
  9. } EasysetupType;
  10. typedef struct {
  11. EasysetupType type;
  12. union {
  13. struct {
  14. uint32_t model;
  15. } buds;
  16. struct {
  17. uint8_t model;
  18. } watch;
  19. } data;
  20. } EasysetupCfg;
  21. extern const Protocol protocol_easysetup;