mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-10 06:44:32 +00:00
windows: store pklg in current dir
This commit is contained in:
parent
f0af2234e6
commit
34c6d5e068
@ -176,7 +176,7 @@ int main(int argc, const char * argv[]){
|
|||||||
btstack_run_loop_init(btstack_run_loop_windows_get_instance());
|
btstack_run_loop_init(btstack_run_loop_windows_get_instance());
|
||||||
|
|
||||||
// log into file using HCI_DUMP_PACKETLOGGER format
|
// log into file using HCI_DUMP_PACKETLOGGER format
|
||||||
const char * pklg_path = "/tmp/hci_dump.pklg";
|
const char * pklg_path = "hci_dump.pklg";
|
||||||
hci_dump_posix_fs_open(pklg_path, HCI_DUMP_PACKETLOGGER);
|
hci_dump_posix_fs_open(pklg_path, HCI_DUMP_PACKETLOGGER);
|
||||||
const hci_dump_t * hci_dump_impl = hci_dump_posix_fs_get_instance();
|
const hci_dump_t * hci_dump_impl = hci_dump_posix_fs_get_instance();
|
||||||
hci_dump_init(hci_dump_impl);
|
hci_dump_init(hci_dump_impl);
|
||||||
|
@ -149,7 +149,7 @@ int main(int argc, const char * argv[]){
|
|||||||
btstack_run_loop_init(btstack_run_loop_windows_get_instance());
|
btstack_run_loop_init(btstack_run_loop_windows_get_instance());
|
||||||
|
|
||||||
// log into file using HCI_DUMP_PACKETLOGGER format
|
// log into file using HCI_DUMP_PACKETLOGGER format
|
||||||
const char * pklg_path = "/tmp/hci_dump.pklg";
|
const char * pklg_path = "hci_dump.pklg";
|
||||||
hci_dump_posix_fs_open(pklg_path, HCI_DUMP_PACKETLOGGER);
|
hci_dump_posix_fs_open(pklg_path, HCI_DUMP_PACKETLOGGER);
|
||||||
const hci_dump_t * hci_dump_impl = hci_dump_posix_fs_get_instance();
|
const hci_dump_t * hci_dump_impl = hci_dump_posix_fs_get_instance();
|
||||||
hci_dump_init(hci_dump_impl);
|
hci_dump_init(hci_dump_impl);
|
||||||
|
@ -231,7 +231,7 @@ int main(int argc, const char * argv[]){
|
|||||||
btstack_run_loop_init(btstack_run_loop_windows_get_instance());
|
btstack_run_loop_init(btstack_run_loop_windows_get_instance());
|
||||||
|
|
||||||
// log into file using HCI_DUMP_PACKETLOGGER format
|
// log into file using HCI_DUMP_PACKETLOGGER format
|
||||||
const char * pklg_path = "/tmp/hci_dump.pklg";
|
const char * pklg_path = "hci_dump.pklg";
|
||||||
hci_dump_posix_fs_open(pklg_path, HCI_DUMP_PACKETLOGGER);
|
hci_dump_posix_fs_open(pklg_path, HCI_DUMP_PACKETLOGGER);
|
||||||
const hci_dump_t * hci_dump_impl = hci_dump_posix_fs_get_instance();
|
const hci_dump_t * hci_dump_impl = hci_dump_posix_fs_get_instance();
|
||||||
hci_dump_init(hci_dump_impl);
|
hci_dump_init(hci_dump_impl);
|
||||||
|
@ -164,7 +164,7 @@ int main(int argc, const char * argv[]){
|
|||||||
btstack_run_loop_init(btstack_run_loop_windows_get_instance());
|
btstack_run_loop_init(btstack_run_loop_windows_get_instance());
|
||||||
|
|
||||||
// log into file using HCI_DUMP_PACKETLOGGER format
|
// log into file using HCI_DUMP_PACKETLOGGER format
|
||||||
const char * pklg_path = "/tmp/hci_dump.pklg";
|
const char * pklg_path = "hci_dump.pklg";
|
||||||
hci_dump_posix_fs_open(pklg_path, HCI_DUMP_PACKETLOGGER);
|
hci_dump_posix_fs_open(pklg_path, HCI_DUMP_PACKETLOGGER);
|
||||||
const hci_dump_t * hci_dump_impl = hci_dump_posix_fs_get_instance();
|
const hci_dump_t * hci_dump_impl = hci_dump_posix_fs_get_instance();
|
||||||
hci_dump_init(hci_dump_impl);
|
hci_dump_init(hci_dump_impl);
|
||||||
|
@ -138,7 +138,7 @@ int main(int argc, const char * argv[]){
|
|||||||
btstack_run_loop_init(btstack_run_loop_windows_get_instance());
|
btstack_run_loop_init(btstack_run_loop_windows_get_instance());
|
||||||
|
|
||||||
// log into file using HCI_DUMP_PACKETLOGGER format
|
// log into file using HCI_DUMP_PACKETLOGGER format
|
||||||
const char * pklg_path = "/tmp/hci_dump.pklg";
|
const char * pklg_path = "hci_dump.pklg";
|
||||||
hci_dump_posix_fs_open(pklg_path, HCI_DUMP_PACKETLOGGER);
|
hci_dump_posix_fs_open(pklg_path, HCI_DUMP_PACKETLOGGER);
|
||||||
const hci_dump_t * hci_dump_impl = hci_dump_posix_fs_get_instance();
|
const hci_dump_t * hci_dump_impl = hci_dump_posix_fs_get_instance();
|
||||||
hci_dump_init(hci_dump_impl);
|
hci_dump_init(hci_dump_impl);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user