67 Commits

Author SHA1 Message Date
Matthias Ringwald
88e0b3b2b2 posix: fix compile 2016-04-01 16:08:58 +02:00
Matthias Ringwald
615ae44436 posix: cleanup fast FTDI hack 2016-03-30 17:02:46 +02:00
Matthias Ringwald
d382f5313a fix compile 2016-03-30 15:06:15 +02:00
Matthias Ringwald
f316a84558 posix: use ms timeouts in run loop and also in hci.c 2016-03-30 15:03:26 +02:00
Matthias Ringwald
d0755cd68c prefix POSIX related HAVE_ defines 2016-03-30 10:59:47 +02:00
Matthias Ringwald
0cb5b9716d fix prototypes for fn() 2016-03-28 11:44:30 +02:00
Matthias Ringwald
fcb78cc1ab posix-h4: start sending immediately 2016-03-25 22:03:30 +01:00
Matthias Ringwald
8e28e4d320 hci_transport_posix_h4: implement async write 2016-03-24 23:41:21 +01:00
Matthias Ringwald
9120e843c2 runloop: implement data source callbacks for posix - also support write ready 2016-03-24 22:31:44 +01:00
Matthias Ringwald
0d70dd6280 runloop: pass enable/disable callbacks to run loop impl 2016-03-24 22:19:26 +01:00
Matthias Ringwald
24ced5a6f6 runloop: enable callback for all data sources 2016-03-24 22:12:50 +01:00
Matthias Ringwald
7cd5ef9557 runloop: pass callback type to data source process functions 2016-03-24 20:46:20 +01:00
Matthias Ringwald
c4ae7169b8 runloop: replace struct btstack_data_source with btstack_data_source_t 2016-03-24 20:26:16 +01:00
Matthias Ringwald
3a5c43eebf runloop: set data source fd by new setter 2016-03-24 20:04:14 +01:00
Matthias Ringwald
a86b799a1b runloop: set ds->process via setter 2016-03-24 19:45:57 +01:00
Matthias Ringwald
40403fbfd4 runloop: set ds->process via setter 2016-03-24 19:42:12 +01:00
Matthias Ringwald
835c167141 runloop: set ds->process via setter 2016-03-24 19:36:55 +01:00
Matthias Ringwald
3250103aa0 posix: support B300/B1200 mapped to 2mbps hack 2016-03-23 15:54:41 +01:00
Matthias Ringwald
645e25ac83 h5: use new btstack_slip implementation 2016-03-08 13:03:20 +01:00
Matthias Ringwald
80e738241d h5: emit HCI_EVENT_TRANSPORT_PACKET_SENT before HCI packet 2016-03-03 11:31:35 +01:00
Matthias Ringwald
2788960b79 h5: fix ack message 2016-02-29 14:38:06 +01:00
Matthias Ringwald
97c636350d h5: send wakeup before packet if peer asleep 2016-02-26 22:36:30 +01:00
Matthias Ringwald
eb609da1e9 h5: answer waekup with woken 2016-02-26 22:14:38 +01:00
Matthias Ringwald
e9cbb81617 h5: resend ack if packet with unexpected seq nr receive 2016-02-26 22:02:04 +01:00
Matthias Ringwald
e2cb870c07 h5: validate header checksum and payload len 2016-02-26 21:47:18 +01:00
Matthias Ringwald
52ca792f54 h5: calc header buffer instead of uint32_t 2016-02-26 21:29:26 +01:00
Matthias Ringwald
21e05fcdf0 h5: partially working 2016-02-25 22:29:32 +01:00
Matthias Ringwald
5cfc685701 posix-h5: implement slip encoder/decoder 2016-02-21 22:40:27 +01:00
Matthias Ringwald
caed94df78 util.h: move some to hci.h and btstack_link_key_db_fs 2016-02-10 13:35:25 +01:00
Matthias Ringwald
3b1eb0e2e9 Merge branch 'master' into ble-api-cleanup 2016-02-03 11:14:23 +01:00
Matthias Ringwald
a98592bc68 split remote_device_db into btstack_link_key_db and btstack_device_name_db 2016-02-02 21:57:10 +01:00
Matthias Ringwald
f8fbdce0c5 use little/big_endian_read/store_16/24/32 2016-01-31 00:07:32 +01:00
Matthias Ringwald
2a989d8add Merge branch 'master' into ble-api-cleanup 2016-01-28 20:42:00 +01:00
Matthias Ringwald
24b3c62931 hci_transport: cleanup struct, add init(void *transport_config) 2016-01-24 20:10:17 +01:00
Matthias Ringwald
19084a7dda add missing const specifiers 2016-01-22 17:52:43 +01:00
Matthias Ringwald
7907f06931 btstack-config.h -> btstack_config.h 2016-01-21 15:41:16 +01:00
Matthias Ringwald
d4c40e6512 use hci_transport_TYPE_instace() consistently. Fix iOS port build 2016-01-21 11:05:09 +01:00
Matthias Ringwald
eb8860135e fix missing bstack_ for struct data_source and struct timer. utils->btstack_util 2016-01-20 16:10:07 +01:00
Matthias Ringwald
ec820d7756 prefix data_source_t and timer_source_t with btstack 2016-01-20 16:00:45 +01:00
Matthias Ringwald
528a4a3b3e prefix run_loop_ functions with btstack_ 2016-01-20 15:58:46 +01:00
Matthias Ringwald
4ab92137d3 missing run_loop.c -> btstack_run_loop.c renames 2016-01-20 15:42:54 +01:00
Matthias Ringwald
8f2a52f4d9 forgot to add files in earlier commit 2016-01-20 15:38:37 +01:00
Matthias Ringwald
b7d596c104 run_loop_X.c/h -> run_loop_X.c/h 2016-01-20 15:32:11 +01:00
Matthias Ringwald
8263662281 run_loop.h -> btstack_run_loop.h 2016-01-20 15:08:39 +01:00
Matthias Ringwald
ff8c6fbf01 inline run_loop_private.h into run_loop.h 2016-01-20 15:03:26 +01:00
Matthias Ringwald
16ece13520 prefix debug with btstack_ 2016-01-20 14:52:45 +01:00
Matthias Ringwald
665d90f25e prefixed all linked list types and functions with btstack_ 2016-01-20 14:50:38 +01:00
Matthias Ringwald
2c539f6e7e rename bk_linked_list_t to btstack_linked_list_t 2016-01-20 14:37:23 +01:00
Matthias Ringwald
4fd23d4738 rename bk_linked_list to btstack_linked_list 2016-01-20 14:34:04 +01:00
Matthias Ringwald
6773b3a0a4 move hci_transport_h2_libusb to port/libusb 2016-01-20 14:24:29 +01:00