Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Commit

Permalink
Bump version in Arduino and fix compilation erros
Browse files Browse the repository at this point in the history
  • Loading branch information
me-no-dev committed Jul 24, 2018
1 parent f599315 commit 7e9ed22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/ClientServer/Client/Client.ino
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ static void replyToServer(void* arg) {
/* event callbacks */
static void handleData(void* arg, AsyncClient* client, void *data, size_t len) {
Serial.printf("\n data received from %s \n", client->remoteIP().toString().c_str());
Serial.write((char*)data, len);
Serial.write((uint8_t*)data, len);

os_timer_arm(&intervalTimer, 2000, true); // schedule for reply to server at next 2s
}
Expand Down
2 changes: 1 addition & 1 deletion examples/ClientServer/Server/Server.ino
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static void handleError(void* arg, AsyncClient* client, int8_t error) {

static void handleData(void* arg, AsyncClient* client, void *data, size_t len) {
Serial.printf("\n data received from client %s \n", client->remoteIP().toString().c_str());
Serial.write((char*)data, len);
Serial.write((uint8_t*)data, len);

// reply to client
if (client->space() > 32 && client->canSend()) {
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=ESP AsyncTCP
version=1.1.0
version=1.2.0
author=Me-No-Dev
maintainer=Me-No-Dev
sentence=Async TCP Library for ESP8266 and ESP31B
Expand Down

0 comments on commit 7e9ed22

Please sign in to comment.