summaryrefslogtreecommitdiffstats
path: root/sahara.h
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-07-19 00:56:25 +0200
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-07-19 01:28:33 +0200
commit63058d5bdb8a50fe650a7b91f6c6e29bdaf583b9 (patch)
tree8f6421038b0ff586cc0e99981ed35109c55cc736 /sahara.h
parent9af74e1e2707bee3dcbf1008682566d330418d8a (diff)
downloadi9305_modem-63058d5bdb8a50fe650a7b91f6c6e29bdaf583b9.zip
i9305_modem-63058d5bdb8a50fe650a7b91f6c6e29bdaf583b9.tar.gz
i9305_modem-63058d5bdb8a50fe650a7b91f6c6e29bdaf583b9.tar.bz2
various fixes and improvements, mostly for EFS sync
EFS data is sometimes successfully received and the modem stays online because the reset after the sync works (even if the EFS sync itself fails). EFS data is not yet written to the partition. This needs to be implemented. When EFS data is read, timeouts are now checked and the data is read in chunks which mirrors the behaviour of the kickstart tool. Strangely enough, occasionally after receiving the first package, that is below the maximum size, a timeout happens and the complete data is never received during all runs. Either the modem is not sending the complete data for whatever reason or there is still something wrong with the command chain. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'sahara.h')
-rw-r--r--sahara.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sahara.h b/sahara.h
index b4b0e7b..f7efc3d 100644
--- a/sahara.h
+++ b/sahara.h
@@ -98,9 +98,7 @@ struct sah_memory_table {
unsigned char file[20];
} __attribute__((__packed__));
-int hello_response(int tty_fd, int mode);
-int hello_handshake(int tty_fd, int mode);
int send_file(int tty_fd, struct sah_data_end_ack *data_end_ack);
-int handle_memory_debug(int tty_fd);
+int handle_memory_debug(int tty_fd, int *hellos);
#endif