mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
* Add vitepress tree * Update existing workflows so they dont trigger on changes in the docs path * Add nojekyll, package.json, LICENCE etc * Add crowdin docs upload/download scripts * Add docs flaw checker workflows * Used docs prefix for docs workflows * Crowdin obvious fixes * ci: docs move to self hosted runner runs on a beefy server for faster builds Signed-off-by: Ramon Roche <mrpollo@gmail.com> * ci: don't run build action for docs or ci changes Signed-off-by: Ramon Roche <mrpollo@gmail.com> * ci: update runners Signed-off-by: Ramon Roche <mrpollo@gmail.com> * Add docs/en * Add docs assets and scripts * Fix up editlinks to point to PX4 sources * Download just the translations that are supported * Add translation sources for zh, uk, ko * Update latest tranlsation and uorb graphs * update vitepress to latest --------- Signed-off-by: Ramon Roche <mrpollo@gmail.com> Co-authored-by: Ramon Roche <mrpollo@gmail.com>
36 lines
2.4 KiB
Markdown
36 lines
2.4 KiB
Markdown
# CellularStatus (UORB message)
|
|
|
|
[source file](https://github.com/PX4/PX4-Autopilot/blob/main/msg/CellularStatus.msg)
|
|
|
|
```c
|
|
uint64 timestamp # time since system start (microseconds)
|
|
|
|
uint8 CELLULAR_STATUS_FLAG_UNKNOWN=0 # State unknown or not reportable
|
|
uint8 CELLULAR_STATUS_FLAG_FAILED=1 # velocity setpoint
|
|
uint8 CELLULAR_STATUS_FLAG_INITIALIZING=2 # Modem is being initialized
|
|
uint8 CELLULAR_STATUS_FLAG_LOCKED=3 # Modem is locked
|
|
uint8 CELLULAR_STATUS_FLAG_DISABLED=4 # Modem is not enabled and is powered down
|
|
uint8 CELLULAR_STATUS_FLAG_DISABLING=5 # Modem is currently transitioning to the CELLULAR_STATUS_FLAG_DISABLED state
|
|
uint8 CELLULAR_STATUS_FLAG_ENABLING=6 # Modem is currently transitioning to the CELLULAR_STATUS_FLAG_ENABLED state
|
|
uint8 CELLULAR_STATUS_FLAG_ENABLED=7 # Modem is enabled and powered on but not registered with a network provider and not available for data connections
|
|
uint8 CELLULAR_STATUS_FLAG_SEARCHING=8 # Modem is searching for a network provider to register
|
|
uint8 CELLULAR_STATUS_FLAG_REGISTERED=9 # Modem is registered with a network provider, and data connections and messaging may be available for use
|
|
uint8 CELLULAR_STATUS_FLAG_DISCONNECTING=10 # Modem is disconnecting and deactivating the last active packet data bearer. This state will not be entered if more than one packet data bearer is active and one of the active bearers is deactivated
|
|
uint8 CELLULAR_STATUS_FLAG_CONNECTING=11 # Modem is activating and connecting the first packet data bearer. Subsequent bearer activations when another bearer is already active do not cause this state to be entered
|
|
uint8 CELLULAR_STATUS_FLAG_CONNECTED=12 # One or more packet data bearers is active and connected
|
|
|
|
uint8 CELLULAR_NETWORK_FAILED_REASON_NONE=0 # No error
|
|
uint8 CELLULAR_NETWORK_FAILED_REASON_UNKNOWN=1 # Error state is unknown
|
|
uint8 CELLULAR_NETWORK_FAILED_REASON_SIM_MISSING=2 # SIM is required for the modem but missing
|
|
uint8 CELLULAR_NETWORK_FAILED_REASON_SIM_ERROR=3 # SIM is available, but not usable for connection
|
|
|
|
uint16 status # Status bitmap 1: Roaming is active
|
|
uint8 failure_reason #Failure reason when status in in CELLUAR_STATUS_FAILED
|
|
uint8 type # Cellular network radio type 0: none 1: gsm 2: cdma 3: wcdma 4: lte
|
|
uint8 quality # Cellular network RSSI/RSRP in dBm, absolute value
|
|
uint16 mcc # Mobile country code. If unknown, set to: UINT16_MAX
|
|
uint16 mnc # Mobile network code. If unknown, set to: UINT16_MAX
|
|
uint16 lac # Location area code. If unknown, set to: 0
|
|
|
|
```
|