Quentin ADAM
b086057ba0
add packet sending support
2020-05-19 01:33:28 +02:00
Quentin ADAM
1b380935a3
add RN2483 chip support
2020-05-19 01:29:32 +02:00
Leonora Tindall
1a7f8c4ab1
This is 0.2 🎉
2020-01-01 11:34:40 -08:00
Leonora Tindall
ccb9b89908
Add LoRa and FSK packet reception
...
Add a function to change the modulation mode and a function to receive
packets. Still needs a ton of work on various radio features and no
implementation of gfsk yet.
2020-01-01 11:32:35 -08:00
Leonora Tindall
34dd0902f2
Add NVM read/write functions
...
Including adding a wrapper type for NVM addresses to provide validation
that the wrong addresses aren't being sent to the device
2019-12-31 17:01:39 -08:00
Leonora Tindall
36bdf9dd16
Move examples to examples/
2019-12-31 14:51:30 -08:00
Leonora Tindall
acf059aa1a
Cargo fmt
2019-12-31 14:50:46 -08:00
Leonora Tindall
d42b0ec6b3
Add MAC pause/unpause
...
Also adds associated error variants `CannotPause` and `BadResponse`, an
associated helper function `Error::bad_response`, and the internal
helper function `transact_expecting` which shortens function bodies for
functions implementing simple handshake-like commands, like `mac
resume`.
2019-12-31 14:48:51 -08:00
Leonora Tindall
fa31aab5cf
Add module reset and fix factory reset return
...
Previously, it returned a String but was documented to return bytes; it
now returns bytes.
2019-12-31 14:47:14 -08:00
Leonora Tindall
12cce7213b
Add factory reset functionality
2019-12-29 12:59:16 -08:00
Leonora Tindall
6318251226
Add `::system_version_bytes()` for uniformity
...
Other functions will return bytes, so it's weird to only be able to get
the version as a string.
2019-12-29 12:56:44 -08:00
Leonora Tindall
dd2102d973
Formalize release process
2019-12-29 12:47:18 -08:00
Leonora Tindall
84fa9e5e01
Cut 0.1 release
2019-12-29 12:44:39 -08:00
Leonora Tindall
6943fffe26
Add repository info.
2019-12-29 12:13:59 -08:00
Leonora Tindall
610ee12ebc
Add documentation PDFs
2019-12-29 12:12:03 -08:00
Leonora Tindall
a160d5902d
Remove unused IoSlice import
2019-12-29 12:06:45 -08:00
Leonora Tindall
106a2612bd
Add "blinky" main program
2019-12-29 11:58:52 -08:00
Leonora Tindall
8e52f10ffc
Better docs and rename transact()
2019-12-29 11:58:05 -08:00
Leonora Tindall
f4bd7b67e4
Add GNU GPL v3 license, and package metadata
2019-12-29 11:56:33 -08:00
Leonora Tindall
41c5a352b8
Add meta files
...
README, CHANGELOG, and CONTRIBUTING
2019-12-29 11:47:36 -08:00
Leonora Tindall
f2938ffe72
Abstract reading/writing into ::transact_command()
...
Also move end-trimming logic into ::read_line() to allow trimming
zeroes correctly.
2019-12-28 10:48:12 -08:00
Leonora Tindall
33f7fbcf21
Factor out line reading into ::read_line()
...
This function handles the per-buffer waiting time.
2019-12-28 09:04:52 -08:00
Leonora Tindall
8891b8b6bf
Basic SerialPort wrapper
...
No real functionality, just a basic version info check to make sure that
the device being communicated with is actually the RN2903.
2019-12-28 08:29:09 -08:00