[package]
name = "m17app"
version = "0.1.0"
-edition = "2021"
+edition = "2024"
keywords = ["amateur", "radio", "m17", "ham"]
license = "MIT"
authors = ["Thomas Karpiniec <tom.karpiniec@outlook.com"]
[package]
name = "m17codec2"
version = "0.1.0"
-edition = "2021"
+edition = "2024"
keywords = ["amateur", "radio", "m17", "ham"]
license = "MIT"
authors = ["Thomas Karpiniec <tom.karpiniec@outlook.com"]
[package]
name = "m17core"
version = "0.1.0"
-edition = "2021"
+edition = "2024"
keywords = ["amateur", "radio", "m17", "ham", "no_std"]
license = "MIT"
authors = ["Thomas Karpiniec <tom.karpiniec@outlook.com"]
}
Frame::Packet(packet) => {
match &mut self.state {
- State::RxPacket(ref mut rx) => {
+ State::RxPacket(rx) => {
match packet.counter {
PacketFrameCounter::Frame { index } => {
if index == rx.count && index < 32 {
}
Frame::Stream(stream) => {
match &mut self.state {
- State::RxStream(ref mut rx) => {
+ State::RxStream(rx) => {
// TODO: consider wraparound from 0x7fff
if stream.frame_number < rx.index {
let mut lich = LichCollection::new();
}
}
}
- State::RxAcquiringStream(ref mut rx) => {
+ State::RxAcquiringStream(rx) => {
rx.lich.set_segment(stream.lich_idx, stream.lich_part);
if let Some(maybe_lsf) = rx.lich.try_assemble() {
let lsf = LsfFrame(maybe_lsf);
[package]
name = "m17rt-demod"
version = "0.1.0"
-edition = "2021"
+edition = "2024"
license = "MIT"
authors = ["Thomas Karpiniec <tom.karpiniec@outlook.com"]
publish = false
m17app = { path = "../../m17app" }
m17codec2 = { path = "../../m17codec2" }
-cpal = "0.15.3"
env_logger = "0.11.6"
log = "0.4.22"