Skip to content

Commit 9820f05

Browse files
mohammad reza zaerimohammad reza zaeri
authored andcommitted
fix some bug
1 parent 22fe292 commit 9820f05

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

examples/simple/simple.ino

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#define KEY_OF_CENTER "AIRN" // IT'S PRODUCER CENTER CODE
44

5-
#define Pushbotton 32 // PIN FOR GO TO Config Panel and AP MODE
5+
#define Pushbotton 23 // PIN FOR GO TO Config Panel and AP MODE
66

77
#define CALL_Global_Mqtt_CALLBACK true // if is true just call this airnginClient.setOnMessageCallback(myMqttCallback);
88
// else is false desn't call airnginClient.setOnMessageCallback(myMqttCallback); and call other callback
@@ -26,9 +26,6 @@ void setup() {
2626
airnginClient.setOnDebuggerCallback(debuggerCallback);
2727
airnginClient.setOnMessage_From_Topic_DeviceToDevice_Callback(message_From_Topic_DeviceToDevice_Callback);
2828
airnginClient.setOnMessage_From_Topic_ServerToDevice_Callback(message_From_Topic_ServerToDevice_Callback);
29-
30-
Serial.println("*-*-*-*-*-before confige **********************************");
31-
Serial.println("*-*-*-*-*-before confige *********************************");
3229

3330
pinMode(Pushbotton, INPUT_PULLUP);
3431
}

library.properties

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
name=Airngin-esp32-mqtt-client
2-
version=0.1.1
3-
author=Mohammad <[email protected]>
4-
maintainer=Mohammad <[email protected]>
5-
sentence=A library for AirNgin IoT platform.
6-
category=Communication
7-
url=https://github.com/airngin/Airngin-esp32-mqtt-client
8-
architectures=esp32
1+
name=AirNgin ESP32 MQTT Client
2+
version=0.0.1
3+
author=AirNgin Team
4+
5+
sentence=A library for ESP32 to connect to AirNgin IoT platform.
6+
paragraph=This library helps developers connect their ESP32 devices to AirNgin IoT broker easily.
7+
category=MQTT-broker
8+
url=https://github.com/AirNgin/Airngin-esp32-mqtt-client
9+
architectures=esp32

0 commit comments

Comments
 (0)