mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-25 16:43:28 +00:00
hci_dump: print hci_dump.pklg path to console for all windows & posix ports
This commit is contained in:
parent
c5541f687d
commit
785879c691
@ -151,7 +151,9 @@ int main(int argc, const char * argv[]){
|
||||
btstack_run_loop_init(btstack_run_loop_posix_get_instance());
|
||||
|
||||
// use logger: format HCI_DUMP_PACKETLOGGER, HCI_DUMP_BLUEZ or HCI_DUMP_STDOUT
|
||||
hci_dump_open("/tmp/hci_dump.pklg", HCI_DUMP_PACKETLOGGER);
|
||||
const char * pklg_path = "/tmp/hci_dump.pklg";
|
||||
hci_dump_open(pklg_path, HCI_DUMP_PACKETLOGGER);
|
||||
printf("Packet Log: %s\n", pklg_path);
|
||||
|
||||
// pick serial port and configure uart block driver
|
||||
transport_config.device_name = "/dev/tty.usbserial-A96PXBJ7";
|
||||
|
@ -149,7 +149,9 @@ int main(int argc, const char * argv[]){
|
||||
btstack_run_loop_init(btstack_run_loop_posix_get_instance());
|
||||
|
||||
// use logger: format HCI_DUMP_PACKETLOGGER, HCI_DUMP_BLUEZ or HCI_DUMP_STDOUT
|
||||
hci_dump_open("/tmp/hci_dump.pklg", HCI_DUMP_PACKETLOGGER);
|
||||
const char * pklg_path = "/tmp/hci_dump.pklg";
|
||||
hci_dump_open(pklg_path, HCI_DUMP_PACKETLOGGER);
|
||||
printf("Packet Log: %s\n", pklg_path);
|
||||
|
||||
// pick serial port and configure uart block driver
|
||||
transport_config.device_name = "/dev/tty.usbmodem1442311";
|
||||
|
@ -126,7 +126,9 @@ int main(int argc, const char * argv[]){
|
||||
btstack_run_loop_init(btstack_run_loop_posix_get_instance());
|
||||
|
||||
// use logger: format HCI_DUMP_PACKETLOGGER, HCI_DUMP_BLUEZ or HCI_DUMP_STDOUT
|
||||
hci_dump_open("/tmp/hci_dump.pklg", HCI_DUMP_PACKETLOGGER);
|
||||
const char * pklg_path = "/tmp/hci_dump.pklg";
|
||||
hci_dump_open(pklg_path, HCI_DUMP_PACKETLOGGER);
|
||||
printf("Packet Log: %s\n", pklg_path);
|
||||
|
||||
// pick serial port
|
||||
config.device_name = "/dev/tty.usbmodem14514421"; // PCA10040 nRF52832
|
||||
|
@ -219,7 +219,9 @@ int main(int argc, const char * argv[]){
|
||||
btstack_run_loop_init(btstack_run_loop_posix_get_instance());
|
||||
|
||||
// use logger: format HCI_DUMP_PACKETLOGGER, HCI_DUMP_BLUEZ or HCI_DUMP_STDOUT
|
||||
hci_dump_open("/tmp/hci_dump.pklg", HCI_DUMP_PACKETLOGGER);
|
||||
const char * pklg_path = "/tmp/hci_dump.pklg";
|
||||
hci_dump_open(pklg_path, HCI_DUMP_PACKETLOGGER);
|
||||
printf("Packet Log: %s\n", pklg_path);
|
||||
|
||||
// pick serial port
|
||||
// config.device_name = "/dev/tty.usbserial-A900K2WS"; // DFROBOT
|
||||
|
@ -125,7 +125,9 @@ int main(int argc, const char * argv[]){
|
||||
btstack_memory_init();
|
||||
|
||||
// use logger: format HCI_DUMP_PACKETLOGGER, HCI_DUMP_BLUEZ or HCI_DUMP_STDOUT
|
||||
hci_dump_open("/tmp/hci_dump.pklg", HCI_DUMP_PACKETLOGGER);
|
||||
const char * pklg_path = "/tmp/hci_dump.pklg";
|
||||
hci_dump_open(pklg_path, HCI_DUMP_PACKETLOGGER);
|
||||
printf("Packet Log: %s\n", pklg_path);
|
||||
|
||||
// setup run loop
|
||||
btstack_run_loop_init(btstack_run_loop_posix_get_instance());
|
||||
|
@ -182,7 +182,9 @@ int main(int argc, const char * argv[]){
|
||||
btstack_run_loop_init(btstack_run_loop_posix_get_instance());
|
||||
|
||||
// use logger: format HCI_DUMP_PACKETLOGGER, HCI_DUMP_BLUEZ or HCI_DUMP_STDOUT
|
||||
hci_dump_open("/tmp/hci_dump.pklg", HCI_DUMP_PACKETLOGGER);
|
||||
const char * pklg_path = "/tmp/hci_dump.pklg";
|
||||
hci_dump_open(pklg_path, HCI_DUMP_PACKETLOGGER);
|
||||
printf("Packet Log: %s\n", pklg_path);
|
||||
|
||||
// pick serial port
|
||||
// config.device_name = "/dev/tty.usbserial-A900K2WS"; // DFROBOT
|
||||
|
@ -127,7 +127,9 @@ int main(int argc, const char * argv[]){
|
||||
btstack_run_loop_init(btstack_run_loop_windows_get_instance());
|
||||
|
||||
// use logger: format HCI_DUMP_PACKETLOGGER, HCI_DUMP_BLUEZ or HCI_DUMP_STDOUT
|
||||
hci_dump_open("/tmp/hci_dump.pklg", HCI_DUMP_PACKETLOGGER);
|
||||
const char * pklg_path = "hci_dump.pklg";
|
||||
hci_dump_open(pklg_path, HCI_DUMP_PACKETLOGGER);
|
||||
printf("Packet Log: %s\n", pklg_path);
|
||||
|
||||
// pick serial port
|
||||
config.device_name = "COM6";
|
||||
|
Loading…
x
Reference in New Issue
Block a user