History log of /system/bt/tools/hci/main.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
911d1ae03efec2d54c3b1b605589d790d1745488 29-Nov-2016 Myles Watson <mylesgw@google.com> Apply clang-format to the rest of the tree

find * | grep "\.[ch]" | xargs clang-format --style=file -i

Test: mma -j32
Change-Id: I6fcc9862bb7bc07c2a367ca58fef2b3cd27a6f05
/system/bt/tools/hci/main.c
d6121a37c579731b89348e618a823c53b938449a 12-May-2016 Pavlin Radoslavov <pavlin@google.com> Restart failed system calls interrupted with errno of EINTR

In number of places we don't handle properly system calls failures
when the errno is EINTR (i.e., the system call was interrupted
by a signal). In all our use cases, the system calls should be
restarted. The handling of the following system calls (as used in the code)
has been updated/fixed:

poll, send, recv, sendmsg, nanosleep, epoll_wait
read - mostly (e.g., socket-like fds)
write - mostly (e.g., socket-like fds)
select, accept, connect

Bug: 28471477
Bug: 28658141
Change-Id: I03e6f0f67e33876780fb6d02c33eb84547ba8f95
/system/bt/tools/hci/main.c
2e90812743309f71ce779a356c0e0ec8284b9867 25-Feb-2016 Edward Savage-Jones <edward.savage-jones@sonymobile.com> Swapped memset params

Incorrect usage of memset

Change-Id: I7d96c560c4b462c2794b63eb66c7272b1280ba23
/system/bt/tools/hci/main.c
f060365bf10c41c67d23337242802ffcb0a72895 16-Jul-2015 Sharvil Nanavati <sharvil@google.com> Add a SCO routing command to net_hci.

This allows us to change the SCO routing parameters at runtime while
debugging / doing device bringup.

Change-Id: I8bafb7c7fb7ad7470d378cd14a7ee4aad63f3b9b
/system/bt/tools/hci/main.c
0f9b91e150e153229235c163861198e23600e636 12-Mar-2015 Sharvil Nanavati <sharvil@google.com> Use fully qualified path for OSI includes.
/system/bt/tools/hci/main.c
52743028aa31788bb6e7cfffbfe8c11c91a779a3 05-Nov-2014 Sharvil Nanavati <sharvil@google.com> Add a "setDiscoverable" command to hci.
/system/bt/tools/hci/main.c
1f8c2356a1d9beeb40a9e107df415f46d50ee8ba 13-Aug-2014 Sharvil Nanavati <sharvil@google.com> Add a tool to inject HCI commands into bluedroid.

This tool is very primitive in a number of ways. First, each new
HCI command needs to be carefully crafted. Second, it is entirely
stateless and operates in "fire-and-forget" mode. In other words,
there's no "read-modify-write" capability yet. That being said,
this tool will grow along with the infrastructure in bluedroid.
/system/bt/tools/hci/main.c