Skip to content

Commit 627630a

Browse files
committed
mod: naming convention
1 parent 2457da6 commit 627630a

File tree

8 files changed

+21
-75
lines changed

8 files changed

+21
-75
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
In this repo it will be implemented an Arduino library wrapper for RPClite to be run on Imola boards.
1+
In this repo it will be implemented an Arduino library wrapper for RPClite to be run on Arduino UNO Q boards.
22

3-
The desired API is shown in https://github.com/bcmi-labs/Arduino_BridgeImola/blob/main/desired.ino.
3+
The desired API is shown in https://github.com/bcmi-labs/Arduino_RouterBridge/blob/main/desired.ino.
44

55
This is WIP. Expects changes soon.
66

77
## The Bridge object ##
88

9-
Including Arduino_BridgeImola.h gives the user access to a Bridge object that can be used both as a RPC client and/or server to execute and serve RPCs to/from the CPU Host running a GOLANG router.
9+
Including Arduino_RouterBridge.h gives the user access to a Bridge object that can be used both as a RPC client and/or server to execute and serve RPCs to/from the CPU Host running a GOLANG router.
1010

1111
- The Bridge object is pre-defined on Serial1 and automatically initialized inside the main setup()
1212
- The Bridge.call method is blocking and works the same as in RPClite

desired.ino

Lines changed: 0 additions & 54 deletions
This file was deleted.

examples/simple_bridge/simple_bridge.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include <Arduino_BridgeImola.h>
1+
#include <Arduino_RouterBridge.h>
22

33
//BridgeClass Bridge(Serial1);
44

library.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"name": "Arduino_BridgeImola",
2+
"name": "Arduino_RouterBridge",
33
"keywords": "rpclite,msgpack",
4-
"description": "A RPC bridge for Imola boards",
4+
"description": "A RPC bridge for Arduino UNO Q boards",
55
"repository": {
66
"type": "git",
7-
"url": "https://github.com/bcmi-labs/Arduino_BridgeImola"
7+
"url": "https://github.com/bcmi-labs/Arduino_RouterBridge"
88
},
99
"authors": {
1010
"name": "BCMI-labs",
11-
"url": "https://github.com/bcmi-labs/Arduino_BridgeImola",
11+
"url": "https://github.com/bcmi-labs/Arduino_RouterBridge",
1212
"maintainer": true
1313
},
1414
"version": "0.1.0",

library.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name=Arduino_BridgeImola
1+
name=Arduino_RouterBridge
22
version=0.1.0
33
author=BCMI-labs
44
maintainer=BCMI-labs
5-
sentence=A RPC bridge for Imola boards
6-
paragraph=This library provides a simple RPC bridge for Imola boards, allowing communication between the board and other devices using MsgPack serialization.
5+
sentence=A RPC bridge for Arduino UNO Q boards
6+
paragraph=This library provides a simple RPC bridge for Arduino UNO Q boards, allowing communication between the board and other devices using MsgPack serialization.
77
category=Communication
88
url=https://www.arduino.cc/
99
architectures=*

src/Arduino_BridgeImola.h

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/Arduino_RouterBridge.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#ifndef ARDUINO_ROUTER_BRIDGE_H
2+
#define ARDUINO_ROUTER_BRIDGE_H
3+
4+
#include "Arduino.h"
5+
#include "bridge.h"
6+
7+
#endif //ARDUINO_ROUTER_BRIDGE_H

src/bridge.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#pragma once
22

3-
#ifndef BRIDGE_IMOLA_H
4-
#define BRIDGE_IMOLA_H
3+
#ifndef ROUTER_BRIDGE_H
4+
#define ROUTER_BRIDGE_H
55

66
#define RESET_METHOD "$/reset"
77
#define BIND_METHOD "$/register"
@@ -191,4 +191,4 @@ void __loopHook(){
191191
safeUpdate();
192192
}
193193

194-
#endif // BRIDGE_IMOLA_H
194+
#endif // ROUTER_BRIDGE_H

0 commit comments

Comments
 (0)