[−][src]Struct nsl_duplex_d2::DuplexD2
Structure for interacting with Duplex-D2 Radio API
Methods
impl DuplexD2
[src]
impl DuplexD2
pub fn new(conn: Connection) -> DuplexD2
[src]
pub fn new(conn: Connection) -> DuplexD2
Constructor for DuplexD2 structure
pub fn get_state_of_health_for_modem(&self) -> RadioResult<StateOfHealth>
[src]
pub fn get_state_of_health_for_modem(&self) -> RadioResult<StateOfHealth>
Retrieves a record of information regarding modem functioning.
pub fn get_uploaded_file_count(&self) -> RadioResult<u32>
[src]
pub fn get_uploaded_file_count(&self) -> RadioResult<u32>
Retrieves a count of files that have been received by the modem and await retrieval by the FP.
pub fn get_uploaded_message_count(&self) -> RadioResult<u32>
[src]
pub fn get_uploaded_message_count(&self) -> RadioResult<u32>
Retrieves a count of messages that have been received by the modem and await retrieval by the FP.
pub fn get_download_file_count(&self) -> RadioResult<u32>
[src]
pub fn get_download_file_count(&self) -> RadioResult<u32>
Retrieves a count of messages that have been received by the modem and await retrieval by the FP.
pub fn get_geolocation_position_estimate(&self) -> RadioResult<GeoRecord>
[src]
pub fn get_geolocation_position_estimate(&self) -> RadioResult<GeoRecord>
Retrieves an estimate of the modem’s latitude and longitude coordinates at the time of the last connection.
pub fn get_uploaded_file(&self) -> RadioResult<File>
[src]
pub fn get_uploaded_file(&self) -> RadioResult<File>
Retrieves the next file in the upload queue. File is then ACKed and deleted from queue.
pub fn get_uploaded_message(&self) -> RadioResult<File>
[src]
pub fn get_uploaded_message(&self) -> RadioResult<File>
Retrieves the next message in the upload queue. Message is then ACKed and deleted.
pub fn delete_download_files(&self) -> RadioResult<u32>
[src]
pub fn delete_download_files(&self) -> RadioResult<u32>
Deletes all files in the modem download queue. Returns number of files deleted.
pub fn delete_uploaded_files(&self) -> RadioResult<u32>
[src]
pub fn delete_uploaded_files(&self) -> RadioResult<u32>
Deletes all files in the modem upload queue. Returns number of files deleted.
pub fn delete_uploaded_messages(&self) -> RadioResult<u32>
[src]
pub fn delete_uploaded_messages(&self) -> RadioResult<u32>
Deletes all messages in the modem upload queue. Returns number of messages deleted.
pub fn put_download_file(&self, file: &File) -> RadioResult<bool>
[src]
pub fn put_download_file(&self, file: &File) -> RadioResult<bool>
Put a new file on the download queue, returns true if accepted by EyeStar-D2.
pub fn get_alive(&self) -> RadioResult<bool>
[src]
pub fn get_alive(&self) -> RadioResult<bool>
Check if modem is powered and if it is able to respond to commands.
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T