mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-27 03:49:58 -07:00
26 lines
473 B
C
26 lines
473 B
C
#pragma once
|
|
#include "_base.h"
|
|
|
|
// Hacked together by @Willy-JL and @Spooks4576
|
|
// Research by @Spooks4576
|
|
|
|
typedef enum {
|
|
SmartthingsTypeBuds,
|
|
SmartthingsTypeWatch,
|
|
SmartthingsTypeCOUNT,
|
|
} SmartthingsType;
|
|
|
|
typedef struct {
|
|
SmartthingsType type;
|
|
union {
|
|
struct {
|
|
uint32_t model;
|
|
} buds;
|
|
struct {
|
|
uint8_t model;
|
|
} watch;
|
|
} data;
|
|
} SmartthingsCfg;
|
|
|
|
extern const Protocol protocol_smartthings;
|