mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-10-22 17:41:35 +00:00
observer lightsleep + companion opt-in
This commit is contained in:
1 parent
1b3d378c67
commit
5ac3156943
34 files changed
+439
-100
No files matched your search
@@ -1102,7 +1102,8 @@ void RepeaterMesh::begin(RepeaterDataStore* store) {
|
||||
|
||||
if (isUplinkEnabled() && _uplink_creds.wifi_ssid[0] && _uplink_creds.mqtt_host[0]) {
|
||||
s_uplink_mesh = this;
|
||||
zc_wifi_station_start(_uplink_creds.wifi_ssid, _uplink_creds.wifi_psk, uplink_time_sync_cb);
|
||||
zc_wifi_station_start(_uplink_creds.wifi_ssid, _uplink_creds.wifi_psk, uplink_time_sync_cb,
|
||||
true /* WiFi power save */);
|
||||
mqtt_publisher_start(&_uplink_creds, _prefs.node_name,
|
||||
_uplink_status_topic, _uplink_packets_topic);
|
||||
mqtt_publisher_set_connect_cb([]() {
|
||||
|
||||
Reference in new issue
Block a user