Cambrionix Hub APIOverview
Cambrionix Hub API |
The Cambrionix Hub API is used to control Cambrionix products. The Product Name is locally installed and is called the 'CambrionixApiService'. This provides a programming interface to control all smart Cambrionix units.
The Cambrionix Hub API will allow scripts to be written using the programming language of your choice to connect directly to the API service over a standard TCP/IP socket and send and receive JSON formatted data. When the API is used to communicate with a remote network attached hub, this is done over an SSH tunnel.
The Cambrionix Hub API supports multiple simultaneous client connections to itself and supports concurrent access to all available hubs.
The Cambrionix Hub API is a service called "CambrionixApiService", which sits between the application and the Cambrionix units. It maps the properties of the Cambrionix units into API commands
More information can be found by visiting our website and downloading the product user manual. www.cambrionix.com/product-user-manuals
Key Features | |
---|---|
Battery Health | Check battery health and device charging performance. |
Battery Capacity | Check devices battery capacity to receive and hold a charge. |
Monitor | Monitor speed of control and easily switch between charge and sync. |
Numbers | Check mobile devices IMEI, OS version, manufacturer and more. |
Example
Example JSON-RPC request:
{ "jsonrpc": "2.0", "id": 0, "method": "cbrx_find", "params": [ "i(Phone|Pad)" ] }
Example successful response
{ "jsonrpc": "2.0", "id": 0, "result": { "974a9d1e6848316264a8a9d8b094b7d5e63a7ae5": { "HostDevice": "60003", "HostPort": 2, "HostDescription": "TS3-C10", "Device": { "VID": 1452, "PID": 4779, "Manufacturer": "Apple Inc.", "Description": "iPad", "SerialNumber": "974a9d1e6848316264a8a9d8b094b7d5e63a7ae5", ....
More information and examples for the Product Name can be found in the User Manual which can be downloaded from the following link.
https://downloads.cambrionix.com/documentation/en/Cambrionix-Hub-API-User-Manual.pdf