summaryrefslogtreecommitdiffstats
path: root/gatchat/gsm0710.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-09-08 08:51:46 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-09-08 08:51:46 +0200
commit8de68799a51851ee35e8653715d3d3e50fd21e3b (patch)
tree9bbbb47610a85f25a327c1d467bd63a99ebd9db3 /gatchat/gsm0710.h
parentabc7a934ee6f04368bb485a93ffb98ca601679f2 (diff)
downloadofono-8de68799a51851ee35e8653715d3d3e50fd21e3b.tar.bz2
Remove AT command and re-init support from GSM 07.10
Diffstat (limited to 'gatchat/gsm0710.h')
-rw-r--r--gatchat/gsm0710.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/gatchat/gsm0710.h b/gatchat/gsm0710.h
index e8255183..8d0d9fe1 100644
--- a/gatchat/gsm0710.h
+++ b/gatchat/gsm0710.h
@@ -53,13 +53,9 @@ struct gsm0710_context
unsigned char buffer[GSM0710_BUFFER_SIZE];
int buffer_used;
unsigned long used_channels[(GSM0710_MAX_CHANNELS + 31) / 32];
- const char *reinit_detect;
- int reinit_detect_len;
/* Hooks to other levels */
void *user_data;
- int fd;
- int (*at_command)(struct gsm0710_context *ctx, const char *cmd);
int (*read)(struct gsm0710_context *ctx, void *data, int len);
int (*write)(struct gsm0710_context *ctx, const void *data, int len);
void (*deliver_data)(struct gsm0710_context *ctx, int channel,
@@ -75,8 +71,7 @@ struct gsm0710_context
};
void gsm0710_initialize(struct gsm0710_context *ctx);
-void gsm0710_set_reinit_detect(struct gsm0710_context *ctx, const char *str);
-int gsm0710_startup(struct gsm0710_context *ctx, int send_cmux);
+int gsm0710_startup(struct gsm0710_context *ctx);
void gsm0710_shutdown(struct gsm0710_context *ctx);
int gsm0710_open_channel(struct gsm0710_context *ctx, int channel);
void gsm0710_close_channel(struct gsm0710_context *ctx, int channel);