History log of /system/bt/tools/hci/main.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
574dcfb73e3741d715f7d4394fe5d3bd587cb0d2 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
d5cb2e56dcc3d6431fb4b50b1fe3804b42c59161 25-Feb-2016 Edward Savage-Jones <edward.savage-jones@sonymobile.com> Swapped memset params

Incorrect usage of memset

Bug: 27358983
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