Skip to content

Commit 9f27fc9

Browse files
author
Franci Penov
committed
Bugs with special char in library name and Unix packages versioning
1 parent 10c0de2 commit 9f27fc9

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

examples/setup/Setup.ino

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <Bridge.h>
22

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

66
void downloadPackage(String file) {
77
Serial.println("Download: " + location + file + revision + ".ipk");
@@ -17,7 +17,7 @@ void downloadPackage(String file) {
1717
p.addParameter("/tmp/" + file + revision + ".ipk");
1818
p.addParameter(location + file + revision + ".ipk");
1919
p.run();
20-
while (p.available()) {
20+
while (p.available()) {
2121
Serial.print((char)p.read());
2222
}
2323
}
@@ -39,16 +39,16 @@ void installPackage(String file) {
3939
void setup() {
4040
Bridge.begin();
4141
Serial.begin(115200);
42-
42+
4343
while(!Serial);
44-
44+
4545
Serial.println("Downloading packages");
4646
downloadPackage("parse-embedded_");
4747
downloadPackage("parse-embedded-yun_");
4848
Serial.println("Installing packages");
4949
installPackage("parse-embedded_");
5050
installPackage("parse-embedded-yun_");
51-
51+
5252
Serial.println("\nDone.");
5353
}
5454

library.properties

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name=Parse Arduino Yún SDK
2-
version=1.0.1
1+
name=Parse Arduino SDK
2+
version=1.0.2
33
author=Parse, LLC.
44
maintainer=Parse, LLC.
55
sentence=A library that provides access to Parse
66
paragraph=Provides convenience methods to access the REST API on Parse.com from Arduino
7-
url=https://github.com/ParsePlatform/parse-embedded-sdks
7+
url=https://github.com/ParsePlatform/Parse-SDK-Arduino
88
architectures=avr

0 commit comments

Comments
 (0)