aboutsummaryrefslogtreecommitdiff
path: root/embassy-net-nrf91/src
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-net-nrf91/src')
-rw-r--r--embassy-net-nrf91/src/context.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/embassy-net-nrf91/src/context.rs b/embassy-net-nrf91/src/context.rs
index 3671fdd68..b936e5f87 100644
--- a/embassy-net-nrf91/src/context.rs
+++ b/embassy-net-nrf91/src/context.rs
@@ -86,6 +86,11 @@ impl<'a> Control<'a> {
86 Self { control, cid } 86 Self { control, cid }
87 } 87 }
88 88
89 /// Perform a raw AT command
90 pub async fn at_command(&self, req: &[u8], resp: &mut [u8]) -> usize {
91 self.control.at_command(req, resp).await
92 }
93
89 /// Configures the modem with the provided config. 94 /// Configures the modem with the provided config.
90 pub async fn configure(&self, config: &Config<'_>) -> Result<(), Error> { 95 pub async fn configure(&self, config: &Config<'_>) -> Result<(), Error> {
91 let mut cmd: [u8; 256] = [0; 256]; 96 let mut cmd: [u8; 256] = [0; 256];