Skip to content

Commit a5b03a8

Browse files
committed
ver: 0.2.2
1 parent be26821 commit a5b03a8

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

examples/simple_bridge/simple_bridge.ino

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ void loop() {
4949
float res;
5050
if (!Bridge.call("multiply", 1.0, 2.0).result(res)) {
5151
Serial.println("Error calling method: multiply");
52-
Serial.println(Bridge.get_error_code());
53-
Serial.println(Bridge.get_error_message());
5452
};
5553

5654
// Call with deferred response check
@@ -61,8 +59,8 @@ void loop() {
6159
Serial.print("Result of the operation is: ");
6260
Serial.println(res);
6361
} else {
64-
Serial.println(Bridge.get_error_code());
65-
Serial.println(Bridge.get_error_message());
62+
Serial.println(outcome.error.code);
63+
Serial.println(outcome.error.traceback);
6664
}
6765

6866
Bridge.notify("signal", 200);

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"url": "https://github.com/bcmi-labs/Arduino_RouterBridge",
1212
"maintainer": true
1313
},
14-
"version": "0.2.1",
14+
"version": "0.2.2",
1515
"license": "MPL2.0",
1616
"frameworks": "arduino",
1717
"platforms": "*",

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Arduino_RouterBridge
2-
version=0.2.1
2+
version=0.2.2
33
author=BCMI-labs
44
maintainer=BCMI-labs
55
sentence=A RPC bridge for Arduino UNO Q boards

0 commit comments

Comments
 (0)