_base.h 428 B

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