_base.h 402 B

12345678910111213141516
  1. #pragma once
  2. #include <stdint.h>
  3. #include <stdlib.h>
  4. #include <string.h>
  5. #include "ble_spam_icons.h"
  6. #include <furi_hal_random.h>
  7. #include <core/core_defines.h>
  8. typedef union BleSpamMsg BleSpamMsg;
  9. typedef struct {
  10. const Icon* icon;
  11. const char* (*get_name)(const BleSpamMsg* _msg);
  12. void (*make_packet)(uint8_t* out_size, uint8_t** out_packet, const BleSpamMsg* _msg);
  13. } BleSpamProtocol;