Operator guide · Apps and fleets
Bandwidth sharing for fleets: many devices, one account, one statement
Coronium takes a fleet of devices on home or mobile lines as supply under one account. Each device carries buyer traffic counted at one meter and earns on a statement that lists every device and day. The terms in force are fields of the API, so a program can read them.
Earnings start once Coronium charges buyers, which GET /app/api/buy answers in charging. Nothing on this page is a guarantee of earnings.
- For
- Operators of many devices
- You need
- Devices on home or mobile lines
- State
- Linux agent kit
available - Any device (WebSocket)
preview
- Linux agent kit
- Updated
Who is a fleet operator?
A fleet operator runs many devices on home or mobile lines: Linux boxes with mobile modems, routers, or a product shipped to customers. Each device is added through the API, or enrols itself with a token once the operator opens enrolment by token. One account holds them all.
Why does supply at scale need more than a consumer app?
A fleet operator needs terms a program can read, a way to add devices by the batch, and a per-device record to reconcile against. Coronium gives one account, one API, one meter, and a statement line for each device, day and country.
What a supply partner gets
A supply partner gets the account's terms, its device list and its statement as API fields, so a fleet runs from scripts rather than a dashboard. Enrolment by token and bulk enrolment join them once the operator opens those routes.
- Programmable terms. Your standing, share, hold and device limit are fields of
GET /app/api/earnings, in the same answer as the totals. - Enrolment by token, once the operator opens it. A token minted by your account lets each device enrol itself, holding no session or access code. No device secret crosses the network: the device sends only a hash of the secret it made.
- Bulk enrolment, once the operator opens it.
PUT /app/api/devicestakes pairs of device id and secret hash in one call and skips the ones the account already holds. It is one of the token routes, and answersenrol_tokens_offuntil then. - A device list you can filter.
GET /app/api/deviceslists each device with its state and bytes, filters by token and by app, and counts devices by state. - A statement per device. Each line is one day, device and country, with the bytes, what buyers paid, the share applied and the release day.
- Your own client, if you want one. A device of your own code can speak one WebSocket to the relay, in any language: the WebSocket connection, a
preview.
How does enrolment at scale work?
Enrolment at scale puts a token in the device image instead of a device identity. Each device makes its own id and secret at first boot and exchanges the token for its enrolment, so no person touches each device. The token routes open when the operator opens them.
- Sign once, as the account. The account that mints tokens signs the partner agreement, and every device added with a token is added by that account.
- Mint a token with the access code as proof, with its number of uses and an optional label per batch or site.
- Bake the token, not the device. Put the token and the consent file in your image. Each device makes its own id and secret at first boot and exchanges the token for its enrolment.
- Run the agent on each device, or your own WebSocket client, and watch states in
GET /app/api/devices.
Many devices has every call, every refusal and the revoke and withdraw steps. The token routes answer enrol_tokens_off until the operator opens them. Until then the account adds each device with POST /app/api/devices, which an agent or a script can call as well.
Which devices are admitted?
Coronium admits devices on home and mobile networks and withholds the rest. The server measures each device's exit country, network and carrier itself, and nobody types those labels. A withheld device earns nothing, and device states gives each reason word.
| Case | Sold or withheld | Reason word |
|---|---|---|
| Home or mobile network | sold | - |
| Hosting or data-centre network | withheld | a network Coronium does not sell |
| Second device, same home address | withheld | same_exit |
| A network not classified yet | withheld | unclassified_asn |
| Exit failed or changed country | withheld | exit_unverified or exit_changed |
A modem or phone with its own line counts as its own address. A new account's devices are fallback supply: Coronium promotes an account to established on a clean history, and its devices are then reached first. The fleet operator needs the yes of each device's owner, and everyone who uses a connection must know that it is shared.
What can a fleet operator check?
A fleet operator can check the meter, the amounts and the consent records against the API. Every figure on the statement comes from one meter at the edge, and every route a fleet uses is listed in one document.
- One meter: the edge counts whole bytes, and no device or relay reports its own usage.
- Amounts in whole micro-USD, never rounded.
- A signed consent record with a receipt for the account, and an acceptance row for each device.
- The API document lists every route a fleet uses, and every integration in one file holds the guides in order for a person or an AI agent.
What is on request?
Coronium takes requests for what a new account cannot do yet. A fleet operator writes to Coronium at the contact the partner agreement names and says what is needed; the demand is recorded.
What can a fleet operator undo?
A fleet operator can revoke a token at any time, with or without withdrawing its devices. Replacing the access code revokes every token. A device withdraws itself with its own secret, or the account withdraws it, and update, stop, remove and withdraw has each call.
Fleet questions
Can I run many devices on one account?
An account runs devices up to the device limit in its terms, terms.deviceLimit of GET /app/api/earnings. More devices than that are on request.
How do I enrol devices without typing secrets into each one?
Enrolment by token does it, once the operator opens it. Each device makes its own id and secret at first boot, sends only the secret's hash, and the token says which account the device belongs to.
Can I put the same agent.env in every image?
No. Copies of one agent.env are one device, and each copy replaces the last at the relay. Bake the token and the consent file into the image instead.
How do I reconcile what each device earned?
The statement in GET /app/api/earnings has one line for each day, device and country. Filter GET /app/api/devices by token or app to match devices to your batches.
Can my own firmware connect instead of the agent?
Firmware of your own can connect as a preview: it speaks one WebSocket to the relay, under the same admission and states as the agent. No device outside Coronium has run on the WebSocket link yet.
Do data-centre modems or servers count?
No. A device on a data-centre network is withheld and earns nothing, because Coronium sells only home and mobile networks.
What sharing means for each device owner is on the bandwidth sharing page. For an app rather than a fleet, read the bandwidth sharing SDK. How earnings move is on earnings and payouts. To start, create an account.