Defines |
#define | ms_to_samples(t) (((t)*SAMPLE_RATE)/1000) |
#define | MANUFACTURER "www.soft-switch.org" |
#define | SERIAL_NUMBER "42" |
#define | GLOBAL_OBJECT_IDENTITY "42" |
#define | ETX 0x03 |
#define | DLE 0x10 |
#define | SUB 0x1A |
Typedefs |
typedef const char *(* | at_cmd_service_t )(at_state_t *s, const char *cmd) |
Enumerations |
enum | { ASCII_RESULT_CODES = 1,
NUMERIC_RESULT_CODES,
NO_RESULT_CODES
} |
Functions |
void | at_set_at_rx_mode (at_state_t *s, int new_mode) |
void | at_put_response (at_state_t *s, const char *t) |
void | at_put_numeric_response (at_state_t *s, int val) |
void | at_put_response_code (at_state_t *s, int code) |
void | at_call_event (at_state_t *s, int event) |
void | at_reset_call_info (at_state_t *s) |
void | at_set_call_info (at_state_t *s, char const *id, char const *value) |
void | at_display_call_info (at_state_t *s) |
int | at_modem_control (at_state_t *s, int op, const char *num) |
void | at_interpreter (at_state_t *s, const char *cmd, int len) |
void | at_set_class1_handler (at_state_t *s, at_class1_handler_t handler, void *user_data) |
at_state_t * | at_init (at_state_t *s, at_tx_handler_t *at_tx_handler, void *at_tx_user_data, at_modem_control_handler_t *modem_control_handler, void *modem_control_user_data) |
int | at_release (at_state_t *s) |
int | at_free (at_state_t *s) |