Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sergey Remizov
BluetoothHeater
Commits
604908af
Commit
604908af
authored
5 years ago
by
Ray Jones
Browse files
Options
Download
Email Patches
Plain Diff
OK, no errors now
parent
5b714101
MQTTstore
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Arduino/BTCDieselHeater/src/WiFi/ABMqtt.cpp
+3
-2
Arduino/BTCDieselHeater/src/WiFi/ABMqtt.cpp
with
3 additions
and
2 deletions
+3
-2
Arduino/BTCDieselHeater/src/WiFi/ABMqtt.cpp
View file @
604908af
...
...
@@ -43,7 +43,7 @@
#endif
void
MqttCallback
(
char
*
topic
,
byte
*
payload
,
unsigned
int
length
);
bool
ean
MqttReconnect
()
{
bool
MqttReconnect
()
;
//char cmnd[50]; //Command holder
WiFiClient
wclient
;
...
...
@@ -79,7 +79,8 @@ long lastReconnectAttempt = 0;
}
return client.connected();
}*/
bool
MqttReconnect
()
{
bool
MqttReconnect
()
{
if
(
client
.
connect
(
"Afterburner"
,
NVstore
.
getMQTTinfo
().
username
,
NVstore
.
getMQTTinfo
().
password
))
{
// Once connected, publish an announcement...
client
.
publish
(
"outTopic"
,
"hello world"
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help