Skip to content

Bugs with special char in library name and Unix packages versioning #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 15, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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://github.com/raw/ParsePlatform/parse-embedded-sdks/master/yun/linux_package/";
String revision = "1.0.2-1_ar71xx";
String location = "https://github.com/raw/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