huawei-modem

Crates.iohuawei-modem
lib.rshuawei-modem
version0.2.2
sourcesrc
created_at2019-05-03 20:12:44.757105
updated_at2023-04-23 16:55:36.927343
descriptionA set of utilities for interfacing with USB 3G/HSDPA/UMTS modems (particularly Huawei models) that use the Hayes/AT command set.
homepagehttps://git.eta.st/eta/huawei-modem
repositoryhttps://git.eta.st/eta/huawei-modem
max_upload_size
id131815
size146,668
s2n (github:awslabs:s2n)

documentation

https://docs.rs/huawei-modem

README

huawei-modem

CC0 licensed Crates.io badge Docs GitHub stars

The huawei-modem library provides a set of utilities for interfacing with USB 3G/HSDPA/UMTS modems (particularly Huawei models, like the E220 and E3531) that use the Hayes/AT command set.

At present, the library's main consumer is sms-irc. In particular, it may be helpful to look at modem.rs inside that project to get a feel for how to use this library, as well as looking inside the examples/ subdirectory to see some simple SMS sending/receiving examples.

Status

The library can presently send and decode GSM 7-bit and UCS-2 SMS messages, using the SMS PDU format. Some edge cases aren't well implemented or need more testing, but the library is broadly usable for most common SMS sending & receiving needs!

It could do with a bit more ergonomics, however. Currently, if you're confused as to how to use it, have a look at sms-irc's usage above, look at the examples, or file an issue if you're still stuck!

Contributing

This project is passively maintained (i.e. not actively developed, but I generally consider it complete for my use-case and only develop when needed). PRs and issues on GitHub are more than welcome!

If you're more old-school, feel free to also email me a patch the old-fashioned way.

Licensing

Licensed under CC0.

Commit count: 0

cargo fmt