Skip to content

Commit

Permalink
Give axes to transport mgr RX and TX buffers
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Aug 30, 2024
1 parent d03c5f3 commit 4c9c1f1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions rs-matter/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,14 @@ impl<'a> Matter<'a> {
self.epoch
}

pub fn transport_rx_buffer(&self) -> impl BufferAccess<[u8]> + '_ {
self.transport_mgr.rx_buffer()
}

pub fn transport_tx_buffer(&self) -> impl BufferAccess<[u8]> + '_ {
self.transport_mgr.tx_buffer()
}

/// A utility method to replace the initial mDNS implementation with another one.
///
/// Useful in particular with `MdnsService::Provided`, where the user would still like
Expand Down

0 comments on commit 4c9c1f1

Please sign in to comment.