zephyr/subsys/lorawan
Jordan Yates ddc595b662 lorawan: move public network request
Move the public network request command from the end of `lorawan_start`
to the start of `lorawan_join`. This MAC command interacts with the
radio driver, bringing it out of sleep mode, and doesn't put it back.

The public network setting is only needed when joining a network, and
`lorawan_start` can be called well before `lorawan_join`. By moving the
command we save ~600uA before joining (for sx1262).

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2021-02-10 08:55:15 -05:00
..
CMakeLists.txt lorawan: Cleanup error handling code 2020-10-08 12:15:38 +02:00
Kconfig
lorawan.c lorawan: move public network request 2021-02-10 08:55:15 -05:00
lw_priv.c lorawan: Cleanup error handling code 2020-10-08 12:15:38 +02:00
lw_priv.h lorawan: Cleanup error handling code 2020-10-08 12:15:38 +02:00