#include "hcimsgs.h"
#include "osi/include/allocator.h"

static const allocator_t* buffer_allocator;

static BT_HDR* make_packet(size_t data_size);
static BT_HDR* make_command_no_params(uint16_t opcode);
static BT_HDR* make_command(uint16_t opcode, size_t parameter_size,
                            uint8_t** stream_out);

// Interface functions

static BT_HDR* make_reset(void) { return make_command_no_params(HCI_RESET); }
