at: allow custom callbacks for AT command response processing

This commit is contained in:
Dylan Van Assche
2021-05-12 18:34:03 +02:00
parent dac50e34eb
commit 5da7c88fc4
3 changed files with 31 additions and 16 deletions

View File

@@ -47,6 +47,7 @@ struct EG25Manager {
int at_fd;
guint at_source;
GList *at_cmds;
void (*at_callback)(struct EG25Manager *manager, const char *response);
enum EG25State modem_state;
gchar *modem_usb_id;