Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SmpCmdNotImplementedError: "" #37

Open
jsmif opened this issue May 5, 2023 · 0 comments
Open

SmpCmdNotImplementedError: "" #37

jsmif opened this issue May 5, 2023 · 0 comments

Comments

@jsmif
Copy link

jsmif commented May 5, 2023

sudo bluing le --pairing-feature --addr-type=random C7:9D:DA:A3:80:01
[INFO] Requesting pairing feature of C7:9D:DA:A3:80:01 on hci0
Requesting ✖
[ERROR] bluing.le.le_scan
        SmpCmdNotImplementedError: ""

Does this mean that the pairing-feature scan is a command that's not implemented? Or that something broke within the command?

FWIW a tshark dump of the Sniffle log of the transaction looks like this:

./sniff_receiver.py -H -s /dev/ttyACM1 -o test.pcap -m C7:9D:DA:A3:80:01
...
tshark -r test.pcap 
    1   0.000000 c7:9d:da:a3:80:01 → Broadcast    LE LL 33 ADV_IND
    2   2.006371 c7:9d:da:a3:80:01 → Broadcast    LE LL 33 ADV_IND
    3   4.012469 c7:9d:da:a3:80:01 → Broadcast    LE LL 33 ADV_IND
    4   6.016232 c7:9d:da:a3:80:01 → Broadcast    LE LL 33 ADV_IND
    5   8.021018 c7:9d:da:a3:80:01 → Broadcast    LE LL 33 ADV_IND
    6   8.022050 SenaTech_7d:ef:92 → c7:9d:da:a3:80:01 LE LL 53 CONNECT_IND
    7   8.032364 Master_0x24bd7eeb → Slave_0x24bd7eeb LE LL 19 Empty PDU
    8   8.032594 Slave_0x24bd7eeb → Master_0x24bd7eeb LE LL 19 Empty PDU
    9   8.102366 Master_0x24bd7eeb → Slave_0x24bd7eeb SMP 30 Sent Pairing Request: AuthReq: No Bonding, SecureConnection | Initiator Key(s): LTK, IRK, CSRK, Linkkey | Responder Key(s): LTK, IRK, CSRK, Linkkey
   10   8.102684 Slave_0x24bd7eeb → Master_0x24bd7eeb LE LL 28 Control Opcode: LL_LENGTH_REQ
   11   8.172367 Master_0x24bd7eeb → Slave_0x24bd7eeb LE LL 21 Control Opcode: LL_UNKNOWN_RSP
   12   8.172614 Slave_0x24bd7eeb → Master_0x24bd7eeb SMP 25 Rcvd Pairing Failed: Pairing Not Supported
   13   8.242369 Master_0x24bd7eeb → Slave_0x24bd7eeb LE LL 21 Control Opcode: LL_TERMINATE_IND
   14   8.252626 c7:9d:da:a3:80:01 → Broadcast    LE LL 33 ADV_IND
   15  10.260517 c7:9d:da:a3:80:01 → Broadcast    LE LL 33 ADV_IND

Also FWIW the target was probably an iPhone or some other Apple device:

Addr:        C7:9D:DA:A3:80:01 
Addr type:   random
Connectable: True
RSSI:        -50 dBm
General Access Profile:
    Manufacturer Specific Data: 
        Company ID: 0x004C (Apple, Inc.)
        Data:       12025401

So I don't know that the command was supposed to work, but I just want to understand the error message for future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant