Struct ublox_cellular::command::psn::SetAuthParameters [−][src]
pub struct SetAuthParameters<'a> {
pub cid: ContextId,
pub auth_type: AuthenticationType,
pub username: &'a str,
pub password: &'a str,
}
Expand description
18.39 Configure the authentication parameters of a PDP/EPS bearer +UAUTHREQ
Configures the authentication parameters of a defined PDP/EPS bearer. The authentication parameters will be sent during the context activation phase as a protocol configuration options (PCO) information element.
NOTES:
- LARA-R2 / TOBY-R2 / SARA-U2 / LISA-U2 / SARA-G3 - When <auth_type>=3
is set, AT+CGACT=1,
may trigger at most 3 PDP context activation requests for to the protocol stack. The first request for is done with no authentication. If the PDP context activation fails, a second attempt is triggered with PAP authentication. If the second PDP context activation fails, a third attempt is triggered with CHAP authentication. These 3 PDP context activation requests are not to be confused with the effective number of request PDP context activations sent to the network (see the 3GPP TS 24.008 [12]). - TOBY-L4 / TOBY-L2 / MPCI-L2 / LARA-R2 / TOBY-R2 / SARA-U2 / LISA-U2 /
SARA-G4 / SARA-G3 - The command returns an error result code if the
input
is already active or not yet defined.
Fields
cid: ContextId
auth_type: AuthenticationType
username: &'a str
password: &'a str
Trait Implementations
type Response = NoResponse
type Response = NoResponse
The type of the response. Must implement the AtatResp
trait.
type Error = GenericError
type Error = GenericError
The type of the error.
Return the command as a heapless Vec
of bytes.
Parse the response into a Self::Response
or Error<Self::Error>
instance.
The max timeout in milliseconds.
Force the ingress manager into receive state immediately after sending the command. Read more
Force client to look for a response. Empty slice is then passed to parse by client. Implemented to enhance expandability fo ATAT Read more