6 FireBase - Grandson128/indoorlocation GitHub Wiki
Configuration
Our Real Time DB was pretty straight forward, we only needed to create it and get it's host and key to use in the Arduino and Android configs.
Structure
Our JSON has the following format:
{
"beacon": {
"id": {
"signal": {
"datetime": "",
"objectIdentifier": "",
"rssi": ""
}
}
}
}
- id - our beacon identifier, since we will only use 3 beacons (Arduinos) the id will be 1, 2 and 3
- datetime - approximate time when the packet arrived
- objectIdentifier - mac address of our object
- rssi - received signal strength of out packet