110 Commits

Author SHA1 Message Date
Matthias Ringwald
a512b22891 deamon: add commands for classic inquiry and drop link key 2021-07-15 14:16:49 +02:00
Matthias Ringwald
c3d3f9ed34 daemon: fix forwarding of rfcomm packets to client 2021-07-13 10:21:15 +02:00
Matthias Ringwald
c8dfe071e5 hci_transport: extract convenience function declaration for h4, h5, em9304_spi, and usb into separate hci_transport_{type}.h 2021-03-26 11:51:57 +01:00
Matthias Ringwald
7435ec7b56 hci_dump: use hci_dump_posix_fs with PacketLogger format in all posix ports 2021-03-11 15:53:45 +01:00
Matthias Ringwald
e51d966a3d hci_dump: disable hci_dump for ports and tests 2021-03-11 15:53:45 +01:00
Matthias Ringwald
793a050932 h4 posix ports: use btstack_uart_posix instead of btstack_uart_block_posix 2021-03-03 09:42:01 +01:00
Matthias Ringwald
dbc963ca4f daemon: return 0 from main() 2020-10-12 15:00:54 +02:00
Matthias Ringwald
ea5cc3a8d3 hci: provide hci_opcode_t and daemon_opcode_t definitions and use in hci_cmd.c and daemon_cmd.c 2020-07-09 20:40:24 +02:00
Matthias Ringwald
a6587153e7 daemon: use 'catch all' listener for gatt client notifications 2020-05-10 22:24:44 +02:00
Matthias Ringwald
ff3cc4a537 MISRAC2012-Rule-14.4_d: use while(true) instead of while(1) 2019-12-03 12:52:10 +01:00
Matthias Ringwald
59064b8059 daemon: load intel firmware and setup stack on first power on only 2019-10-10 16:53:00 +02:00
Matthias Ringwald
0c208dfb97 daemon: load intel firmware and setup stack on first power on only 2019-10-10 15:42:42 +02:00
Matthias Ringwald
948e8bfe93 daemon/libusb-intel/windows-winusb-intel: skip power down and hci close if firmware wasn't downloaded yet on SIGINT 2019-09-04 11:56:40 +02:00
Matthias Ringwald
e501bae083 Use BTSTACK_FILE__ without __ prefix (MISRAC2012-Rule-21.1) 2019-05-11 19:31:55 +02:00
Matthias Ringwald
80e33422a9 Use FILENAME_H as include guard (MISRAC2012-Rule-21.1) 2019-05-11 19:08:52 +02:00
Matthias Ringwald
b178f6a6e6 daemon: fix build 2018-11-23 18:09:51 +01:00
Matthias Ringwald
c77e7c454e initialze other malloc'ed memory 2018-11-23 18:02:27 +01:00
Matthias Ringwald
8c5fe29456 scoket_server: initialize connection_t struct before using it 2018-11-20 21:16:55 +01:00
Matthias Ringwald
62609879d3 daemon: avoid compile warning 2018-10-25 18:32:17 +02:00
Matthias Ringwald
fd03f35b8d daemon/libusb-intel/windows-winusb-intel: skip transport->close() after firmware download 2018-09-24 10:04:21 +02:00
Matthias Ringwald
8129e5420f daemon: add --with-intel-usb 2018-09-21 16:07:03 +02:00
Matthias Ringwald
4252c4d784 daemon: extract btstack_server_configure_stack 2018-09-21 12:37:14 +02:00
Matthias Ringwald
712999cdc3 daemon: remove gatt client helper on disconnect again 2018-08-29 11:16:58 +02:00
Matthias Ringwald
24047dd67d daemon: register for gatt notifications when writing ccc 2018-08-24 17:04:29 +02:00
Matthias Ringwald
8d2f5935bc daemon: emit gatt query complete if gatt_client_write_client_characteristic_configuration fails 2018-08-24 14:39:41 +02:00
Matthias Ringwald
2370d9c182 daemon: use '-' for tlv db filename 2018-08-24 14:03:19 +02:00
Matthias Ringwald
b6a1d7313d daemon: use . as storage path in windows 2018-08-24 11:04:49 +02:00
Matthias Ringwald
fb4ddcf3a9 daemon: use current dir on windows, enable le secure connections 2018-08-24 10:56:45 +02:00
Matthias Ringwald
e9b5398432 daemon: use btstack_link_key_db_tlv for all targets 2018-08-22 15:07:37 +02:00
Matthias Ringwald
a05b2457aa daemon: configure TLV, btstack_link_key_db and le_device_db 2018-08-22 14:56:15 +02:00
Matthias Ringwald
6cf7652e2b daemon: add btstack_server_set_storage_path(), packet log written to hci_dump.pklg in storage path 2018-08-22 12:28:10 +02:00
Matthias Ringwald
1edc4fc7a8 daemon: add commands for Security Manager 2018-08-21 21:08:36 +02:00
Matthias Ringwald
4c293e47ef daemon: add btstack_server_run_tcp() 2018-08-20 11:23:16 +02:00
Matthias Ringwald
ee252d543b daemon: provide btstack_server.h 2018-08-20 10:56:12 +02:00
Matthias Ringwald
85fb050059 daemon: extract command line handling, provide btstack_server_run 2018-08-20 10:22:22 +02:00
Matthias Ringwald
15c7f428a6 daemon: reduce log output 2018-08-15 16:37:27 +02:00
Matthias Ringwald
0d54ffa102 daemon/socket_connection: fix send packet for win32 2018-08-15 16:28:49 +02:00
Matthias Ringwald
ec7a14efef daemon: fix memory leak in socket_connection 2018-08-15 16:23:36 +02:00
Matthias Ringwald
ddca189c91 daemon: implement win32 version of socket_connection 2018-08-15 16:04:57 +02:00
Matthias Ringwald
ba2b4ec976 daemon: avoid warning when using usb transport 2018-08-15 15:59:12 +02:00
Matthias Ringwald
b9dcd1cc6b daemon: use windows run loop and uart block 2018-08-14 22:56:39 +02:00
Matthias Ringwald
092bd57e49 daemon: winsock2.h needed for gethostname on windows 2018-08-14 22:46:25 +02:00
Matthias Ringwald
42963ecee0 daemon: make TCP default if not HAVE_UNIX_SOCKETS 2018-08-14 21:13:53 +02:00
Matthias Ringwald
33845bfee4 daemon/socket_connection: only define S_IRWXG and S_IRWXO on demand 2018-08-14 20:58:01 +02:00
Matthias Ringwald
3a6c8b019e daemon/socket_connection: guard unix socket code by HAVE_UNIX_SOCKETS 2018-08-14 17:50:12 +02:00
Matthias Ringwald
398a95ec8e run_loop: avoid anonymous union 2018-07-05 23:07:52 +02:00
Matthias Ringwald
19830e3fd9 daemon: fix warnings 2017-06-15 14:32:52 +02:00
Matthias Ringwald
ab2c6ae4b7 tool: add update_filename.py that adds __BTSTACK_FILE__ to every .c file for use with debug output instead of __FILE__ 2017-03-24 23:39:20 +01:00
Matthias Ringwald
a046efa634 ios: fix build 2016-10-25 11:47:20 +02:00
Matthias Ringwald
8c9f78e5bf deamon: fix compile warnings with H2 2016-09-28 09:38:51 +02:00