matthias.ringwald@gmail.com
73bb0a8e18
added option to construct rfcomm packet in outgoing buffer
2014-12-19 21:42:12 +00:00
matthias.ringwald@gmail.com
fc6903a12d
added linked_list_count
2014-12-19 21:34:29 +00:00
matthias.ringwald@gmail.com
72628cafee
clean up and improve RFCOMM setup logic
2014-12-19 16:25:27 +00:00
matthias.ringwald@gmail.com
cb0ff06b75
improve log messages for l2cap rx timer
2014-12-19 16:21:39 +00:00
matthias.ringwald@gmail.com
c64a10eb40
adde newline to hexdumpf
2014-12-12 11:07:20 +00:00
mila@ringwald.ch
881797bd1b
des_iterator moved to sdp_util
2014-12-12 08:42:35 +00:00
matthias.ringwald@gmail.com
bbac2f6fce
retry sending bnep control setup msg, required by PTS BNEP test
2014-12-11 22:16:42 +00:00
ole.reinhardt@googlemail.com
43ee6cfed5
All numbers in any BNEP header are in network byte order!
...
Fixed usage of endianess conversion macros and 16 bit load / store macros
2014-12-10 23:28:03 +00:00
matthias.ringwald@gmail.com
25bf58726a
disable attempt to encrypt connection to raise security level as it's not working
2014-12-09 23:34:29 +00:00
matthias.ringwald@gmail.com
21cd7d2f9b
moved de_get_uint16 into sdp_utils
2014-12-04 09:40:43 +00:00
matthias.ringwald@gmail.com
834f893558
add de_get_uuid32
2014-12-04 09:34:35 +00:00
matthias.ringwald@gmail.com
f61ec82363
fix compile for AVR
2014-12-03 22:39:18 +00:00
matthias.ringwald@gmail.com
20ea11b9fd
use PROGMEM on AVR architecture for log_ facilities
2014-12-03 22:33:36 +00:00
matthias.ringwald@gmail.com
21b856f39b
add additional cast to generated memory pool code
2014-12-03 20:45:56 +00:00
mila@ringwald.ch
6e2e9a6bab
fix crash on connection failure
2014-12-01 22:52:32 +00:00
mila@ringwald.ch
02f4e00d16
finished hci cmds annotation
2014-11-28 11:10:16 +00:00
matthias.ringwald@gmail.com
23a77e1a6f
drop old fragments if new first fragment is received
2014-11-20 15:44:57 +00:00
matthias.ringwald@gmail.com
0ca847af67
add buffer overrun checks to ACL recombination
2014-11-20 15:11:50 +00:00
matthias.ringwald@gmail.com
5ffcfcf3c5
reset tx state before daemon event hci packet sent - avoids stalls
2014-11-19 22:14:29 +00:00
matthias.ringwald@gmail.com
1fd51e4555
Avoid link error with CCS
2014-11-19 19:30:24 +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
34e07d98fe
Fixed connection request handling, read UUIDs in network byte order
...
Initialise service struct memory after allocation
2014-11-19 01:01:11 +00:00
matthias.ringwald@gmail.com
bb82004450
avoid read after free on disconnect
2014-11-18 22:08:21 +00:00
ole.reinhardt@googlemail.com
c523d53df2
Initialise l2cap channel struct with 0 after allocating memory (make valgrind happy)
2014-11-18 21:37:34 +00:00
ole.reinhardt@googlemail.com
f16a69bbd8
Fixed compiler warnings (comparision of signed with unsigned)
2014-11-18 21:37:23 +00:00
matthias.ringwald@gmail.com
b5d8b22b3c
send remaining acl fragemnts first as they block the outgoing packet buffer
2014-11-18 14:48:29 +00:00
matthias.ringwald@gmail.com
d051460cdf
don't release packet buffer if further fragments
2014-11-18 14:18:08 +00:00
matthias.ringwald@gmail.com
1df3b67945
fix log_* for embedded hci_dump
2014-11-16 23:34:46 +00:00
matthias.ringwald@gmail.com
8304b81b86
added embedded_get_time_ms(void)
2014-11-16 21:19:23 +00:00
matthias.ringwald@gmail.com
5bb5bc3ed8
removed packet logging functionality (hci_dump, hexdump) from hci transport implementations and use hci_dump in hci.c instead
2014-11-16 20:05:18 +00:00
matthias.ringwald@gmail.com
2b1f4db731
log outgoing packets correctly
2014-11-15 23:40:54 +00:00
matthias.ringwald@gmail.com
4e83d0657a
have hci_transport_h4_dma*.c log packets using hci dump
2014-11-15 23:28:32 +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
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
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
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
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