mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-03 23:47:08 +00:00
hci_dump: define HCI_DUMP_MAX_MESSAGE_LEN for use in POSIX implementation
This commit is contained in:
parent
9620d15fc7
commit
eb0d557942
@ -54,7 +54,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
static char time_string[40];
|
static char time_string[40];
|
||||||
static char log_message_buffer[256];
|
static char log_message_buffer[HCI_DUMP_MAX_MESSAGE_LEN];
|
||||||
|
|
||||||
static void hci_dump_posix_stdout_timestamp(void){
|
static void hci_dump_posix_stdout_timestamp(void){
|
||||||
struct tm* ptm;
|
struct tm* ptm;
|
||||||
|
@ -65,6 +65,9 @@ extern "C" {
|
|||||||
#define HCI_DUMP_HEADER_SIZE_BLUEZ 13
|
#define HCI_DUMP_HEADER_SIZE_BLUEZ 13
|
||||||
#define HCI_DUMP_HEADER_SIZE_BTSNOOP 24
|
#define HCI_DUMP_HEADER_SIZE_BTSNOOP 24
|
||||||
|
|
||||||
|
// we expect that there's no log_x call that creates a longer message string without the time header
|
||||||
|
#define HCI_DUMP_MAX_MESSAGE_LEN 256
|
||||||
|
|
||||||
/* API_START */
|
/* API_START */
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
Loading…
Reference in New Issue
Block a user