pub struct ConfigureBandsEurope {}
Expand description
AT+QCFG=“band” Band Configuration
The command is used to configure the modem to narrow down the searchs to the main bands used in Europe:
- GSM: 900MHz and 1800MHz
- CAT-M: Bands 3, 8, 20
- NB-IoT: Bands 3, 8, 20
Trait Implementations§
source§impl AtatCmd for ConfigureBandsEurope
impl AtatCmd for ConfigureBandsEurope
§type Response = NoResponse
type Response = NoResponse
The type of the response. Must implement the
AtatResp
trait.source§const MAX_TIMEOUT_MS: u32 = 300u32
const MAX_TIMEOUT_MS: u32 = 300u32
The max timeout in milliseconds.
source§fn write(&self, buf: &mut [u8]) -> usize
fn write(&self, buf: &mut [u8]) -> usize
Write the command and return the number of written bytes.
source§fn parse(
&self,
res: Result<&[u8], InternalError<'_>>,
) -> Result<Self::Response, Error>
fn parse( &self, res: Result<&[u8], InternalError<'_>>, ) -> Result<Self::Response, Error>
Parse the response into a
Self::Response
or Error
instance.source§const ATTEMPTS: u8 = 1u8
const ATTEMPTS: u8 = 1u8
The max number of times to attempt a command with automatic retries if
using
send_retry
.source§const REATTEMPT_ON_PARSE_ERR: bool = true
const REATTEMPT_ON_PARSE_ERR: bool = true
Whether or not to reattempt a command on a parse error
using
send_retry
.source§const EXPECTS_RESPONSE_CODE: bool = true
const EXPECTS_RESPONSE_CODE: bool = true
Force client to look for a response.
Empty slice is then passed to parse by client.
Implemented to enhance expandability of ATAT
source§impl Clone for ConfigureBandsEurope
impl Clone for ConfigureBandsEurope
source§fn clone(&self) -> ConfigureBandsEurope
fn clone(&self) -> ConfigureBandsEurope
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ConfigureBandsEurope
impl RefUnwindSafe for ConfigureBandsEurope
impl Send for ConfigureBandsEurope
impl Sync for ConfigureBandsEurope
impl Unpin for ConfigureBandsEurope
impl UnwindSafe for ConfigureBandsEurope
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)