summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnuj Jain <anuj01.jain@samsung.com>2023-06-05 14:38:29 +0530
committerAnuj Jain <anuj01.jain@samsung.com>2023-06-07 11:29:14 +0530
commit35d7f06dc0dd76abb1a613efb9735594539761e6 (patch)
tree57f98ae171a8b772694c5ba21060c6b68314552f
parentb1309870a84c7fe833ed202792a517eb3f7bfa4a (diff)
downloadbluez-accepted/tizen/unified/20230608.164325.tar.gz
bluez-accepted/tizen/unified/20230608.164325.tar.bz2
bluez-accepted/tizen/unified/20230608.164325.zip
Change-Id: If2eb25d701bfe3167150c42744e554736e3e0504 Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
-rwxr-xr-xpackaging/bluez.spec8
-rw-r--r--tools/isotest.c8
2 files changed, 9 insertions, 7 deletions
diff --git a/packaging/bluez.spec b/packaging/bluez.spec
index caed4df3..193160b3 100755
--- a/packaging/bluez.spec
+++ b/packaging/bluez.spec
@@ -531,13 +531,6 @@ popd
#%{_bindir}/obex-root-setup
#%{_bindir}/obex.sh
-%files
-%defattr(-,root,root,-)
-/usr/bin/*
-/usr/include/bluetooth/*
-/usr/lib/*
-/usr/libexec/bluetooth/bluetoothd
-
%files test
%manifest %{name}.manifest
%defattr(-,root,root)
@@ -555,6 +548,7 @@ popd
%{_bindir}/bluemoon
%{_bindir}/gatttool
%{_bindir}/hex2hcd
+%{_bindir}/isotest
%{_bindir}/avtest
#%{_bindir}/btattach
%exclude /usr/lib/debug/*
diff --git a/tools/isotest.c b/tools/isotest.c
index 8c375662..1e79fce1 100644
--- a/tools/isotest.c
+++ b/tools/isotest.c
@@ -592,12 +592,20 @@ static void send_wait(struct timespec *t_start, uint32_t us)
delta_us = us - TS_USEC(&t_diff);
if (delta_us < 0) {
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+ syslog(LOG_INFO, "Send is behind: %lld us", (long long)delta_us);
+#else
syslog(LOG_INFO, "Send is behind: %lld us", delta_us);
+#endif
delta_us = 1000;
}
if (!quiet)
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+ syslog(LOG_INFO, "Waiting (%lld us)...", (long long)delta_us);
+#else
syslog(LOG_INFO, "Waiting (%lld us)...", delta_us);
+#endif
usleep(delta_us);