1503 Commits

Author SHA1 Message Date
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
matthias.ringwald@gmail.com
198a9e1b41 enable HCI packet logs to console for EMBEDDED 2014-11-05 22:44:05 +00:00
matthias.ringwald@gmail.com
b34233c302 define HCI_INCOMING_PRE_BUFFER_SIZE and reserve space in posix libusb and h4 transport 2014-10-31 21:17:58 +00:00
matthias.ringwald@gmail.com
60da618dda provide additional extra byte before outgoing HCI packet buffer 2014-10-31 16:05:59 +00:00
matthias.ringwald@gmail.com
f53da564a8 mark l2cap signal response pending to avoid sending it multiple times with synchronous HCI Transport implementation 2014-10-31 15:46:38 +00:00
mila@ringwald.ch
2e97c1499b python script for btstack memory template writes directly to btstack_memory.h and .c files 2014-10-31 11:42:29 +00:00
matthias.ringwald@gmail.com
9a9c32e4a1 remove additional incorrect check 2014-10-29 12:06:51 +00:00
ole.reinhardt@googlemail.com
69b6ff0287 Reworked bnep_send().
Some smaller fixes.
2014-10-28 01:16:50 +00:00
ole.reinhardt@googlemail.com
900ff4aa27 Use correct endianess when storing the network protocol type in a received
ethernet packet
2014-10-28 01:16:39 +00:00
ole.reinhardt@googlemail.com
82e76094c7 Added ethernet packet type handling 2014-10-27 11:49:47 +00:00
matthias.ringwald@gmail.com
4d816277a7 only disconnect HCI connection in case of security block (fixes disconnect for non-existing service or resoucees full) 2014-10-24 10:30:56 +00:00
mila@ringwald.ch
f0efaa575f L2CAP: validate packet size with remote MTU -> log_error 2014-10-23 19:43:04 +00:00
mila@ringwald.ch
aeb32d01e7 RFCOMM: validate packet size with MTU -> log_error 2014-10-23 19:36:42 +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
f1bca48a6e fix compile 2014-10-23 11:59:28 +00:00
mila@ringwald.ch
92062b88a8 extracted rfcomm_cen_send_packet_now method 2014-10-23 09:50:11 +00:00
mila@ringwald.ch
e731911be9 bnep service uuid moved to pan.h file 2014-10-23 09:08:08 +00:00
mila@ringwald.ch
c81dbccfbb sdp client: extracted method can_send_now 2014-10-23 09:07:02 +00:00
ole.reinhardt@googlemail.com
54da7742d6 Some fixes in event generation and added further parameter to bnep_connect() 2014-10-20 10:06:38 +00:00
ole.reinhardt@googlemail.com
982736b649 Further code cleanup 2014-10-20 10:06:07 +00:00
mila@ringwald.ch
5eaeb7ae8d added doku 2014-10-17 15:05:42 +00:00
ole.reinhardt@googlemail.com
66fdc33878 Fixed typo (missing ;) 2014-10-16 23:02:50 +00:00
ole.reinhardt@googlemail.com
c9801c0af7 Further code rework and cleanup 2014-10-16 22:58:52 +00:00
matthias.ringwald@gmail.com
500c418fcd handle case where SLEEP_IND might be received right after regular packet has been sent -> also wait a bit before SLEEP_ACK 2014-10-16 21:51:46 +00:00
matthias.ringwald@gmail.com
8f837ea3d3 don't send DAEMON_EVENT_HCI_PACKET_SENT for eHCILL commmands 2014-10-16 21:41:32 +00:00
matthias.ringwald@gmail.com
e3b69236e2 work around perceived bug in eHCILL implementation - delay SLEEP_ACK a bit 2014-10-16 21:29:02 +00:00
matthias.ringwald@gmail.com
b7341302a0 assert that we wait at least as long as requested with embedded timer 2014-10-16 21:09:43 +00:00
mila@ringwald.ch
5dc81bdaad implemeted SDP PANU and GN service record 2014-10-16 15:27:02 +00:00
mila@ringwald.ch
aadd57f4bc implemeted SDP NAP service record 2014-10-16 14:56:23 +00:00
matthias.ringwald@gmail.com
21549150c6 accepted patch from issue #423. Fixed #423 2014-10-16 13:02:20 +00:00
matthias.ringwald@gmail.com
2a7874165a accept patch from #424 2014-10-16 12:46:17 +00:00
ole.reinhardt@googlemail.com
d57175bae7 Fixed typo and some function namings 2014-10-16 12:27:27 +00:00
mila@ringwald.ch
e6f51008ec fixed tracking of l2cap, rfcomm services and channels 2014-10-16 11:33:28 +00:00
ole.reinhardt@googlemail.com
67385654ba Some code rework, start implementing benp_run routine and statemachine to
handle async package sending
2014-10-16 09:45:36 +00:00
matthias.ringwald@gmail.com
d2cac39838 disable DUMP in h4 ehcill transport again (accidentally enabled in r2892) 2014-10-16 09:19:10 +00:00
matthias.ringwald@gmail.com
d2ec4031ba avoid /** comments, clean up block comments 2014-10-16 09:15:23 +00:00
matthias.ringwald@gmail.com
0414dabd12 don't typedef enum for bit flags 2014-10-14 19:33:15 +00:00
matthias.ringwald@gmail.com
3ac2fe5667 fix regression from r2882 2014-10-13 20:54:01 +00:00
matthias.ringwald@gmail.com
4d7157c318 fix daemon compile without BLE support 2014-10-13 19:40:50 +00:00
mila@ringwald.ch
da886c035d le central handle connection update params 2014-10-10 15:20:54 +00:00
mila@ringwald.ch
4ff786cfeb use HCI_ACL_PAYLOAD_SIZE to determine L2CAP MTU 2014-10-09 09:49:47 +00:00
mila@ringwald.ch
eb7f386b26 use hci_acl_le_data_buffer_length to get max le l2cap mtu 2014-10-09 09:08:48 +00:00
mila@ringwald.ch
6c26b08747 cap le acl buffer size, added hci function 2014-10-09 09:00:27 +00:00
ole.reinhardt@googlemail.com
dc54b91706 Fixed another compile warning 2014-10-08 13:29:24 +00:00
ole.reinhardt@googlemail.com
fdb398c2d3 Added bnep memory structs 2014-10-08 13:21:55 +00:00
ole.reinhardt@googlemail.com
66b319ed3a Added bnep.c bnep.h, still under development, may not yet compile 2014-10-08 13:21:40 +00:00
matthias.ringwald@gmail.com
c03e16aeab added string helpers for link key and link key type from Christian Wick 2014-10-06 19:16:15 +00:00
matthias.ringwald@gmail.com
452cf3bbef implemented L2CAP packet framgentation (in hci.c) 2014-10-05 10:30:58 +00:00
matthias.ringwald@gmail.com
2e480f6351 add #define to enable eHCILL mode logging 2014-10-05 09:32:32 +00:00
matthias.ringwald@gmail.com
210c677480 fix generated GAP_LE_ADVERTISING_REPORT 2014-10-03 10:36:43 +00:00