main.c (818629960d27e317b8115fb513912a06dbf88524) | 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 --- 183 unchanged lines hidden (view full) --- 192 char pklg_path[100]; 193 strcpy(pklg_path, "/tmp/hci_dump"); 194 if (usb_path_len){ 195 strcat(pklg_path, "_"); 196 strcat(pklg_path, usb_path_string); 197 } 198 strcat(pklg_path, ".pklg"); 199 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 --- 183 unchanged lines hidden (view full) --- 192 char pklg_path[100]; 193 strcpy(pklg_path, "/tmp/hci_dump"); 194 if (usb_path_len){ 195 strcat(pklg_path, "_"); 196 strcat(pklg_path, usb_path_string); 197 } 198 strcat(pklg_path, ".pklg"); 199 printf("Packet Log: %s\n", pklg_path); |
200 hci_dump_open(pklg_path, HCI_DUMP_PACKETLOGGER); | 200 // hci_dump_open(pklg_path, HCI_DUMP_PACKETLOGGER); |
201 202 // setup USB Transport 203 transport = hci_transport_usb_instance(); 204 btstack_chipset_intel_download_firmware(transport, &intel_firmware_done); 205 206 // handle CTRL-c 207 signal(SIGINT, sigint_handler); 208 209 // go 210 btstack_run_loop_execute(); 211 212 return 0; 213} | 201 202 // setup USB Transport 203 transport = hci_transport_usb_instance(); 204 btstack_chipset_intel_download_firmware(transport, &intel_firmware_done); 205 206 // handle CTRL-c 207 signal(SIGINT, sigint_handler); 208 209 // go 210 btstack_run_loop_execute(); 211 212 return 0; 213} |