Files
Momentum-Firmware/applications/external/ble_spam/protocols/smartthings.h
2023-10-21 04:36:38 +01:00

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;