复制页面
f50d API
f50.at
The last 40 AT commands of this boot, PINs and passwords cut off
POST
Sends one guarded AT command on the control channel; scans and long commands run as a job
POST
f50.boot
The slot Linux runs from, the default boot, the failed boots allowed before Android, whether Linux is locked, the boot control block, and the last result of every boot stage
POST
f50.cpu
The CPU profile, the policies and the thermal zones
POST
Applies and saves a CPU profile
POST
f50.data
The mobile data connection and its settings
POST
Mobile data on or off
POST
The APN settings and data roaming of the SIM in use
POST
f50.job
Stops a running job that may be stopped
POST
Every job kept, oldest first
POST
A job's state, result or error, and the tail of its log
POST
f50.lan
The LAN: address, netmask, DHCP range, the USB host's address
POST
Changes the LAN address (a private /24's .1), netmask or DHCP range
POST
f50.led
The LED settings
POST
Changes one LED setting
POST
f50.live
Every live topic now (the events a subscription to f50.live sends, by topic)
POST
The live event stream
GET
f50.lock
The network mode, band, cell and EN-DC locks as last read, the replay switch and the last reset
POST
Every lock back to automatic, verified (a job)
POST
One lock change (mode, endc, lte, nr, cell; auto_apply at once), then one stack restart (a job)
POST
f50.meta
Every object and method, with access and field rules
f50.modem
Serving cells, neighbours, carrier aggregation and QoS from the latest reading, with its age
IMEI, IMSI, ICCID, model, firmware and the SIM's own number
Switches the radio of the card in use on or off, kept across reboots (a job when it changes now)
Restarts the modem's protocol stack (a job)
Registration, RAT, operator, signal and bars from the latest reading, with its age
f50.sim
A card's radio on or off (or all: the persistent airplane mode), kept across reboots
The card in use, the next boot's, the card's state and both cards' radio settings
Chooses the card for the next boot (a job)
f50.sms
Deletes a message or all; with sim, the matching ones in the modem's store too
Conversations newest first with unread counts, or one conversation's messages (peer)
One message whole; a received one is marked read
Sends a message (up to 10 parts) as a job
Moves what the modem's store holds into the pool, in the background
How many messages the pool holds, and how many are unread
f50.status
The dashboard: every part's read method in one call
f50.system
The hotspot's clients and the DHCP leases
The device's facts and live figures
The kernel's and the system log's last lines
Powers off in two seconds
Reboots in two seconds
Sets the hostname
Sets root's password
Sets the time zone
The home page's non-modem figures
f50.traffic
Data usage per day and billing cycle, and the cap
A data usage setting, or clear the count
f50.update
Installs the release the last check offered (a job; not cancellable)
Installs the uploaded bundle that upload_done showed (a job; not cancellable)
Asks for the newest release (a job)
The releases the last check found, and its age
Goes back to the kept system, or (what=boot) boot image (a job)
What is installed, what is kept for a rollback, free space, the lock, the running job, the notice
Makes room for an offline bundle of that size and hash; the path to upload it to
Deletes the upload
Takes the upload and looks at it (a job; its result is what the file is)
f50.usb
Adds a USB network adapter to the LAN bridge
USB network adapters in the host role, and whether they are in the LAN
Turns adb over USB on or off, or sets whom it lets in (open or keys)
Authorises a computer's adb public key (adbkey.pub)
The USB-C port: role, network mode, link speed, devices, adb
Sets the port's role and the USB network mode and name (once or for good)
f50.wifi
The hotspot: name, band, channel, country, security, clients (never the password)
Turns the hotspot on or off
Changes the hotspot's name, password, band, channel, width, hidden flag or country
f50.wificlient
Joins a network as the uplink and saves it (a job of kind wifi)
Leaves the network and brings the hotspot back (a job of kind wifi)
Lists the networks in range (a job when the radio must scan by itself)
The Wi-Fi uplink: mode, network, signal, address, firewall, saved network
数据模型
Failure
JobStarted
JobStarted
复制页面
{
"job"
:
"string"
}