Struct Sms
#[repr(C)]pub struct Sms {
pub storage: StorageType,
pub format: Format,
pub sms_type: Type,
pub src_addr: [c_char; 252],
pub sms_data_len: c_int,
pub sms_data_buf: [c_char; 1440],
pub timestamp: [c_char; 21],
pub user_data_head_valid: u8,
pub user_data_head: UserDataHead,
pub mode: ModeType,
pub storage_index: u32,
pub smscb_head: [c_char; 6],
}ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Fieldsยง
ยงstorage: StorageTypeql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Specifies where this msg is stored.
format: Formatql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
sms_type: Typeql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
src_addr: [c_char; 252]ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Telephone number string.
sms_data_len: c_intql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
sms_data_buf: [c_char; 1440]ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
SMS content, data format depends on format.
timestamp: [c_char; 21]ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Message time stamp (in text mode). string format: โyy/MM/dd,hh:mm:ss+/-TimeZoneโ.
user_data_head_valid: u8ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Indicate whether long sms. TRUE-long sms; FALSE-short message.
user_data_head: UserDataHeadql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Long sms user data head info.
mode: ModeTypeql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Specifies where this msg is stored cdma or gw area.
storage_index: u32ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Storage index, -1 means not store.
smscb_head: [c_char; 6]ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
SMS CB head.