main.c (f4ab45812f54c9a2c59f22c9ccc1aaaa4576eb3f) | main.c (98451c7b102094e15e0a72ca2f7098d91aed2017) |
---|---|
1/* 2 * Copyright (C) 2014 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 207 unchanged lines hidden (view full) --- 216 char pklg_path[100]; 217 strcpy(pklg_path, "/tmp/hci_dump"); 218 if (usb_path_len){ 219 strcat(pklg_path, "_"); 220 strcat(pklg_path, usb_path_string); 221 } 222 strcat(pklg_path, ".pklg"); 223 printf("Packet Log: %s\n", pklg_path); | 1/* 2 * Copyright (C) 2014 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 207 unchanged lines hidden (view full) --- 216 char pklg_path[100]; 217 strcpy(pklg_path, "/tmp/hci_dump"); 218 if (usb_path_len){ 219 strcat(pklg_path, "_"); 220 strcat(pklg_path, usb_path_string); 221 } 222 strcat(pklg_path, ".pklg"); 223 printf("Packet Log: %s\n", pklg_path); |
224 hci_dump_open(pklg_path, HCI_DUMP_PACKETLOGGER); | 224 // hci_dump_open(pklg_path, HCI_DUMP_PACKETLOGGER); |
225 226 // init HCI 227 hci_init(hci_transport_usb_instance(), NULL); 228 229#ifdef HAVE_PORTAUDIO 230 btstack_audio_sink_set_instance(btstack_audio_portaudio_sink_get_instance()); 231 btstack_audio_source_set_instance(btstack_audio_portaudio_source_get_instance()); 232#endif --- 16 unchanged lines hidden --- | 225 226 // init HCI 227 hci_init(hci_transport_usb_instance(), NULL); 228 229#ifdef HAVE_PORTAUDIO 230 btstack_audio_sink_set_instance(btstack_audio_portaudio_sink_get_instance()); 231 btstack_audio_source_set_instance(btstack_audio_portaudio_source_get_instance()); 232#endif --- 16 unchanged lines hidden --- |