Skip to content

Commit 3f34c61

Browse files
committed
Merge branch 'main' into server_impl
2 parents 0c05680 + afb3811 commit 3f34c61

File tree

9 files changed

+50
-16
lines changed

9 files changed

+50
-16
lines changed

.github/workflows/arduino-lint.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Check Arduino
2+
3+
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
4+
on:
5+
push:
6+
pull_request:
7+
schedule:
8+
# Run every Tuesday at 8 AM UTC to catch breakage caused by new rules added to Arduino Lint.
9+
- cron: "0 8 * * TUE"
10+
workflow_dispatch:
11+
repository_dispatch:
12+
13+
jobs:
14+
lint:
15+
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
18+
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@v4
22+
23+
- name: Arduino Lint
24+
uses: arduino/arduino-lint-action@v2
25+
with:
26+
compliance: strict
27+
library-manager: submit # remember to change to 'update' after the library is published on the libraries index
28+
# Always use this setting for official repositories. Remove for 3rd party projects.
29+
official: true

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1-
# RPClite
2-
RPC lib for embedded based on MsgPack
1+
# Arduino_RPClite
2+
3+
A MessagePack RPC library for Arduino allows to create a client/server architecture using MessagePack as the serialization format. It follows the [MessagePack-RPC protocol specification](https://github.com/msgpack-rpc/msgpack-rpc/blob/master/spec.md). It is designed to be lightweight and easy to use, making it suitable for embedded systems and IoT applications.
4+
5+
### Credits
6+
7+
This library is based on the MsgPack library by @hideakitai.

examples/rpc_lite_client/rpc_lite_client.ino

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

33
SerialTransport transport(&Serial2);
44
RPCClient client(transport);

examples/rpc_lite_dummy/rpc_lite_dummy.ino

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

33
DummyTransport transport;
44
RPCServer server(transport);

examples/rpc_lite_server/rpc_lite_server.ino

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

44
SerialTransport transport(&Serial2);

examples/wrapper_example/wrapper_example.ino

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

33
int add(int x, int y) {
44
return x + y;

library.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"name": "RPClite",
2+
"name": "Arduino_RPClite",
33
"keywords": "rpclib,msgpack,serial",
4-
"description": "RPClite for Arduino (based on hideakitai MsgPack)",
4+
"description": "A MessagePack RPC library for Arduino",
55
"repository": {
66
"type": "git",
7-
"url": "https://github.com/bcmi-labs/RPClite"
7+
"url": "https://github.com/bcmi-labs/Arduino_RPClite"
88
},
99
"authors": {
1010
"name": "Lucio Rossi",

library.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name=RPClite
1+
name=Arduino_RPClite
22
version=0.0.1
33
author=Lucio Rossi (eigen-value)
44
maintainer=Lucio Rossi (eigen-value)
5-
sentence=RPClite for Arduino (based on hideakitai MsgPack)
6-
paragraph=RPClite for Arduino (based on hideakitai MsgPack)
5+
sentence=A MessagePack RPC library for Arduino
6+
paragraph=allows to create a client/server architecture using MessagePack as the serialization format. It follows the MessagePack-RPC protocol specification. It is designed to be lightweight and easy to use, making it suitable for embedded systems and IoT applications.
77
category=Communication
8-
url=https://github.com/bcmi-labs/RPClite
8+
url=https://www.arduino.cc/
99
architectures=*
1010
depends=ArxContainer (>=0.6.0), ArxTypeTraits, DebugLog (>=0.8.1)

src/RPClite.h renamed to src/Arduino_RPClite.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Created by lucio on 4/8/25.
33
//
44

5-
#ifndef RPCLITE_H
6-
#define RPCLITE_H
5+
#ifndef ARDUINO_RPCLITE_H
6+
#define ARDUINO_RPCLITE_H
77

88
#include "Arduino.h"
99

@@ -18,4 +18,4 @@
1818
#include "DummyTransport.h"
1919
#include "SerialTransport.h"
2020

21-
#endif //RPCLITE_H
21+
#endif //ARDUINO_RPCLITE_H

0 commit comments

Comments
 (0)