Microchip® Advanced Software Framework

hci_dump.h File Reference
#include <stdint.h>
#include <stdarg.h>

Macros

#define LOG_LEVEL_DEBUG   0
 
#define LOG_LEVEL_ERROR   2
 
#define LOG_LEVEL_INFO   1
 

Enumerations

enum  hci_dump_format_t {
  HCI_DUMP_BLUEZ = 0,
  HCI_DUMP_PACKETLOGGER,
  HCI_DUMP_STDOUT
}
 

Functions

void hci_dump_close (void)
 
void hci_dump_enable_log_level (int log_level, int enable)
 
void hci_dump_log (int log_level, const char *format,...)))
 
void hci_dump_log_va_arg (int log_level, const char *format, va_list argtr)
 
void hci_dump_open (const char *filename, hci_dump_format_t format)
 
void hci_dump_packet (uint8_t packet_type, uint8_t in, uint8_t *packet, uint16_t len)
 
void hci_dump_set_max_packets (int packets)
 

#define LOG_LEVEL_DEBUG   0

Referenced by log_debug_hexdump().

#define LOG_LEVEL_ERROR   2
#define LOG_LEVEL_INFO   1

Referenced by log_info_hexdump().

Enumerator
HCI_DUMP_BLUEZ 
HCI_DUMP_PACKETLOGGER 
HCI_DUMP_STDOUT 

void hci_dump_close ( void  )

References dump_file.

void hci_dump_enable_log_level ( int  log_level,
int  enable 
)
void hci_dump_log ( int  log_level,
const char *  format,
  ... 
)

References hci_dump_log_va_arg().

void hci_dump_log_va_arg ( int  log_level,
const char *  format,
va_list  argtr 
)
void hci_dump_open ( const char *  filename,
hci_dump_format_t  format 
)

References dump_file, HCI_DUMP_STDOUT, and UNUSED.

void hci_dump_set_max_packets ( int  packets)