diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-07-19 00:56:25 +0200 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-07-19 01:28:33 +0200 |
commit | 63058d5bdb8a50fe650a7b91f6c6e29bdaf583b9 (patch) | |
tree | 8f6421038b0ff586cc0e99981ed35109c55cc736 /sahara.h | |
parent | 9af74e1e2707bee3dcbf1008682566d330418d8a (diff) | |
download | i9305_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.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |