Scanning LE devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I had been using bluez 5.29 over few days, but now when I updated the
bluez version to 5.36, I get following error:

hcitool  lescan
Set scan parameters failed: Input/output error

I did a hciconfig hci0 reset but still I get the same, following are
my features:

# hciconfig hci0 features
hci0:   Type: BR/EDR  Bus: UART
        BD Address: 34:B1:F7:E2:D1:EF  ACL MTU: 1021:6  SCO MTU: 180:4
        Features page 0: 0xff 0xfe 0x2d 0xfe 0xdb 0xff 0x7b 0x87
                <3-slot packets> <5-slot packets> <encryption> <slot offset>
                <timing accuracy> <role switch> <hold mode> <sniff mode>
                <RSSI> <channel quality> <SCO link> <HV2 packets>
                <HV3 packets> <u-law log> <A-law log> <CVSD> <power control>
                <transparent SCO> <EDR ACL 2 Mbps> <EDR ACL 3 Mbps>
                <enhanced iscan> <interlaced iscan> <interlaced pscan>
                <inquiry with RSSI> <extended SCO> <EV4 packets> <EV5 packets>
                <AFH cap. slave> <AFH class. slave> <LE support>
                <3-slot EDR ACL> <5-slot EDR ACL> <sniff subrating>
                <pause encryption> <AFH cap. master> <AFH class. master>
                <EDR eSCO 2 Mbps> <EDR eSCO 3 Mbps> <3-slot EDR eSCO>
                <extended inquiry> <LE and BR/EDR> <simple pairing>
                <encapsulated PDU> <err. data report> <non-flush flag> <LSTO>
                <inquiry TX power> <EPC> <extended features>
        Features page 1: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00
#

# hciconfig hci0 commands
hci0:   Type: BR/EDR  Bus: UART
        BD Address: 34:B1:F7:E2:D1:EF  ACL MTU: 1021:6  SCO MTU: 180:4
        Commands: Octet 0  = 0xff (Bit 0 1 2 3 4 5 6 7)
                  Octet 1  = 0xff (Bit 0 1 2 3 4 5 6 7)
                  Octet 2  = 0xff (Bit 0 1 2 3 4 5 6 7)
                  Octet 3  = 0x03 (Bit 0 1)
                  Octet 4  = 0xce (Bit 1 2 3 6 7)
                  Octet 5  = 0xff (Bit 0 1 2 3 4 5 6 7)
                  Octet 6  = 0xff (Bit 0 1 2 3 4 5 6 7)
                  Octet 7  = 0xff (Bit 0 1 2 3 4 5 6 7)
                  Octet 8  = 0x0f (Bit 0 1 2 3)
                  Octet 9  = 0xff (Bit 0 1 2 3 4 5 6 7)
                  Octet 10 = 0xff (Bit 0 1 2 3 4 5 6 7)
                  Octet 11 = 0x1f (Bit 0 1 2 3 4)
                  Octet 12 = 0xf2 (Bit 1 4 5 6 7)
                  Octet 13 = 0x0f (Bit 0 1 2 3)
                  Octet 14 = 0xe8 (Bit 3 5 6 7)
                  Octet 15 = 0xfe (Bit 1 2 3 4 5 6 7)
                  Octet 16 = 0x3f (Bit 0 1 2 3 4 5)
                  Octet 17 = 0xf7 (Bit 0 1 2 4 5 6 7)
                  Octet 18 = 0x8f (Bit 0 1 2 3 7)
                  Octet 19 = 0xff (Bit 0 1 2 3 4 5 6 7)
                  Octet 20 = 0x1c (Bit 2 3 4)
                  Octet 24 = 0x61 (Bit 0 5 6)
                  Octet 25 = 0xf7 (Bit 0 1 2 4 5 6 7)
                  Octet 26 = 0xff (Bit 0 1 2 3 4 5 6 7)
                  Octet 27 = 0xff (Bit 0 1 2 3 4 5 6 7)
                  Octet 28 = 0x7f (Bit 0 1 2 3 4 5 6)
                  Octet 29 = 0x38 (Bit 3 4 5)
        'Inquiry' 'Inquiry Cancel' 'Periodic Inquiry Mode'
        'Exit Periodic Inquiry Mode' 'Create Connection' 'Disconnect'
        'Add SCO Connection' 'Cancel Create Connection'
        'Accept Connection Request' 'Reject Connection Request'
        'Link Key Request Reply' 'Link Key Request Negative Reply'
        'PIN Code Request Reply' 'PIN Code Request Negative Reply'
        'Change Connection Packet Type' 'Authentication Requested'
        'Set Connection Encryption' 'Change Connection Link Key'
        'Master Link Key' 'Remote Name Request' 'Cancel Remote Name Request'
        'Read Remote Supported Features' 'Read Remote Extended Features'
        'Read Remote Version Information' 'Read Clock Offset'
        'Read LMP Handle' 'Hold Mode' 'Sniff Mode' 'Exit Sniff Mode'
        'QoS Setup' 'Role Discovery' 'Switch Role' 'Read Link Policy Settings'
        'Write Link Policy Settings' 'Read Default Link Policy Settings'
        'Write Default Link Policy Settings' 'Flow Specification'
        'Set Event Mask' 'Reset' 'Set Event Filter' 'Flush' 'Read PIN Type'
        'Write PIN Type' 'Create New Unit Key' 'Read Stored Link Key'
        'Write Stored Link Key' 'Delete Stored Link Key' 'Write Local Name'
        'Read Local Name' 'Read Connection Accept Timeout'
        'Write Connection Accept Timeout' 'Read Page Timeout'
        'Write Page Timeout' 'Read Scan Enable' 'Write Scan Enable'
        'Read Page Scan Activity' 'Write Page Scan Activity'
        'Read Inquiry Scan Activity' 'Write Inquiry Scan Activity'
        'Read Class Of Device' 'Write Class Of Device' 'Read Voice Setting'
        'Write Voice Setting' 'Read Automatic Flush Timeout'
        'Write Automatic Flush Timeout' 'Read Num Broadcast Retransmissions'
        'Write Num Broadcast Retransmissions' 'Read Hold Mode Activity'
        'Write Hold Mode Activity' 'Read Transmit Power Level'
        'Read Synchronous Flow Control Enable'
        'Write Synchronous Flow Control Enable'
        'Set Host Controller To Host Flow Control' 'Host Buffer Size'
        'Host Number Of Completed Packets' 'Read Link Supervision Timeout'
        'Write Link Supervision Timeout' 'Read Number of Supported IAC'
        'Read Current IAC LAP' 'Write Current IAC LAP'
        'Set AFH Channel Classification' 'Read Inquiry Scan Type'
        'Write Inquiry Scan Type' 'Read Inquiry Mode' 'Write Inquiry Mode'
        'Read Page Scan Type' 'Write Page Scan Type'
        'Read AFH Channel Assessment Mode' 'Write AFH Channel Assessment Mode'
        'Read Local Version Information' 'Read Local Supported Features'
        'Read Local Extended Features' 'Read Buffer Size' 'Read BD ADDR'
        'Read Failed Contact Counter' 'Reset Failed Contact Counter'
        'Get Link Quality' 'Read RSSI' 'Read AFH Channel Map' 'Read BD Clock'
        'Read Loopback Mode' 'Write Loopback Mode'
        'Enable Device Under Test Mode' 'Setup Synchronous Connection'
        'Accept Synchronous Connection' 'Reject Synchronous Connection'
        'Read Extended Inquiry Response' 'Write Extended Inquiry Response'
        'Refresh Encryption Key' 'Sniff Subrating' 'Read Simple Pairing Mode'
        'Write Simple Pairing Mode' 'Read Local OOB Data'
        'Read Inquiry Response Transmit Power Level'
        'Write Inquiry Transmit Power Level'
        'Read Default Erroneous Data Reporting'
        'Write Default Erroneous Data Reporting' 'IO Capability Request Reply'
        'User Confirmation Request Reply'
        'User Confirmation Request Negative Reply'
        'User Passkey Request Reply' 'User Passkey Request Negative Reply'
        'Remote OOB Data Request Reply' 'Write Simple Pairing Debug Mode'
        'Enhanced Flush' 'Remote OOB Data Request Negative Reply'
        'Send Keypress Notification' 'IO Capability Request Negative Reply'
        'Read Encryption Key Size' 'Read Enhanced Transmit Power Level'
        'Read LE Host Support' 'Write LE Host Support' 'LE Set Event Mask'
        'LE Read Buffer Size' 'LE Read Local Supported Features'
        'LE Set Random Address' 'LE Set Advertising Parameters'
        'LE Read Advertising Channel TX Power' 'LE Set Advertising Data'
        'LE Set Scan Response Data' 'LE Set Advertise Enable'
        'LE Set Scan Parameters' 'LE Set Scan Enable' 'LE Create Connection'
        'LE Create Connection Cancel' 'LE Read White List Size'
        'LE Clear White List' 'LE Add Device To White List'
        'LE Remove Device From White List' 'LE Connection Update'
        'LE Set Host Channel Classification' 'LE Read Channel Map'
        'LE Read Remote Used Features' 'LE Encrypt' 'LE Rand'
        'LE Start Encryption' 'LE Long Term Key Request Reply'
        'LE Long Term Key Request Negative Reply' 'LE Read Supported States'
        'LE Receiver Test' 'LE Transmitter Test' 'LE Test End'
#


Any pointer why lescan doesn’t work ?

Cheers,
--Prabhakar Lad
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux