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

Support for USRP #9

Open
alkaid-007 opened this issue Feb 17, 2023 · 15 comments
Open

Support for USRP #9

alkaid-007 opened this issue Feb 17, 2023 · 15 comments
Assignees
Labels
bug Something isn't working

Comments

@alkaid-007
Copy link

Hi, may I ask what type of USRPs can use this? I tried USRP N310, but it showed unsupported.

@mikeryan
Copy link
Owner

I've only tested it with the B200 series, but the code may work with the N310. Give it a try and see if you see any BLE advertising packets.

@alkaid-007
Copy link
Author

Hi, I tried it in WireShark, but it shows unsupported. Please see the attached.
Screenshot

@alkaid-007
Copy link
Author

I also tried USRP N210, and it still showed that unsupported. Could you please provide me with any suggestions?
1
2

@alphafox02
Copy link

alphafox02 commented Mar 21, 2023

With a b205mini and Wireshark I can see it listed in Wireshark, however, when trying to use it I get a pop up saying Error opening UHD:11

This is the same error I get when trying to use the ice9 binary directly with a b205mini and only putting usrp-

Makes me think it’s getting ran without putting the serial number after usrp- although the initial Wireshark menu with interfaces correctly lists the serial number.

This is using the latest commits, which does now allow my b205mini to work when directly using the binary.

@Martyx00
Copy link

I believe I have the same error as @alphafox02 but with B200-mini.

image

@mikeryan
Copy link
Owner

mikeryan commented Oct 4, 2023

Could someone with this error please try running the command from the command line like so:

ice9-bluetooth -l -s -c 2427 -C 20 -i usrp-<serial>

Let me know if you get the same error "Error opening UHD: 11" or if something else happens.

@mikeryan mikeryan self-assigned this Oct 4, 2023
@mikeryan mikeryan added the bug Something isn't working label Oct 4, 2023
@alphafox02
Copy link

Pulled and built latest source. I do not have the above issue with a b205mini when I tested just now using the command you pasted above. I do however have the issue when trying to open it from wireshark.


[INFO] [B200] Actually got clock rate 20.000000 MHz.                                                                                
ch  12.2  samp/sec (  0% realtime); agc  54.9 Msamp/sec (153% realtime)                                                             
Channelizer too slow, use fewer channels                                                                                            
ch  20.0 Msamp/sec (100% realtime); agc  57.3 Msamp/sec (159% realtime)
ch  20.0 Msamp/sec (100% realtime); agc  66.2 Msamp/sec (184% realtime)
ch  20.0 Msamp/sec (100% realtime); agc  65.8 Msamp/sec (183% realtime)
ch  20.0 Msamp/sec (100% realtime); agc  65.7 Msamp/sec (183% realtime)
ch  19.4 Msamp/sec ( 97% realtime); agc  60.8 Msamp/sec (169% realtime)
Channelizer too slow, use fewer channels
ch  20.6 Msamp/sec (103% realtime); agc  63.7 Msamp/sec (177% realtime)
ch  20.0 Msamp/sec (100% realtime); agc  65.3 Msamp/sec (181% realtime)

@IakovlevAA
Copy link

Could someone with this error please try running the command from the command line like so:

ice9-bluetooth -l -s -c 2427 -C 20 -i usrp-<serial>

Let me know if you get the same error "Error opening UHD: 11" or if something else happens.

Hi, tried with usrp B200, getting this same error, any thoughts about this? Reproduced with master branch and v23.06.0

@elafargue
Copy link

elafargue commented Apr 16, 2024

On a B205 Mini, using the following command line appears to work fine (serial number edited):

% ice9-bluetooth -l -s -c 2427 -C 20 -i usrp-317XXX
[INFO] [UHD] Mac OS; Clang version 15.0.0 (clang-1500.1.0.2.5); Boost_108400; UHD_4.6.0.HEAD-0-g50fa3baa
[INFO] [B200] Detected Device: B205mini
[INFO] [B200] Operating over USB 3.
[INFO] [B200] Initialize CODEC control...
[INFO] [B200] Initialize Radio control...
[INFO] [B200] Performing register loopback test...
[INFO] [B200] Register loopback test passed
[INFO] [B200] Setting master clock rate selection to 'automatic'.
[INFO] [B200] Asking for clock rate 16.000000 MHz...
[INFO] [B200] Actually got clock rate 16.000000 MHz.
[INFO] [B200] Asking for clock rate 20.000000 MHz...
[INFO] [B200] Actually got clock rate 20.000000 MHz.
ch 446.0  samp/sec (  0% realtime); agc 105.9 Msamp/sec (294% realtime)
Channelizer too slow, use fewer channels
ch  20.0 Msamp/sec (100% realtime); agc 107.2 Msamp/sec (298% realtime)
ch  20.0 Msamp/sec (100% realtime); agc 106.1 Msamp/sec (295% realtime)
ch  20.0 Msamp/sec (100% realtime); agc 107.1 Msamp/sec (297% realtime)
ch  20.0 Msamp/sec (100% realtime); agc 109.2 Msamp/sec (303% realtime)
ch  20.0 Msamp/sec (100% realtime); agc 108.4 Msamp/sec (301% realtime)
ch  20.0 Msamp/sec (100% realtime); agc 109.0 Msamp/sec (303% realtime)
ch  20.0 Msamp/sec (100% realtime); agc 107.5 Msamp/sec (299% realtime)
ch  20.0 Msamp/sec (100% realtime); agc 104.4 Msamp/sec (290% realtime)
ch  20.0 Msamp/sec (100% realtime); agc 106.3 Msamp/sec (295% realtime)
ch  20.0 Msamp/sec (100% realtime); agc 104.8 Msamp/sec (291% realtime)

@alphafox02
Copy link

Could someone with this error please try running the command from the command line like so:

ice9-bluetooth -l -s -c 2427 -C 20 -i usrp-<serial>

Let me know if you get the same error "Error opening UHD: 11" or if something else happens.

Hi, tried with usrp B200, getting this same error, any thoughts about this? Reproduced with master branch and v23.06.0

Are you replacing serial with your serial number?

@hayyanali-cmd
Copy link

Hello , I have the same issue:
ice9-bluetooth -l -s -c 2427 -C 20 -i usrp-3189ffd
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; UHD_4.7.0.0-0ubuntu1~jammy1

@Karthick-Vishnu
Copy link

I'm having the same issue. In wireshark, my usrp is showing with ice9 but when I start capturing it, it throws me the error like

Error by extcap pipe: [INFO] [UHD] linux; GNU C++ version 11.3.0; Boost_107400; UHD_4.1.0.5-0-unknown
ice9-bluetooth: Error opening UHD: 11.

ice9-bluetooth -l -i usrp-3143023 -c 2402 -C 20 -s -v -w /home/admin1/Music/out.pcap
But when I run this in terminal, It is running successfully and capturing.
Another issue is the pcap file is empty and I can't even analyze the packets.

@alphafox02
Copy link

I would try this fork

https://github.com/bkerler/ice9-bluetooth-sniffer

He helped fix a few things and I recall testing my usrp with it.

@tkeep
Copy link

tkeep commented Nov 27, 2024

I'm also getting this error. I wonder if it's the string in Wireshark causing the issue? Wireshark reports "ICE9 Bluetooth: usrp-B200-30BC469". Running the command line "ice9-bluetooth -l -s -c 2427 -C 20 -i usrp-B200-30BC467" gives me error 11, but if I remove the B200 and run "ice9-bluetooth -l -s -c 2427 -C 20 -i usrp-30BC467" then it's OK.

@hllhll
Copy link

hllhll commented Dec 8, 2024

Note for readers: sudo ice9-bluetooth -l -s -c 2427 -C 20 -i usrp-XXXXXX works, but sudo ice9-bluetooth -l -s -c 2427 -C 20 -i usrp-B200-XXXXXX Throws up error 11, maybe that's part of the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants