3006 Commits

Author SHA1 Message Date
matthias.ringwald@gmail.com
55586b5121 sort files into src, example, and firmware 2014-11-15 17:38:27 +00:00
matthias.ringwald@gmail.com
f61a6c2b1a use common init in main.c 2014-11-15 17:26:51 +00:00
matthias.ringwald@gmail.com
e5985bbbf8 removed duplicate gap_inquiry.c sdp_general_query.c sdp_rfcomm_query.c 2014-11-15 17:20:34 +00:00
matthias.ringwald@gmail.com
166c83b075 extracted spp_flowcontrol 2014-11-15 17:15:11 +00:00
matthias.ringwald@gmail.com
32342b0d7c use embedded spp_counter 2014-11-15 17:09:34 +00:00
matthias.ringwald@gmail.com
11d8b8aace separate sdp client objects 2014-11-15 17:06:55 +00:00
matthias.ringwald@gmail.com
49630161c9 move run_loop_posix.c to libusb Makefile 2014-11-15 16:50:55 +00:00
matthias.ringwald@gmail.com
0c1fb97e2b extract common Makefile.inc 2014-11-15 16:36:16 +00:00
matthias.ringwald@gmail.com
142d4fb28c added profile.gatt back 2014-11-15 16:06:17 +00:00
matthias.ringwald@gmail.com
c4b4f99005 duplicate gatt db in platforms/libusb 2014-11-14 20:50:05 +00:00
matthias.ringwald@gmail.com
9ce4c5c821 moved example/libusb into platforms/libusb 2014-11-14 20:48:17 +00:00
matthias.ringwald@gmail.com
6678f6b4ac extract hci_init into main.c 2014-11-14 20:42:29 +00:00
matthias.ringwald@gmail.com
2787d93e82 created libusb-main and started splitting code 2014-11-14 16:23:33 +00:00
matthias.ringwald@gmail.com
692bf63477 use VPATH to avoid cluttering .o files over the source tree 2014-11-14 16:11:06 +00:00
matthias.ringwald@gmail.com
e5693e117a use $^ in libusb Makefile to prepare for VPATH use 2014-11-14 16:02:12 +00:00
ole.reinhardt@googlemail.com
329f335a47 Implemented bnep connection timeout. Currently set to 10s
Added new event BNEP_EVENT_CHANNEL_TIMEOUT which is emittet as soon
as a the bnep connection establishment times out.
2014-11-13 00:28:01 +00:00
ole.reinhardt@googlemail.com
58729a1bdb Implemented bnep extension header parsing
Modified logging level for lots of log messages (log_info -> log_error)
2014-11-12 22:42:04 +00:00
matthias.ringwald@gmail.com
96328d92d0 fix compile for mingw with libusb in /usr/local 2014-11-12 10:18:05 +00:00
ole.reinhardt@googlemail.com
0207be1e3c Removed unused variables 2014-11-12 00:18:48 +00:00
ole.reinhardt@googlemail.com
4e1b5f9ce9 Removed unused variable from bnep_packet_handler() 2014-11-12 00:12:28 +00:00
ole.reinhardt@googlemail.com
cf7827865f Defined HCI_INCOMING_PRE_BUFFER_SIZE
(14 Bytes = 2 * sizeof(bd_addr_t) + sizeof(uint16_t))
This avoids extra copying of the ethernet frame into a static buffer

bnep.c implements two solutions with and without HCI_INCOMING_PRE_BUFFER_SIZE
defined
2014-11-12 00:12:23 +00:00
ole.reinhardt@googlemail.com
c24894aa88 Set HCI_ACL_PAYLOAD_SIZE to 1695 (1691 + 4). This is at least enough to support
the minimum l2cap mtu of 1691 bytes, required by bnep
2014-11-12 00:12:18 +00:00
ole.reinhardt@googlemail.com
feb9b63cc4 Fixed not freed packet buffer bug, when packet size exceeds MTU in bnep_send()
Fixed max frame size calculation
2014-11-12 00:12:13 +00:00
matthias.ringwald@gmail.com
96ea52a826 drop h4, link against winsock2 on win32 2014-11-11 23:03:03 +00:00
matthias.ringwald@gmail.com
c7c3776f84 use $^ where possible 2014-11-11 22:54:07 +00:00
matthias.ringwald@gmail.com
e91c3bdb8e drop non-usb examples 2014-11-11 22:51:10 +00:00
matthias.ringwald@gmail.com
1c85d092b2 don't handle SIGPIPE on windows yet 2014-11-11 21:26:25 +00:00
matthias.ringwald@gmail.com
2389ed1f7e set usb configuration 1, don't try to detach kernel on WIN32 either 2014-11-11 21:25:04 +00:00
ole.reinhardt@googlemail.com
98f09fd9b8 Allways call bnep_run() in bnep_hci_event_handler(). Even if the incomming event
if unknown. Otherwise package handling could stop
2014-11-11 21:08:29 +00:00
matthias.ringwald@gmail.com
fe4751381e add winsock2 for gethostname on win32 2014-11-11 20:33:00 +00:00
matthias.ringwald@gmail.com
b52eaea5b4 don't use ntohl 2014-11-11 20:28:48 +00:00
matthias.ringwald@gmail.com
d5ea892498 fix compile for win32 2014-11-11 20:18:26 +00:00
matthias.ringwald@gmail.com
203bace68e release packet buffer after last acl fragment for synchronous HCI transport implementation 2014-11-10 12:53:34 +00:00
matthias.ringwald@gmail.com
f6df6bbd34 link against lws2_32 on mingw32 2014-11-09 21:49:42 +00:00
matthias.ringwald@gmail.com
91ca87f1da fix compile for win32 2014-11-09 21:36:06 +00:00
matthias.ringwald@gmail.com
91f0794e44 fix compile for mingw32 2014-11-09 21:22:49 +00:00
mila@ringwald.ch
302495ebce work on supported profiles and protocols 2014-11-07 16:08:26 +00:00
matthias.ringwald@gmail.com
e2b9f4ac0f fix command line parsing 2014-11-07 15:24:24 +00:00
mila@ringwald.ch
a9aa8324cd changing structure: move from MSPP430 to general BTstack manual 2014-11-07 13:17:14 +00:00
matthias.ringwald@gmail.com
96f1894675 moved CocoaTouch into platforms/ios 2014-11-06 23:19:46 +00:00
matthias.ringwald@gmail.com
ce0c3c4c8d move WiiMoteDemo into platforms/ios 2014-11-06 23:18:59 +00:00
matthias.ringwald@gmail.com
018b47c77d preparing extraction of examples into embedded folder 2014-11-06 23:11:45 +00:00
matthias.ringwald@gmail.com
2a7e8b9174 use VPATH to collect .o and .d in current dir 2014-11-06 21:18:37 +00:00
matthias.ringwald@gmail.com
a7e11cda4e collect actuall BTstack embedded examples in example/embedded 2014-11-06 21:14:37 +00:00
matthias.ringwald@gmail.com
d895277b5f allow to build multiple targets 2014-11-06 20:56:45 +00:00
matthias.ringwald@gmail.com
ec6321ee39 reserve buffer in front of incoming hci_packet buffer for h4 (posix, dma, dma+ehcill) and h2 libusb, and acl recombination buffer 2014-11-06 20:09:57 +00:00
mila@ringwald.ch
99d8e5fec0 updated gatt browser example, extarcted section on protocols and profiles 2014-11-06 15:51:18 +00:00
matthias.ringwald@gmail.com
9e20d29a88 generate PacketLogger output file, convert timestamps 2014-11-06 14:12:51 +00:00
mila@ringwald.ch
1feaf78dc0 added btstack manual tex files 2014-11-06 14:09:12 +00:00
matthias.ringwald@gmail.com
352208daaa use att_connection.mtu instead of calling l2cap_max_mtu (for better testing) 2014-11-06 11:40:20 +00:00