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

Cannot scan wifi and bluetooth at the same time #52

Open
t-walker-wei opened this issue Nov 2, 2021 · 0 comments
Open

Cannot scan wifi and bluetooth at the same time #52

t-walker-wei opened this issue Nov 2, 2021 · 0 comments

Comments

@t-walker-wei
Copy link

Device: Raspberry pi 4B with USB bluetooth adapter
When enable scan bluetooth with "-bluetooth" the debug info only show bluetooth info.

2021-11-02 10:53:42 [INFO] main.go func1:214 scanning bluetooth
2021-11-02 10:53:42 [INFO] main.go func1:218 scanning for 5 seconds
2021-11-02 10:53:42 [DEBUG] bluetooth.go scanBluetooth:38 scanning bluetooth
2021-11-02 10:53:47 [DEBUG] bluetooth.go scanBluetooth:61 bluetooth scan finished
2021-11-02 10:53:47 [DEBUG] main.go basicCapture:369 {
"t": 1635821622435,
"f": "walker",
"d": "rpi",
"l": "livingroom",
"s": {
"bluetooth": {
"0f:92:46:83:c6:5d": -67,
"7b:a8:06:a5:63:06": -87,
"fa:7a:a7:ea:31:05": -82
}
},
"gps": {}
}

If without "-bluetooth" I get:

2021-11-02 10:37:59 [INFO] main.go func1:211 scanning with wlan0
2021-11-02 10:38:00 [DEBUG] main.go basicCapture:369 {
"t": 1635820679441,
"f": "walker",
"d": "rpi",
"l": "livingroom",
"s": {
"wifi": {
"04:d9:f5:53:0f:c8": -32,
"04:d9:f5:53:0f:cc": -35,
"30:fc:68:bd:b5:55": -74,
"60:aa:ef:c0:e0:ec": -75,
"60:aa:ef:c0:e0:f1": -76,
"70:3a:73:06:0a:80": -66
}
},
"gps": {}
}
How can I scan both wifi and bluetooth?

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