From 9f27fc9eb4667251136ab0d8245a05fa7af2186b Mon Sep 17 00:00:00 2001 From: Franci Penov Date: Tue, 15 Sep 2015 09:54:34 -0700 Subject: [PATCH] Bugs with special char in library name and Unix packages versioning --- examples/setup/Setup.ino | 12 ++++++------ library.properties | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/setup/Setup.ino b/examples/setup/Setup.ino index 0e7246e..822814e 100644 --- a/examples/setup/Setup.ino +++ b/examples/setup/Setup.ino @@ -1,7 +1,7 @@ #include -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"); @@ -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()); } } @@ -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."); } diff --git a/library.properties b/library.properties index 2c4e02d..e212da6 100644 --- a/library.properties +++ b/library.properties @@ -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