zephyr/include/drivers/gsm_ppp.h
Benjamin Lindqvist 54cb2bcd41 drivers: modem: gsm_ppp: Enable start/stop
These changes enable applications to restart the networking stack which
was previously not possible without rebooting the device. This was a
major show-stopper because it made power management impossible, and
furthermore made it impossible to recover from a bad modem state without
rebooting.

This has been verified to work on a SIMCOM7600E modem, both with and
without CONFIG_GSM_MUX enabled.

Signed-off-by: Benjamin Lindqvist <benjamin.lindqvist@endian.se>
2020-10-19 18:29:02 +02:00

18 lines
317 B
C

/*
* Copyright (c) 2020 Endian Technologies AB
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef GSM_PPP_H_
#define GSM_PPP_H_
/** @cond INTERNAL_HIDDEN */
struct device;
void gsm_ppp_start(const struct device *device);
void gsm_ppp_stop(const struct device *device);
/** @endcond */
#endif /* GSM_PPP_H_ */