Based on past experience with android-tester, new android tester is
written from scrath with fixed all known bugs and framework
inadvertancies. Once new test case will be added, same one from old
android tester will be removed, until whole test case list will be
replaced.
Minor releases are quite often and don't introduce significant changes.
There is no need pointing this here since aosp-bluez page already
provides info about latest supported minor release.
PATH_MAX already contains the terminating null so there's no need to +1
to it. Also, snprintf guarantees a null-terminated string so there's no
need to explicitly set a terminating character after the call.
PATH_MAX contains the terminating null, so there's no need to +1 to it.
Also, snprintf guarantees a null-terminated string, so there's no need
to explicitly set a terminating character after the call.
On some systems readdir() may only return DT_UNKNOWN for the dirent
type. In such a case we need to do a secondary lookup e.g. with lstat to
figure out the real time (for our purposes we're only interested in
whether it's a directory or not).
This patch implements bt_att_register and the internal mechanism for invoking
registered callbacks when a non-response/non-indication PDU is received from the
remote end.
This patch removes the PDU encoding functionality from src/shared/att. This is
now left up to the upper layer and the responsibilities of bt_att are restricted
to handle the low-level transport and the sequential/non-sequential ATT protocol
logic.
Don't send pdu if encoding failed. It cause errors when trying
send notification larger than MTU. Length passed to
g_attrib_send was 0 which caused errors on ATT.
This allows to terminate bluetoothctl with CTRL-C if daemon didn't
start. Otherwise input is not functional and user must kill
bluetoothctl by sending signal from another terminal.
Function fill_gatt_response() has check shown below:
if (!len)
return;
This eliminates clang warning:
...
android/gatt.c:4443:3: warning: Function call argument is an
uninitialized value
fill_gatt_response(resp_data, resp_data->handle,
...