All Projects → hmng → Jsonrpc C

hmng / Jsonrpc C

Licence: mit
JSON-RPC in C (server only for now)

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Jsonrpc C

Mjson
C/C++ JSON parser, emitter, JSON-RPC engine for embedded systems
Stars: ✭ 136 (-12.26%)
Mutual labels:  json-rpc, embedded
Tinydeflate
A deflate/gzip decompressor that requires minimal amount of memory to work
Stars: ✭ 148 (-4.52%)
Mutual labels:  embedded
Szl
A lightweight, embeddable scripting language
Stars: ✭ 134 (-13.55%)
Mutual labels:  embedded
Lib Python
Blynk IoT library for Python and Micropython
Stars: ✭ 140 (-9.68%)
Mutual labels:  embedded
Arduino Fastled Music Visualizer
An Arduino based music visualizer using the FastLED library and a strip of individually addressable LEDs
Stars: ✭ 134 (-13.55%)
Mutual labels:  embedded
Wolfssh
wolfSSH is a small, fast, portable SSH implementation, including support for SCP and SFTP.
Stars: ✭ 142 (-8.39%)
Mutual labels:  embedded
Easy Build
Collection of Dockerfiles for building embedded software distributions
Stars: ✭ 130 (-16.13%)
Mutual labels:  embedded
Libcanard
A compact implementation of the UAVCAN/CAN protocol in C for high-integrity real-time embedded systems
Stars: ✭ 151 (-2.58%)
Mutual labels:  embedded
Statecharts
YAKINDU Statechart Tools (http://www.statecharts.org)
Stars: ✭ 145 (-6.45%)
Mutual labels:  embedded
Trussed
Modern Cryptographic Firmware
Stars: ✭ 140 (-9.68%)
Mutual labels:  embedded
Chino Os
A real time operating system for IoT written in C++
Stars: ✭ 139 (-10.32%)
Mutual labels:  embedded
Hfsm2
High-Performance Hierarchical Finite State Machine Framework
Stars: ✭ 134 (-13.55%)
Mutual labels:  embedded
Jsonrpc
The jsonrpc package helps implement of JSON-RPC 2.0
Stars: ✭ 143 (-7.74%)
Mutual labels:  json-rpc
Cargo Flash
a cargo extension for programming microcontrollers
Stars: ✭ 134 (-13.55%)
Mutual labels:  embedded
Imguifontstudio
Font Helper Gui Tool for programming
Stars: ✭ 149 (-3.87%)
Mutual labels:  embedded
Nerves
Craft and deploy bulletproof embedded software in Elixir
Stars: ✭ 1,778 (+1047.1%)
Mutual labels:  embedded
Grisp
GRiSP Erlang Runtime Library
Stars: ✭ 141 (-9.03%)
Mutual labels:  embedded
Esp8266 Firmware
DeviceHive esp8266 firmware. Control hardware via clouds with DeviceHive!
Stars: ✭ 154 (-0.65%)
Mutual labels:  embedded
Tinyframe
A simple library for building and parsing data frames for serial interfaces (like UART / RS232)
Stars: ✭ 151 (-2.58%)
Mutual labels:  embedded
Co
Art of C++. Flag, logging, unit-test, json, go-style coroutine and more.
Stars: ✭ 2,264 (+1360.65%)
Mutual labels:  json-rpc

jsonrpc-c

JSON-RPC in C (server only for now)

What?

A library for a C program to receive JSON-RPC requests on tcp sockets (no HTTP).

Free software, MIT license.

Why?

I needed a way for an application written in C, running on an embedded Linux system to be configured by a Java/Swing configuration tool running on a connected laptop. Wanted something simple, human readable, and saw no need for HTTP.

How?

It depends on libev http://software.schmorp.de/pkg/libev.html (was already used on the embedded app) and includes cJSON (with a small patch on my fork). No further dependencies.

Testing

Run autoreconf -i before ./configure and make

Test the example server by running it and typing:

echo "{\"method\":\"sayHello\"}" | nc localhost 1234

or

echo "{\"method\": \"add\", \"params\": [3,4], \"id\": \"SOME_IDENTIFIER\" }" | nc localhost 1234

or

echo "{\"method\":\"exit\"}" | nc localhost 1234

Who?

@hmngomes

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].