CellularConfig class
Configure cellular modems. This message is re-emitted as an acknowledgement by the modem. The message may also be explicitly requested using MAV_CMD_REQUEST_MESSAGE.
CELLULAR_CONFIG
- Implemented types
Constructors
-
CellularConfig({required uint8_t enableLte, required uint8_t enablePin, required List<
char> pin, required List<char> newPin, required List<char> apn, required List<char> puk, required uint8_t roaming, required CellularConfigResponse response}) - CellularConfig.parse(ByteData data_)
-
factory
Properties
-
apn
→ List<
char> -
Name of the cellular APN. Blank to leave it unchanged. Current APN when sent back as a response.
final
- enableLte → uint8_t
-
Enable/disable LTE. 0: setting unchanged, 1: disabled, 2: enabled. Current setting when sent back as a response.
final
- enablePin → uint8_t
-
Enable/disable PIN on the SIM card. 0: setting unchanged, 1: disabled, 2: enabled. Current setting when sent back as a response.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mavlinkCrcExtra → int
-
no setteroverride
- mavlinkMessageId → int
-
no setteroverride
-
newPin
→ List<
char> -
New PIN when changing the PIN. Blank to leave it unchanged. Empty when message is sent back as a response.
final
-
pin
→ List<
char> -
PIN sent to the SIM card. Blank when PIN is disabled. Empty when message is sent back as a response.
final
-
puk
→ List<
char> -
Required PUK code in case the user failed to authenticate 3 times with the PIN. Empty when message is sent back as a response.
final
- response → CellularConfigResponse
-
Message acceptance response (sent back to GS).
final
- roaming → uint8_t
-
Enable/disable roaming. 0: setting unchanged, 1: disabled, 2: enabled. Current setting when sent back as a response.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → ByteData -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- mavlinkEncodedLength → const int