mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-25 03:29:58 -07:00
21 lines
501 B
C
21 lines
501 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <stdbool.h>
|
|
#include <assets_icons.h>
|
|
#include "ble_spam_icons.h"
|
|
#include <furi_hal_random.h>
|
|
#include <core/core_defines.h>
|
|
#include "../ble_spam.h"
|
|
|
|
typedef union ProtocolCfg ProtocolCfg;
|
|
|
|
typedef struct {
|
|
const Icon* icon;
|
|
const char* (*get_name)(const ProtocolCfg* _cfg);
|
|
void (*make_packet)(uint8_t* _size, uint8_t** _packet, const ProtocolCfg* _cfg);
|
|
void (*extra_config)(Ctx* ctx);
|
|
} Protocol;
|