Comments (3)
Current file download is bulky but easy to implement Teensy side and Android/BT/PC side. Unfortunately, to block the transfer you should cut the power to the ADC.
Move to a standard protocol for file transfer would allow us to use standard serial terminal software, that can be comfortable and also allow automatic scripts to be executed over the serial connection.
Zmodem implementation seems to be available for Teensy
https://forum.pjrc.com/threads/26646-Zmodem-transfer-from-Teensy-to-PC
https://forum.arduino.cc/index.php?topic=382044.0
from airdatacomputer.
For now I implemented an easy way to abort the dump (commit 7319735).
Now it is possible to end the dump anytime, by sending another command from the same serial interface.
The dump will send the $EOF
sentence and will terminate.
The new command sent will be processed as usual.
It is possible to know if the file is fully downloaded, comparing the remote and the local size.
I took a look to your link and, basing on that code, I choose to add a periodic flush()
during the dump process.
The dump method now seems to be raw but fully functional.
To be deeply tested!
Let's take our time to think (and in case implement) the Zmodem interface!
from airdatacomputer.
Way to go!
from airdatacomputer.
Related Issues (20)
- Documentation
- Watchdog implementation
- Load GPS Data from GPSLogger app into Scilab HOT 1
- Uncertainty
- Load ADC + GPS Logger Data into GIS
- Assign the right timestamp to the files on SD
- Implement message number 19 and 20 HOT 2
- Add files timestamp in the File Manager $FMA messages HOT 2
- Return error in $FMQ,NEW if the file already exists HOT 1
- ADD new $CCS message to handle sensor hardware parameters configuration
- Missing reply message 20 to message no.19 HWD
- Spirometry Application
- Wind estimate
- Basic usage of configuration file HOT 1
- New Air Data System Layout 1 Work in progress HOT 1
- Run a systematic test: RhoAir function in AirDC Library
- Run a systematic test: ISAALTITUDE function in AirDC Library
- Help with 3D model rendering and publishing HOT 9
- Document with figures basic functions
- English language fix
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airdatacomputer.