https://github.com/telecominfraproject/wlan-ucentral-client
https://github.com/telecominfraproject/wlan-ucentral-client
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/telecominfraproject/wlan-ucentral-client
- Owner: Telecominfraproject
- Created: 2022-05-27T19:52:40.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2026-01-31T07:46:07.000Z (4 months ago)
- Last Synced: 2026-01-31T20:58:37.868Z (4 months ago)
- Language: C
- Size: 176 KB
- Stars: 6
- Watchers: 64
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# uCentral Client
uCentral Client application for OpenWiFi access points, communicating with the
[uCentral Gateway](https://github.com/Telecominfraproject/wlan-cloud-ucentralgw).
This software is a part of the OpenWiFi
[AP NOS](https://github.com/Telecominfraproject/wlan-ap).
## Developer Notes
The uCentral connection uses the WebSocket protocol, and messages are
transferred in JSON-RPC format. Full details of this protocol can be found in a
separate document
[here](https://github.com/Telecominfraproject/wlan-cloud-ucentralgw/blob/master/PROTOCOL.md).
- Incoming JSON-RPC messages are handled in `proto.c:proto_handle()`.
- Complex actions are executed via task queues (`libubox/runqueue.h`).
- Many actions will fork external programs, notably ucode scripts installed by
the [ucentral-schema](https://github.com/Telecominfraproject/wlan-ucentral-schema)
package (see [ucentral-schema/command/](https://github.com/Telecominfraproject/wlan-ucentral-schema/tree/main/command)).
This application registers several ubus methods under the `ucentral` object, as
defined in `ubus.c:ubus_object`.