I made a simple bash script that detects the RSSI value using hcitool. My question is how do I return that value to a python script? Thanks for your help
Here is the code for the bash script
#!/bin/bash while: do hcitool rssi xx:xx:xx:xx:xx:xx done
EDIT I looked into this even more and found someone saying to use grep and then awk to extract the value of RSSI. I did more research and I still could not understand how you would do this.
Here is the link to the site I found this information on:
https://github.community/t/bash-bluetooth-ble-connectivity-using-hcitools-help-how-to-return-rssi-of-unpaired-device/11327
1.4m articles
1.4m replys
5 comments
57.0k users