main.c (793a050932af385c92d518640f6d228879f321bb) | 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 --- 228 unchanged lines hidden (view full) --- 237int main(int argc, const char * argv[]){ 238 239 /// GET STARTED with BTstack /// 240 btstack_memory_init(); 241 btstack_run_loop_init(btstack_run_loop_posix_get_instance()); 242 243 // use logger: format HCI_DUMP_PACKETLOGGER, HCI_DUMP_BLUEZ or HCI_DUMP_STDOUT 244 const char * pklg_path = "/tmp/hci_dump.pklg"; | 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 --- 228 unchanged lines hidden (view full) --- 237int main(int argc, const char * argv[]){ 238 239 /// GET STARTED with BTstack /// 240 btstack_memory_init(); 241 btstack_run_loop_init(btstack_run_loop_posix_get_instance()); 242 243 // use logger: format HCI_DUMP_PACKETLOGGER, HCI_DUMP_BLUEZ or HCI_DUMP_STDOUT 244 const char * pklg_path = "/tmp/hci_dump.pklg"; |
245 hci_dump_open(pklg_path, HCI_DUMP_PACKETLOGGER); | 245 // hci_dump_open(pklg_path, HCI_DUMP_PACKETLOGGER); |
246 printf("Packet Log: %s\n", pklg_path); 247 248 // pick serial port 249 // config.device_name = "/dev/tty.usbserial-A900K2WS"; // DFROBOT 250 // config.device_name = "/dev/tty.usbserial-A50285BI"; // BOOST-CC2564MODA New 251 // config.device_name = "/dev/tty.usbserial-A9OVNX5P"; // RedBear IoT pHAT breakout board 252 config.device_name = "/dev/tty.usbserial-A900K0VK"; // CSR8811 breakout board 253 --- 37 unchanged lines hidden --- | 246 printf("Packet Log: %s\n", pklg_path); 247 248 // pick serial port 249 // config.device_name = "/dev/tty.usbserial-A900K2WS"; // DFROBOT 250 // config.device_name = "/dev/tty.usbserial-A50285BI"; // BOOST-CC2564MODA New 251 // config.device_name = "/dev/tty.usbserial-A9OVNX5P"; // RedBear IoT pHAT breakout board 252 config.device_name = "/dev/tty.usbserial-A900K0VK"; // CSR8811 breakout board 253 --- 37 unchanged lines hidden --- |