#ifndef hcidumpinternal_H
#define hcidumpinternal_H

#include <stdbool.h>
#include <stdint.h>

typedef struct beacon_info {
    char uuid[20];
    int32_t code;
    int32_t manufacturer;
    int32_t major;
    int32_t minor;
    int32_t power;
    int32_t calibrated_power;
    int32_t rssi;
    int64_t time;
} beacon_info;

// The callback function invoked for each beacon event seen by hcidumpinternal
// const char * uuid, int32_t code, int32_t manufacturer, int32_t major, int32_t minor, int32_t power, int32_t rssi, int64_t time
typedef bool (*beacon_event)(const beacon_info *);

// The function hcidumpinternal exports
int32_t scan_frames(int32_t dev, beacon_event callback);
#endif

#ifndef hcidumpinternal_H
#define hcidumpinternal_H

#include <stdbool.h>
#include <stdint.h>

typedef struct beacon_info {
    char uuid[36];
    int32_t code;
    int32_t manufacturer;
    int32_t major;
    int32_t minor;
    int32_t power;
    int32_t calibrated_power;
    int32_t rssi;
    int64_t time;
} beacon_info;

// The callback function invoked for each beacon event seen by hcidumpinternal
// const char * uuid, int32_t code, int32_t manufacturer, int32_t major, int32_t minor, int32_t power, int32_t rssi, int64_t time
typedef bool (*beacon_event)(const beacon_info *);

// The function hcidumpinternal exports
int32_t scan_frames(int32_t dev, beacon_event callback);
#endif

Correct the allowed size of the uuid code
Correct the allowed size of the uuid code
