schollz / find

High-precision indoor positioning framework for most wifi-enabled devices.
https://www.internalpositioning.com/
GNU Affero General Public License v3.0
5.03k stars 370 forks source link

Add RF data to MQTT publication #214

Open nordlead2005 opened 6 years ago

nordlead2005 commented 6 years ago

The MQTT topic was being published right before grabbing the RF data, I moved the code down a bit and added RF to the topic structure.

I've never written in go before, but my simple testing seems to indicate that this works fine.