Skip to content

Commit 77ba4ed

Browse files
committed
Metadata update
1 parent d07ec6f commit 77ba4ed

File tree

6 files changed

+31
-9
lines changed

6 files changed

+31
-9
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
Easy handling of Mqtt on esp8266
33

44
This library is currentlly under heavy development.
5-
And shoud not be used at the moment.
65

76
## Examble usage EasyMqtt
87
```C++

ToDo.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ Change MqttMap to include reference to mqttclient
77

88
Add easyMqtt/$id/system/connected + will to indicate if device is online
99

10-
Add better debugging
11-
* Add new EasyDebug class, extends Print (Print.h), and prints to easyMqtt/$id/system/debug if enabled
12-
* Add getDebugger on EasyMqtt that returns the EasyDebug instance
13-
1410
## Future
1511

1612
Add system info
1713
* easyMqtt/$id/system/uptime
1814
* easyMqtt/$id/system/mem
1915
* easyMqtt/$id/system/reset
20-
* easyMqtt/$id/system/debug (see above)
16+
* easyMqtt/$id/system/debug
2117
* easyMqtt/$id/system/config
2218

19+
Add better debugging
20+
* Add new EasyDebug class, extends Print (Print.h), and prints to easyMqtt/$id/system/debug if enabled
21+
* Add getDebugger on EasyMqtt that returns the EasyDebug instance
22+
2323
Add support for filters
2424
* Don't send if value is the same as last.
2525
* Don't send if value is Nan

examples/basic/basic.ino

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#include <EasyMqtt.h>
2+
3+
EasyMqtt mqtt;
4+
5+
void setup() {
6+
mqtt.wifi("ssid", "pass");
7+
mqtt.mqtt("server", 1883, "user", "password");
8+
9+
mqtt["foo"] << []() { return "bar"; };
10+
}
11+
12+
void loop() {
13+
mqtt.loop();
14+
}

keywords.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,20 @@
77
#######################################
88

99
EasyMqtt KEYWORD1
10+
MqttMap KEYWORD1
1011

1112
#######################################
1213
# Methods and Functions (KEYWORD2)
1314
#######################################
1415

16+
wifi KEYWORD2
17+
mqtt KEYWORD2
18+
loop KEYWORD2
19+
debug KEYWORD2
20+
getInterval KEYWORD2
21+
setInterval KEYWORD2
22+
publish KEYWORD2
23+
get KEYWORD2
1524

1625
#######################################
1726
# Constants (LITERAL1)

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"type": "git",
77
"url": "https://github.com/bloft/EasyMqtt.git"
88
},
9-
"version": "2.6",
9+
"version": "0.2",
1010
"exclude": "tests",
1111
"examples": "examples/*/*.ino",
1212
"frameworks": "arduino",

library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name=EasyMqtt
2-
version=0.1
2+
version=0.2
33
author=Bjarne Loft <[email protected]>
44
maintainer=Bjarne Loft <[email protected]>
55
sentence=A wrapper library for using mqtt on the ESP8266
66
paragraph=Makes it easyer to get up and running with Mqtt on the esp8266
77
category=Communication
8-
url=...
8+
url=https://github.com/bloft/EasyMqtt
99
architectures=*

0 commit comments

Comments
 (0)