summaryrefslogtreecommitdiffstats
path: root/sahara.c
Commit message (Collapse)AuthorAgeFilesLines
* use static counter for hello requestsWolfgang Wiedmeyer2017-07-211-2/+3
| | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* sahara: check if hello data was received and don't print alt file nameWolfgang Wiedmeyer2017-07-201-4/+8
| | | | | | | The other memory table entry, that should provide a file name, was always empty during testing. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* various fixes and improvements, mostly for EFS syncWolfgang Wiedmeyer2017-07-191-23/+75
| | | | | | | | | | | | | | | | 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>
* refactoring and first shot at EFS syncWolfgang Wiedmeyer2017-07-181-0/+397
Receiving the actual EFS data doesn't work yet. And sometimes, the modem ends up in states where it crashes after exchanging hellos. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>