Skip to content
Snippets Groups Projects
Commit aed89ab3 authored by ☃ Elliot Shepherd's avatar ☃ Elliot Shepherd
Browse files

Emit locally found rssis

parent fa2ef8fa
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,12 @@ func main() {
client.Advertisement = handleAdvertisement
client.Rssi = func(address string, name string, rssi int8) {
//log.Printf("Rssi update address:%s rssi:%d", address, rssi)
wpDriver.sendRssi(strings.Replace(address, ":", "", -1), name, mac, rssi, true)
//spew.Dump(device);
}
log.Infof("Starting client scan")
err = client.Start()
if err != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment