Long Delay Before Data Returned

Hi, I am trying to get the weather data from my RT but the program takes a very long time to complete. What can I do to speed it up please?

#!/bin/bash
PYTHON=/usr/bin/python
ROOT=/root/Scripts
FILE=$ROOT/LocalTemps
MAC=E9:A4:EF:14:A2:72
cd $ROOT

$FILE.txt
RAW=$(python /root/.local/lib/python2.7/site-packages/ruuvitag_sensor -lg $MAC 2>&1)
echo $RAW | tr , ‘\n’ | tr -d ':} | egrep -e ‘pressure|temperature|humidity’ | awk ‘{$1=$1}1’ >> $FILE.txt

I get a lot of these in /var/log/syslog:
Bluetooth: hci0 command 0x0c16 tx timeout

Looks like you have a problem with your BLE adapter. Have you checked the permissions?

You missed the end of your sentence Otto. The permissions of what?

Nick

The permissions of BLE adapter. Can you access it as non-sudo?

What OS are you running?
Can you run

sudo hcitool inq

or

sudo hcidump -t

See notes at http://real-world-systems.com/docs/hcitool.1.html

1 Like

root@ripple:~# sudo hcitool inq
Inquiring …
Inquiry failed.: No such device
root@ripple:~# sudo hcidump -t
HCI sniffer - Bluetooth packet analyzer ver 5.23
device: hci0 snap_len: 1500 filter: 0xffffffff

root@ripple:~# uname -a
Linux ripple 4.4.50+ #970 Mon Feb 20 19:12:50 GMT 2017 armv6l GNU/Linux

root@ripple:~# hcidump -t
HCI sniffer - Bluetooth packet analyzer ver 5.23
device: hci0 snap_len: 1500 filter: 0xffffffff
2017-11-08 19:05:02.567336 < HCI Command: Reset (0x03|0x0003) plen 0
2017-11-08 19:05:02.693215 > HCI Event: Command Complete (0x0e) plen 4
Reset (0x03|0x0003) ncmd 1
status 0x00
2017-11-08 19:05:02.693371 < HCI Command: Read Local Supported Features (0x04|0x0003) plen 0
2017-11-08 19:05:02.694248 > HCI Event: Command Complete (0x0e) plen 12
Read Local Supported Features (0x04|0x0003) ncmd 1
status 0x00
Features: 0xff 0xff 0x8f 0xfe 0xdb 0xff 0x5b 0x87
2017-11-08 19:05:02.694386 < HCI Command: Read Local Version Information (0x04|0x0001) plen 0
2017-11-08 19:05:02.696241 > HCI Event: Command Complete (0x0e) plen 12
Read Local Version Information (0x04|0x0001) ncmd 1
status 0x00
HCI Version: 4.0 (0x6) HCI Revision: 0x22bb
LMP Version: 4.0 (0x6) LMP Subversion: 0x22bb
Manufacturer: Cambridge Silicon Radio (10)
2017-11-08 19:05:02.696399 < HCI Command: Read BD ADDR (0x04|0x0009) plen 0
2017-11-08 19:05:02.698363 > HCI Event: Command Complete (0x0e) plen 10
Read BD ADDR (0x04|0x0009) ncmd 1
status 0x00 bdaddr 00:1A:7D:DA:71:13
2017-11-08 19:05:02.698717 < HCI Command: Read Buffer Size (0x04|0x0005) plen 0
2017-11-08 19:05:02.700239 > HCI Event: Command Complete (0x0e) plen 11
Read Buffer Size (0x04|0x0005) ncmd 1
status 0x00
ACL MTU 310:10 SCO MTU 64:8
2017-11-08 19:05:02.700481 < HCI Command: Read Class of Device (0x03|0x0023) plen 0
2017-11-08 19:05:02.702253 > HCI Event: Command Complete (0x0e) plen 7
Read Class of Device (0x03|0x0023) ncmd 1
status 0x00 class 0x000000
2017-11-08 19:05:02.702413 < HCI Command: Read Local Name (0x03|0x0014) plen 0
2017-11-08 19:05:02.721218 > HCI Event: Command Complete (0x0e) plen 252
Read Local Name (0x03|0x0014) ncmd 1
status 0x00 name 'CSR8510 A10’
2017-11-08 19:05:02.721393 < HCI Command: Read Voice Setting (0x03|0x0025) plen 0
2017-11-08 19:05:02.722233 > HCI Event: Command Complete (0x0e) plen 6
Read Voice Setting (0x03|0x0025) ncmd 1
status 0x00 voice setting 0x0060
2017-11-08 19:05:02.722387 < HCI Command: Read Number of Supported IAC (0x03|0x0038) plen 0
2017-11-08 19:05:02.724237 > HCI Event: Command Complete (0x0e) plen 5
Read Number of Supported IAC (0x03|0x0038) ncmd 1
2017-11-08 19:05:02.724761 < HCI Command: Read Current IAC LAP (0x03|0x0039) plen 0
2017-11-08 19:05:02.726262 > HCI Event: Command Complete (0x0e) plen 8
Read Current IAC LAP (0x03|0x0039) ncmd 1
IAC 0x9e8b33 (General Inquiry Access Code)
2017-11-08 19:05:02.726562 < HCI Command: Set Event Filter (0x03|0x0005) plen 1
type 0 condition 0
Clear all filters
2017-11-08 19:05:02.728248 > HCI Event: Command Complete (0x0e) plen 4
Set Event Filter (0x03|0x0005) ncmd 1
status 0x00
2017-11-08 19:05:02.728405 < HCI Command: Write Connection Accept Timeout (0x03|0x0016) plen 2
timeout 32000
2017-11-08 19:05:02.729256 > HCI Event: Command Complete (0x0e) plen 4
Write Connection Accept Timeout (0x03|0x0016) ncmd 1
status 0x00
2017-11-08 19:05:02.729375 < HCI Command: LE Read Buffer Size (0x08|0x0002) plen 0
2017-11-08 19:05:04.728203 < HCI Command: LE Read Local Supported Features (0x08|0x0003) plen 0
2017-11-08 19:05:04.729422 > HCI Event: Command Complete (0x0e) plen 12
LE Read Local Supported Features (0x08|0x0003) ncmd 1
status 0x00 features 0x0100000000000000 (Link Layer supports LE Encryption)
2017-11-08 19:05:04.729582 < HCI Command: LE Read Supported States (0x08|0x001c) plen 0
2017-11-08 19:05:04.731418 > HCI Event: Command Complete (0x0e) plen 12
LE Read Supported States (0x08|0x001c) ncmd 1
2017-11-08 19:05:04.731672 < HCI Command: Read Local Supported Commands (0x04|0x0002) plen 0
2017-11-08 19:05:06.728189 < HCI Command: Write Simple Pairing Mode (0x03|0x0056) plen 1
mode 0x01
2017-11-08 19:05:06.729605 > HCI Event: Command Complete (0x0e) plen 4
Write Simple Pairing Mode (0x03|0x0056) ncmd 1
status 0x00
2017-11-08 19:05:06.729754 < HCI Command: Write Inquiry Mode (0x03|0x0045) plen 1
mode 2
2017-11-08 19:05:06.731596 > HCI Event: Command Complete (0x0e) plen 4
Write Inquiry Mode (0x03|0x0045) ncmd 1
status 0x00
2017-11-08 19:05:06.731809 < HCI Command: Read Inquiry Response Transmit Power Level (0x03|0x0058) plen 0
2017-11-08 19:05:06.732592 > HCI Event: Command Complete (0x0e) plen 5
Read Inquiry Response Transmit Power Level (0x03|0x0058) ncmd 1
status 0x00 level 4
2017-11-08 19:05:06.732732 < HCI Command: Read Local Extended Features (0x04|0x0004) plen 1
page 1
2017-11-08 19:05:06.734598 > HCI Event: Command Complete (0x0e) plen 14
Read Local Extended Features (0x04|0x0004) ncmd 1
status 0x00 page 1 max 1
Features: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00
2017-11-08 19:05:06.734854 < HCI Command: Set Event Mask (0x03|0x0001) plen 8
Mask: 0xfffffbff07f8bf3d
2017-11-08 19:05:06.736605 > HCI Event: Command Complete (0x0e) plen 4
Set Event Mask (0x03|0x0001) ncmd 1
status 0x00
2017-11-08 19:05:06.736772 < HCI Command: Read Stored Link Key (0x03|0x000d) plen 7
bdaddr 00:00:00:00:00:00 all 1
2017-11-08 19:05:06.738573 > HCI Event: Command Complete (0x0e) plen 8
Read Stored Link Key (0x03|0x000d) ncmd 1
status 0x00 max 16 num 0
2017-11-08 19:05:06.738733 < HCI Command: Write Default Link Policy Settings (0x02|0x000f) plen 2
policy 0x0f
Link policy: RSWITCH HOLD SNIFF PARK
2017-11-08 19:05:06.739582 > HCI Event: Command Complete (0x0e) plen 4
Write Default Link Policy Settings (0x02|0x000f) ncmd 1
status 0x00
2017-11-08 19:05:06.739711 < HCI Command: Read Page Scan Activity (0x03|0x001b) plen 0
2017-11-08 19:05:06.741584 > HCI Event: Command Complete (0x0e) plen 8
Read Page Scan Activity (0x03|0x001b) ncmd 1
status 0x00 interval 2048 window 18
2017-11-08 19:05:06.741730 < HCI Command: Read Page Scan Type (0x03|0x0046) plen 0
2017-11-08 19:05:06.744591 > HCI Event: Command Complete (0x0e) plen 5
Read Page Scan Type (0x03|0x0046) ncmd 1
2017-11-08 19:05:06.744725 < HCI Command: LE Set Event Mask (0x08|0x0001) plen 8
mask 0x1f00000000000000 (Reserved)
2017-11-08 19:05:06.745588 > HCI Event: Command Complete (0x0e) plen 4
LE Set Event Mask (0x08|0x0001) ncmd 1
status 0x00
2017-11-08 19:05:06.745709 < HCI Command: LE Read Advertising Channel Tx Power (0x08|0x0007) plen 0
2017-11-08 19:05:06.747600 > HCI Event: Command Complete (0x0e) plen 5
LE Read Advertising Channel Tx Power (0x08|0x0007) ncmd 1
status 0x00 level 0x8 (dBm)
2017-11-08 19:05:06.747783 < HCI Command: LE Read White List Size (0x08|0x000f) plen 0
2017-11-08 19:05:06.749590 > HCI Event: Command Complete (0x0e) plen 5
LE Read White List Size (0x08|0x000f) ncmd 1
2017-11-08 19:05:06.749758 < HCI Command: LE Clear White List (0x08|0x0010) plen 0
2017-11-08 19:05:06.751595 > HCI Event: Command Complete (0x0e) plen 4
LE Clear White List (0x08|0x0010) ncmd 1
status 0x00
2017-11-08 19:05:06.751728 < HCI Command: Write LE Host Supported (0x03|0x006d) plen 2
2017-11-08 19:05:06.753594 > HCI Event: Command Complete (0x0e) plen 4
Write LE Host Supported (0x03|0x006d) ncmd 1
2017-11-08 19:05:06.753874 < HCI Command: Delete Stored Link Key (0x03|0x0012) plen 7
bdaddr 00:00:00:00:00:00 all 1
2017-11-08 19:05:06.755616 > HCI Event: Command Complete (0x0e) plen 6
Delete Stored Link Key (0x03|0x0012) ncmd 1
status 0x00 deleted 0
2017-11-08 19:05:06.755847 < HCI Command: LE Set Advertising Data (0x08|0x0008) plen 32
2017-11-08 19:05:06.757619 > HCI Event: Command Complete (0x0e) plen 4
LE Set Advertising Data (0x08|0x0008) ncmd 1
status 0x00
2017-11-08 19:05:06.757832 < HCI Command: LE Set Scan Response Data (0x08|0x0009) plen 32
2017-11-08 19:05:06.759611 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Response Data (0x08|0x0009) ncmd 1
status 0x00
2017-11-08 19:05:06.759806 < HCI Command: Write Local Name (0x03|0x0013) plen 248
name 'ripple’
2017-11-08 19:05:06.761595 > HCI Event: Command Complete (0x0e) plen 4
Write Local Name (0x03|0x0013) ncmd 1
status 0x00
2017-11-08 19:05:06.761911 < HCI Command: Write Extended Inquiry Response (0x03|0x0052) plen 241
fec 0x00
Complete local name: 'ripple’
TX power level: 4
Unknown type 0x10 with 8 bytes data
Complete service classes: 0x1800 0x1801 0x110e 0x110c
2017-11-08 19:05:06.765592 > HCI Event: Command Complete (0x0e) plen 4
Write Extended Inquiry Response (0x03|0x0052) ncmd 1
status 0x00
2017-11-08 19:05:07.146797 < HCI Command: LE Set Scan Parameters (0x08|0x000b) plen 7
type 0x01 (active)
interval 10.000ms window 10.000ms
own address: 0x00 (Public) policy: All
2017-11-08 19:05:07.148627 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Parameters (0x08|0x000b) ncmd 1
status 0x00
2017-11-08 19:05:07.159622 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
value 0x01 (scanning enabled)
filter duplicates 0x00 (disabled)
2017-11-08 19:05:07.161618 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Enable (0x08|0x000c) ncmd 1
status 0x00
2017-11-08 19:05:07.231603 > HCI Event: LE Meta Event (0x3e) plen 26
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 73:79:9D:59:BE:CE (Random)
Flags: 0x1a
Unknown type 0xff with 9 bytes data
RSSI: -85
2017-11-08 19:05:07.438629 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 98:D6:BB:1F:86:0E (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -78
2017-11-08 19:05:07.439654 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 98:D6:BB:1F:86:0E (Public)
RSSI: -79
2017-11-08 19:05:07.502647 > HCI Event: LE Meta Event (0x3e) plen 26
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 73:79:9D:59:BE:CE (Random)
Flags: 0x1a
Unknown type 0xff with 9 bytes data
RSSI: -86
2017-11-08 19:05:07.503661 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 73:79:9D:59:BE:CE (Random)
RSSI: -86
2017-11-08 19:05:07.585631 > HCI Event: LE Meta Event (0x3e) plen 43
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 5F:20:2D:57:D7:EA (Random)
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Complete local name: '53880CDC’
RSSI: -91
2017-11-08 19:05:07.586679 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 5F:20:2D:57:D7:EA (Random)
RSSI: -91
2017-11-08 19:05:07.619636 > HCI Event: LE Meta Event (0x3e) plen 43
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 5F:20:2D:57:D7:EA (Random)
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Complete local name: '53880CDC’
RSSI: -91
2017-11-08 19:05:07.620664 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 5F:20:2D:57:D7:EA (Random)
RSSI: -90
2017-11-08 19:05:07.624637 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 98:D6:BB:1F:86:0E (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -90
2017-11-08 19:05:07.625666 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 98:D6:BB:1F:86:0E (Public)
RSSI: -90
2017-11-08 19:05:07.779652 > HCI Event: LE Meta Event (0x3e) plen 26
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 73:79:9D:59:BE:CE (Random)
Flags: 0x1a
Unknown type 0xff with 9 bytes data
RSSI: -87
2017-11-08 19:05:07.780705 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 73:79:9D:59:BE:CE (Random)
RSSI: -87
2017-11-08 19:05:07.805667 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 98:D6:BB:1F:86:0E (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -90
2017-11-08 19:05:07.806688 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 98:D6:BB:1F:86:0E (Public)
RSSI: -90
2017-11-08 19:05:07.994682 > HCI Event: LE Meta Event (0x3e) plen 37
LE Advertising Report
ADV_NONCONN_IND - Non connectable undirected advertising (3)
bdaddr E9:A4:EF:14:A2:72 (Random)
Flags: 0x04
Unknown type 0xff with 20 bytes data
RSSI: -85
2017-11-08 19:05:08.049682 > HCI Event: LE Meta Event (0x3e) plen 26
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 73:79:9D:59:BE:CE (Random)
Flags: 0x1a
Unknown type 0xff with 9 bytes data
RSSI: -88
2017-11-08 19:05:08.050712 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 73:79:9D:59:BE:CE (Random)
RSSI: -88
2017-11-08 19:05:08.154681 > HCI Event: LE Meta Event (0x3e) plen 43
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 5F:20:2D:57:D7:EA (Random)
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Complete local name: '53880CDC’
RSSI: -91
2017-11-08 19:05:08.155712 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 5F:20:2D:57:D7:EA (Random)
RSSI: -92
2017-11-08 19:05:08.172683 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 98:D6:BB:1F:86:0E (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -77
2017-11-08 19:05:08.173723 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 98:D6:BB:1F:86:0E (Public)
RSSI: -76
2017-11-08 19:05:08.188693 > HCI Event: LE Meta Event (0x3e) plen 43
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 5F:20:2D:57:D7:EA (Random)
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Complete local name: '53880CDC’
RSSI: -91
2017-11-08 19:05:08.189709 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 5F:20:2D:57:D7:EA (Random)
RSSI: -91
2017-11-08 19:05:08.222692 > HCI Event: LE Meta Event (0x3e) plen 43
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 5F:20:2D:57:D7:EA (Random)
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Complete local name: '53880CDC’
RSSI: -92
2017-11-08 19:05:08.223721 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 5F:20:2D:57:D7:EA (Random)
RSSI: -91
2017-11-08 19:05:08.251690 > HCI Event: LE Meta Event (0x3e) plen 43
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 5F:20:2D:57:D7:EA (Random)
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Complete local name: '53880CDC’
RSSI: -91
2017-11-08 19:05:08.319715 > HCI Event: LE Meta Event (0x3e) plen 26
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 73:79:9D:59:BE:CE (Random)
Flags: 0x1a
Unknown type 0xff with 9 bytes data
RSSI: -88
2017-11-08 19:05:08.320764 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 73:79:9D:59:BE:CE (Random)
RSSI: -87
2017-11-08 19:05:08.356700 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 98:D6:BB:1F:86:0E (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -76
2017-11-08 19:05:08.357737 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 98:D6:BB:1F:86:0E (Public)
RSSI: -76
2017-11-08 19:05:08.537715 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 98:D6:BB:1F:86:0E (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -74
2017-11-08 19:05:08.538746 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 98:D6:BB:1F:86:0E (Public)
RSSI: -77
2017-11-08 19:05:08.589723 > HCI Event: LE Meta Event (0x3e) plen 26
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 73:79:9D:59:BE:CE (Random)
Flags: 0x1a
Unknown type 0xff with 9 bytes data
RSSI: -84
2017-11-08 19:05:08.590754 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 73:79:9D:59:BE:CE (Random)
RSSI: -84
2017-11-08 19:05:08.696744 > HCI Event: LE Meta Event (0x3e) plen 43
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 5F:20:2D:57:D7:EA (Random)
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Complete local name: '53880CDC’
RSSI: -92
2017-11-08 19:05:08.697759 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 5F:20:2D:57:D7:EA (Random)
RSSI: -90
2017-11-08 19:05:08.723733 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 98:D6:BB:1F:86:0E (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -79
2017-11-08 19:05:08.724765 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 98:D6:BB:1F:86:0E (Public)
RSSI: -79
2017-11-08 19:05:08.728740 > HCI Event: LE Meta Event (0x3e) plen 43
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 5F:20:2D:57:D7:EA (Random)
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Complete local name: '53880CDC’
RSSI: -92
2017-11-08 19:05:08.729765 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 5F:20:2D:57:D7:EA (Random)
RSSI: -92
2017-11-08 19:05:08.759736 > HCI Event: LE Meta Event (0x3e) plen 43
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 5F:20:2D:57:D7:EA (Random)
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Complete local name: '53880CDC’
RSSI: -91
2017-11-08 19:05:08.823741 > HCI Event: LE Meta Event (0x3e) plen 43
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 5F:20:2D:57:D7:EA (Random)
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Complete local name: '53880CDC’
RSSI: -91
2017-11-08 19:05:09.088766 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 98:D6:BB:1F:86:0E (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -79
2017-11-08 19:05:09.089814 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 98:D6:BB:1F:86:0E (Public)
RSSI: -79
2017-11-08 19:05:09.114779 > HCI Event: LE Meta Event (0x3e) plen 43
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 5F:20:2D:57:D7:EA (Random)
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Complete local name: '53880CDC’
RSSI: -91
2017-11-08 19:05:09.115797 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 5F:20:2D:57:D7:EA (Random)
RSSI: -91
2017-11-08 19:05:09.146769 > HCI Event: LE Meta Event (0x3e) plen 43
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 5F:20:2D:57:D7:EA (Random)
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Complete local name: '53880CDC’
RSSI: -91
2017-11-08 19:05:09.176771 > HCI Event: LE Meta Event (0x3e) plen 43
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 5F:20:2D:57:D7:EA (Random)
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Complete local name: '53880CDC’
RSSI: -92
2017-11-08 19:05:09.178800 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 5F:20:2D:57:D7:EA (Random)
RSSI: -91
2017-11-08 19:05:09.210776 > HCI Event: LE Meta Event (0x3e) plen 43
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 5F:20:2D:57:D7:EA (Random)
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Complete local name: '53880CDC’
RSSI: -91
2017-11-08 19:05:09.211811 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 5F:20:2D:57:D7:EA (Random)
RSSI: -92
2017-11-08 19:05:09.242775 > HCI Event: LE Meta Event (0x3e) plen 43
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 5F:20:2D:57:D7:EA (Random)
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Complete local name: '53880CDC’
RSSI: -91
2017-11-08 19:05:09.243810 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 5F:20:2D:57:D7:EA (Random)
RSSI: -91
2017-11-08 19:05:09.407814 > HCI Event: LE Meta Event (0x3e) plen 26
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 73:79:9D:59:BE:CE (Random)
Flags: 0x1a
Unknown type 0xff with 9 bytes data
RSSI: -82
2017-11-08 19:05:09.408816 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 73:79:9D:59:BE:CE (Random)
RSSI: -82
2017-11-08 19:05:09.455796 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 98:D6:BB:1F:86:0E (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -92
2017-11-08 19:05:09.456818 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 98:D6:BB:1F:86:0E (Public)
RSSI: -91
2017-11-08 19:05:09.535803 > HCI Event: LE Meta Event (0x3e) plen 43
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 5F:20:2D:57:D7:EA (Random)
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Complete local name: '53880CDC’
RSSI: -91
2017-11-08 19:05:09.536840 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 5F:20:2D:57:D7:EA (Random)
RSSI: -91
2017-11-08 19:05:09.565806 > HCI Event: LE Meta Event (0x3e) plen 43
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 5F:20:2D:57:D7:EA (Random)
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Complete local name: '53880CDC’
RSSI: -92
2017-11-08 19:05:09.566848 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 5F:20:2D:57:D7:EA (Random)
RSSI: -91
2017-11-08 19:05:09.595806 > HCI Event: LE Meta Event (0x3e) plen 43
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 5F:20:2D:57:D7:EA (Random)
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Complete local name: '53880CDC’
RSSI: -91
2017-11-08 19:05:09.596840 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 5F:20:2D:57:D7:EA (Random)
RSSI: -90
2017-11-08 19:05:09.628819 > HCI Event: LE Meta Event (0x3e) plen 43
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 5F:20:2D:57:D7:EA (Random)
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Complete local name: '53880CDC’
RSSI: -91
2017-11-08 19:05:09.629844 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 5F:20:2D:57:D7:EA (Random)
RSSI: -91
2017-11-08 19:05:09.638815 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 98:D6:BB:1F:86:0E (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -91
2017-11-08 19:05:09.639843 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 98:D6:BB:1F:86:0E (Public)
RSSI: -92
2017-11-08 19:05:09.661823 > HCI Event: LE Meta Event (0x3e) plen 43
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 5F:20:2D:57:D7:EA (Random)
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Complete local name: '53880CDC’
RSSI: -91
2017-11-08 19:05:09.662930 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 5F:20:2D:57:D7:EA (Random)
RSSI: -92
2017-11-08 19:05:09.677816 > HCI Event: LE Meta Event (0x3e) plen 26
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 73:79:9D:59:BE:CE (Random)
Flags: 0x1a
Unknown type 0xff with 9 bytes data
RSSI: -84
2017-11-08 19:05:09.678857 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 73:79:9D:59:BE:CE (Random)
RSSI: -84
2017-11-08 19:05:09.991843 > HCI Event: LE Meta Event (0x3e) plen 37
LE Advertising Report
ADV_NONCONN_IND - Non connectable undirected advertising (3)
bdaddr E9:A4:EF:14:A2:72 (Random)
Flags: 0x04
Unknown type 0xff with 20 bytes data
RSSI: -78
2017-11-08 19:05:10.165857 > HCI Event: LE Meta Event (0x3e) plen 43
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 5F:20:2D:57:D7:EA (Random)
Flags: 0x1a
Unknown type 0x07 with 16 bytes data
Complete local name: '53880CDC’
RSSI: -92
2017-11-08 19:05:10.166889 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 5F:20:2D:57:D7:EA (Random)
RSSI: -92
2017-11-08 19:05:10.182867 > HCI Event: LE Meta Event (0x3e) plen 27
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr 98:D6:BB:1F:86:0E (Public)
Flags: 0x1a
Unknown type 0xff with 10 bytes data
RSSI: -77
2017-11-08 19:05:10.183890 > HCI Event: LE Meta Event (0x3e) plen 12
LE Advertising Report
SCAN_RSP - Scan Response (4)
bdaddr 98:D6:BB:1F:86:0E (Public)
RSSI: -77

OK then!
What hardware do you have?
I have seen this type of behavior ( where nothing is displayed by HCI utilizes )myself and don’t know why.
How much time and what happened between hcitool’s No such device
and 2017-11-08 19:05:02.567336 ?
What bluetooth devices do you have ?

  bdaddr E9:A4:EF:14:A2:72 (Random) 

ruvvi tag heard from 2 times during this 8 second dump

  bdaddr 73:79:9D:59:BE:CE (Random)
  bdaddr 98:D6:BB:1F:86:0E (Public)
  bdaddr 5F:20:2D:57:D7:EA (Random)

Cambridge Silicon Radio
CSR8510 A10 USB Bluetooth Dongle

Sorry I couldn’t be more help.

1 Like

Raspberry Pi with a BT adapter.

What brand/model is the adapter?

It’s a CSR8510 A10 Bluetooth 4.0 USB device.

root@ripple:~# dmesg|grep -i blue|more
[ 12.510437] Bluetooth: Core ver 2.21
[ 12.510626] Bluetooth: HCI device and connection manager initialized
[ 12.510659] Bluetooth: HCI socket layer initialized
[ 12.510684] Bluetooth: L2CAP socket layer initialized
[ 12.510751] Bluetooth: SCO socket layer initialized
[ 14.808289] Bluetooth: hci0 command 0x2003 tx timeout
[ 16.808205] Bluetooth: hci0 command 0x201c tx timeout
[ 21.195752] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 21.195759] Bluetooth: BNEP filters: protocol multicast
[ 21.195795] Bluetooth: BNEP socket layer initialized

Regards,

Nick Pettefar