Skip to content

Commit

Permalink
Merge changes from branch imp (#12)
Browse files Browse the repository at this point in the history
* new update

* implement function microgear.writeFeed()

* Update README.md

* Update README.th.md

* Update README.md

* Update README.md

* fix bug in microgear.writeFeed() using String data type
  • Loading branch information
chavee authored Nov 22, 2016
1 parent afb78e3 commit 5153e87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions MicroGear.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -710,11 +710,11 @@ bool MicroGear::writeFeed(char* feedname, String data, char* apikey) {
char buff[MAXBUFFSIZE];
data.toCharArray(buff,MAXBUFFSIZE-1);

return writeFeed(feedname, data,apikey);
return writeFeed(feedname, buff, apikey);
}

bool MicroGear::writeFeed(char* feedname, String data) {
return writeFeed(feedname, data,NULL);
return writeFeed(feedname, data, NULL);
}

/*
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=ESP8266 Microgear
version=1.2.1
version=1.2.2
author=Chavee Issariyapat <[email protected]>
maintainer=Chavee Issariyapat <[email protected]>
sentence=A client library for ESP8266 to connect to NETPIE IOT Platform.
Expand Down

0 comments on commit 5153e87

Please sign in to comment.