Skip to content

Commit

Permalink
Merge pull request #2 from francip/master
Browse files Browse the repository at this point in the history
Bugs with special char in library name and Unix packages versioning
  • Loading branch information
francip committed Sep 15, 2015
2 parents 10c0de2 + 9f27fc9 commit 5663b6b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions examples/setup/Setup.ino
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <Bridge.h>

String revision = "1.0.1-1_ar71xx";
String location = "https://raw.githubusercontent.com/ParsePlatform/parse-embedded-sdks/master/yun/linux_package/";
String revision = "1.0.2-1_ar71xx";
String location = "https://raw.githubusercontent.com/ParsePlatform/parse-embedded-sdks/1.0.2/yun/linux_package/";

void downloadPackage(String file) {
Serial.println("Download: " + location + file + revision + ".ipk");
Expand All @@ -17,7 +17,7 @@ void downloadPackage(String file) {
p.addParameter("/tmp/" + file + revision + ".ipk");
p.addParameter(location + file + revision + ".ipk");
p.run();
while (p.available()) {
while (p.available()) {
Serial.print((char)p.read());
}
}
Expand All @@ -39,16 +39,16 @@ void installPackage(String file) {
void setup() {
Bridge.begin();
Serial.begin(115200);

while(!Serial);

Serial.println("Downloading packages");
downloadPackage("parse-embedded_");
downloadPackage("parse-embedded-yun_");
Serial.println("Installing packages");
installPackage("parse-embedded_");
installPackage("parse-embedded-yun_");

Serial.println("\nDone.");
}

Expand Down
6 changes: 3 additions & 3 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name=Parse Arduino Yún SDK
version=1.0.1
name=Parse Arduino SDK
version=1.0.2
author=Parse, LLC.
maintainer=Parse, LLC.
sentence=A library that provides access to Parse
paragraph=Provides convenience methods to access the REST API on Parse.com from Arduino
url=https://github.com/ParsePlatform/parse-embedded-sdks
url=https://github.com/ParsePlatform/Parse-SDK-Arduino
architectures=avr

0 comments on commit 5663b6b

Please sign in to comment.