mirror of https://github.com/arendst/Tasmota.git
Update xdrv_58_range_extender.ino (#20295)
RESULT to RgxSSId command is not valid JSON BEFORE: RSL: RESULT = {"Rgx":{"Valid":"true","SSId":"solar_5BDBFC","Password":"MyPassword","IPAddress":"192.168.99.1","Subnetmask":"255.255.255.0"} AFTER RSL: RESULT = {"Rgx":{"Valid":"true","SSId":"solar_5BDBFC","Password":"MyPassword","IPAddress":"192.168.99.1","Subnetmask":"255.255.255.0"}} Not extra terminating '}'
This commit is contained in:
parent
c13886e00d
commit
bebffa040f
|
@ -377,7 +377,7 @@ void CmndRgxPort(void)
|
||||||
void ResponseRgxConfig(void)
|
void ResponseRgxConfig(void)
|
||||||
{
|
{
|
||||||
RgxCheckConfig();
|
RgxCheckConfig();
|
||||||
Response_P(PSTR("{\"Rgx\":{\"Valid\":\"%s\",\"" D_CMND_SSID "\":\"%s\",\"" D_CMND_PASSWORD "\":\"%s\",\"" D_CMND_IPADDRESS "\":\"%_I\",\"" D_JSON_SUBNETMASK "\":\"%_I\"}"),
|
Response_P(PSTR("{\"Rgx\":{\"Valid\":\"%s\",\"" D_CMND_SSID "\":\"%s\",\"" D_CMND_PASSWORD "\":\"%s\",\"" D_CMND_IPADDRESS "\":\"%_I\",\"" D_JSON_SUBNETMASK "\":\"%_I\"}}"),
|
||||||
(RgxSettings.status == RGX_CONFIG_INCOMPLETE) ? "false" : "true",
|
(RgxSettings.status == RGX_CONFIG_INCOMPLETE) ? "false" : "true",
|
||||||
EscapeJSONString(SettingsText(SET_RGX_SSID)).c_str(),
|
EscapeJSONString(SettingsText(SET_RGX_SSID)).c_str(),
|
||||||
EscapeJSONString(SettingsText(SET_RGX_PASSWORD)).c_str(),
|
EscapeJSONString(SettingsText(SET_RGX_PASSWORD)).c_str(),
|
||||||
|
@ -529,4 +529,4 @@ bool Xdrv58(uint32_t function)
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // USE_WIFI_RANGE_EXTENDER
|
#endif // USE_WIFI_RANGE_EXTENDER
|
||||||
|
|
Loading…
Reference in New Issue