main.c (6486d2780715619957fb8a2dafcdc878856ef6af) 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

--- 212 unchanged lines hidden (view full) ---

221
222int main(int argc, const char * argv[]){
223 printf("BTstack on windows booting up\n");
224
225 /// GET STARTED with BTstack ///
226 btstack_memory_init();
227 btstack_run_loop_init(btstack_run_loop_windows_get_instance());
228
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

--- 212 unchanged lines hidden (view full) ---

221
222int main(int argc, const char * argv[]){
223 printf("BTstack on windows booting up\n");
224
225 /// GET STARTED with BTstack ///
226 btstack_memory_init();
227 btstack_run_loop_init(btstack_run_loop_windows_get_instance());
228
229 hci_dump_open("hci_dump.pklg", HCI_DUMP_PACKETLOGGER);
229 // hci_dump_open("hci_dump.pklg", HCI_DUMP_PACKETLOGGER);
230
231 // pick serial port
232 config.device_name = "\\\\.\\COM7";
233
234 // accept path from command line
235 if (argc >= 3 && strcmp(argv[1], "-u") == 0){
236 config.device_name = argv[2];
237 argc -= 2;

--- 24 unchanged lines hidden ---
230
231 // pick serial port
232 config.device_name = "\\\\.\\COM7";
233
234 // accept path from command line
235 if (argc >= 3 && strcmp(argv[1], "-u") == 0){
236 config.device_name = argv[2];
237 argc -= 2;

--- 24 unchanged lines hidden ---