715 Commits

Author SHA1 Message Date
matthias.ringwald@gmail.com
7869cf5018 all but BV 9 and 9 pass in BNEP PTS tests 2014-12-12 13:57:03 +00:00
matthias.ringwald@gmail.com
1657dbb210 start bnep console test app 2014-12-12 10:28:37 +00:00
mila@ringwald.ch
881797bd1b des_iterator moved to sdp_util 2014-12-12 08:42:35 +00:00
mila@ringwald.ch
8532c95dfb mtu limited by l2cap 2014-12-11 16:24:30 +00:00
matthias.ringwald@gmail.com
21cd7d2f9b moved de_get_uint16 into sdp_utils 2014-12-04 09:40:43 +00:00
ole.reinhardt@googlemail.com
17d9831b7e Fixed buffer overflow in event package assembly in bnep_emit_incoming_connection() 2014-11-19 01:01:22 +00:00
ole.reinhardt@googlemail.com
0f62875543 Register panu service (server mode) and instanciate bnep device if a client connection has been
established
2014-11-19 01:01:16 +00:00
ole.reinhardt@googlemail.com
a29c6a1c34 Fixed memory leak (unfreed allocated string memory) 2014-11-18 21:37:29 +00:00
ole.reinhardt@googlemail.com
f16a69bbd8 Fixed compiler warnings (comparision of signed with unsigned) 2014-11-18 21:37:23 +00:00
ole.reinhardt@googlemail.com
4d7288b3ec Fixed panu_demo compile rule. panu_demo needs SDP_CLIENT libraries 2014-11-18 12:01:30 +00:00
matthias.ringwald@gmail.com
166c83b075 extracted spp_flowcontrol 2014-11-15 17:15:11 +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
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
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
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
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
ce0c3c4c8d move WiiMoteDemo into platforms/ios 2014-11-06 23:18:59 +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
7b472d9ff8 moved ancs_client_lit into ble/ 2014-10-31 16:12:52 +00:00
mila@ringwald.ch
3e05add930 gtt client extended to handle multiple subclients of a peripheral 2014-10-31 15:58:44 +00:00
matthias.ringwald@gmail.com
5d07299d04 fix typo in sdp_bnep_query 2014-10-30 09:41:30 +00:00
ole.reinhardt@googlemail.com
e3dd2f3b1e Finalized bi-directional communication
Pinging the remote device works great, but a ssh connection leads to a stalled
connection
2014-10-28 01:16:57 +00:00
ole.reinhardt@googlemail.com
1cc83677a3 Added tap device, packet receive and transmit functions.
There still is a bug in the packet data handling, packat forwarding still is
defined only in one direction. Back-Direction will follow soon
2014-10-27 11:50:12 +00:00
ole.reinhardt@googlemail.com
7c5032c1d5 Removed panu_demo from the all target as it depends on Linux as build plattform
To compile it, run "make panu_demo"
2014-10-27 11:49:32 +00:00
mila@ringwald.ch
1f92e12a88 corrected rfcomm_can_send_packet_now, and used in examples 2014-10-23 19:22:39 +00:00
mila@ringwald.ch
c81dbccfbb sdp client: extracted method can_send_now 2014-10-23 09:07:02 +00:00
mila@ringwald.ch
84e56682a4 prints out BNEP PAN protocol UUID 2014-10-20 19:27:44 +00:00
ole.reinhardt@googlemail.com
8dc7eb6046 Added panu demo (start of development, currently just creates a connection) 2014-10-20 10:06:23 +00:00
matthias.ringwald@gmail.com
d8407cf0ab only print counter if it was sent 2014-10-16 13:49:32 +00:00
matthias.ringwald@gmail.com
e9f7ae9d05 fix unused var warning 2014-10-16 13:47:44 +00:00
mila@ringwald.ch
53d7624b52 updated Makefile 2014-10-16 10:37:31 +00:00
mila@ringwald.ch
49930caa4d updated Makefile.in 2014-10-16 10:33:07 +00:00
mila@ringwald.ch
864325c185 update Makefile 2014-10-16 10:27:35 +00:00
mila@ringwald.ch
cc973175fe fixed compile 2014-10-16 10:12:03 +00:00
matthias.ringwald@gmail.com
d2ec4031ba avoid /** comments, clean up block comments 2014-10-16 09:15:23 +00:00
matthias.ringwald
ceea31999e don't declare variables in case block 2014-10-15 08:27:13 +00:00
matthias.ringwald@gmail.com
6e0f0421a3 added #include guard to btstack-config.h 2014-10-14 20:00:04 +00:00
matthias.ringwald@gmail.com
0414dabd12 don't typedef enum for bit flags 2014-10-14 19:33:15 +00:00