diff options
| author | Ulf Lilleengen <[email protected]> | 2024-09-06 11:22:07 +0200 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2024-09-06 11:22:07 +0200 |
| commit | 1b1db2401bfdfe6f813fb7738529749e4ec80882 (patch) | |
| tree | b391abf8ed6319689c0089504f436c6155054151 /examples/nrf9160 | |
| parent | e2e3143c2ea9a606eff2fa1d4e51a74824b5c2ac (diff) | |
Use byte slice for config
Diffstat (limited to 'examples/nrf9160')
| -rw-r--r-- | examples/nrf9160/src/bin/modem_tcp_client.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/nrf9160/src/bin/modem_tcp_client.rs b/examples/nrf9160/src/bin/modem_tcp_client.rs index 7d78eba0a..5335b6b51 100644 --- a/examples/nrf9160/src/bin/modem_tcp_client.rs +++ b/examples/nrf9160/src/bin/modem_tcp_client.rs | |||
| @@ -166,9 +166,9 @@ async fn main(spawner: Spawner) { | |||
| 166 | unwrap!(spawner.spawn(control_task( | 166 | unwrap!(spawner.spawn(control_task( |
| 167 | control, | 167 | control, |
| 168 | context::Config { | 168 | context::Config { |
| 169 | apn: "iot.nat.es", | 169 | apn: b"iot.nat.es", |
| 170 | auth_prot: context::AuthProt::Pap, | 170 | auth_prot: context::AuthProt::Pap, |
| 171 | auth: Some(("orange", "orange")), | 171 | auth: Some((b"orange", b"orange")), |
| 172 | }, | 172 | }, |
| 173 | stack | 173 | stack |
| 174 | ))); | 174 | ))); |
