mirror of
https://gitlab.com/mobian1/eg25-manager.git
synced 2025-08-30 15:52:11 +02:00
at: make next_at_command, send_at_command, process_at_result, and append_at_command public methods
Allows other modules to send AT commands as well
This commit is contained in:
22
src/at.h
22
src/at.h
@@ -8,10 +8,20 @@
|
||||
|
||||
#include "manager.h"
|
||||
|
||||
int at_init(struct EG25Manager *data, toml_table_t *config);
|
||||
void at_destroy(struct EG25Manager *data);
|
||||
int at_init(struct EG25Manager *manager, toml_table_t *config);
|
||||
void at_destroy(struct EG25Manager *manager);
|
||||
|
||||
void at_sequence_configure(struct EG25Manager *data);
|
||||
void at_sequence_suspend(struct EG25Manager *data);
|
||||
void at_sequence_resume(struct EG25Manager *data);
|
||||
void at_sequence_reset(struct EG25Manager *data);
|
||||
void at_process_result(struct EG25Manager *manager,
|
||||
const char *response);
|
||||
void at_next_command(struct EG25Manager *manager);
|
||||
gboolean at_send_command(struct EG25Manager *manager);
|
||||
int at_append_command(struct EG25Manager *manager,
|
||||
const char *cmd,
|
||||
const char *subcmd,
|
||||
const char *value,
|
||||
const char *expected);
|
||||
|
||||
void at_sequence_configure(struct EG25Manager *manager);
|
||||
void at_sequence_suspend(struct EG25Manager *manager);
|
||||
void at_sequence_resume(struct EG25Manager *manager);
|
||||
void at_sequence_reset(struct EG25Manager *manager);
|
||||
|
Reference in New Issue
Block a user