3138 Commits

Author SHA1 Message Date
matthias.ringwald@gmail.com
2ddd87ae14 allow cc256x init script commands to get expaned 2014-10-31 11:15:11 +00:00
matthias.ringwald@gmail.com
bc8e7c68c3 set power level for Bluetooth Low Energy, thanks to Hasjim for figuring this out 2014-10-30 09:53:14 +00:00
matthias.ringwald@gmail.com
5d07299d04 fix typo in sdp_bnep_query 2014-10-30 09:41:30 +00:00
matthias.ringwald@gmail.com
9a9c32e4a1 remove additional incorrect check 2014-10-29 12:06:51 +00:00
ole.reinhardt@googlemail.com
ab169afff3 Added bnep to the posix platform Makefile 2014-10-28 01:17:03 +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
69b6ff0287 Reworked bnep_send().
Some smaller fixes.
2014-10-28 01:16:50 +00:00
ole.reinhardt@googlemail.com
8aebd932dc Added event BNEP_EVENT_READY_TO_SEND,
and error codes: BNEP_CHANNEL_NOT_CONNECTED, BNEP_DATA_LEN_EXCEEDS_MTU
2014-10-28 01:16:45 +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
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
82e76094c7 Added ethernet packet type handling 2014-10-27 11:49:47 +00:00
ole.reinhardt@googlemail.com
8b7a46900a Added new packet type "BNEP_DATA_PACKET" 2014-10-27 11:49:40 +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
matthias.ringwald@gmail.com
24aefe2e03 fix notification/indication after r2843 broke it during API change 2014-10-26 21:34:20 +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
mila@ringwald.ch
84e56682a4 prints out BNEP PAN protocol UUID 2014-10-20 19:27:44 +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
495f86d1a5 Fixed bnep event data description and a typo in BNEP_PSM 2014-10-20 10:06:32 +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
ole.reinhardt@googlemail.com
85e968d0c5 Added BNEP events and status codes 2014-10-20 10:06:15 +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
ole.reinhardt@googlemail.com
117a019acb Added top level .gitignore file 2014-10-16 22:58:47 +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
c602bc0df3 enable eHCILL as it's working now. use PB1 and PB2 for eHCILL debugging. use 100 ms ticks. manually set RTS during eHCILL sleep 2014-10-16 21:36:49 +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
matthias.ringwald@gmail.com
254e71e6e7 update FSM state before sending an HCI command or L2CAP packet to avoid theoretical race-condition of response arriving before state was updated 2014-10-16 15:02:48 +00:00
mila@ringwald.ch
aadd57f4bc implemeted SDP NAP service record 2014-10-16 14:56:23 +00:00
matthias.ringwald@gmail.com
86e730108d disable eHCILL until it's working 2014-10-16 14:34:30 +00:00
matthias.ringwald@gmail.com
b832792a22 use IO_CAPABILITY_NO_INPUT_NO_OUTPUT as default for LE (same as for Classic now) 2014-10-16 13:56:25 +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
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
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