-
Notifications
You must be signed in to change notification settings - Fork 0
Mqtt
Julian Bustamante edited this page Sep 1, 2021
·
1 revision
Just publish a JSON array named beacons enumerating the MAC address of each kwown beacon. Should look like this:
Target topic: /topictest/beacon_list
{
"beacons": [
"FC:52:8D:75:C6:96",
"AC:20:2E:E0:BB:28",
"4C:6E:6E:F5:C0:DC",
"4C:6E:6E:F5:C0:D4"
]
}Just publish a JSON array named ap_credentials relating the MAC of each AP with its respective password.. Should look like this:
Target topic: /topictest/cred_list
{
"ap_credentials": [
{
"mac": "C0:89:AB:AC:A2:B9",
"pwd": "my_secret_pass"
},
{
"mac": "4C:6E:6E:F9:30:14",
"pwd": "password1"
},
{
"mac": "4C:6E:6E:F9:30:1C",
"pwd": "complex_password"
}
]
}
Target topic: /topictest/macrssi_data