Student project by David Berlin and Boris Dogadov made for the Embedded Systems Workshop course given in Tel-Aviv University on 2010 by Sivan Toledo. Visit the project website for more details: http://davidberlin.co.il/sadna/ .
Dependencies: EthernetNetIf NTPClient_NetServices mbed HTTPServer HTTPClient CyaSSL
Diff: Dropbox/Dropbox.h
- Revision:
- 1:b05231650f32
- Parent:
- 0:3e7d6f496a67
--- a/Dropbox/Dropbox.h Sun Apr 17 21:30:10 2011 +0000 +++ b/Dropbox/Dropbox.h Mon Apr 25 12:31:46 2011 +0000 @@ -1,8 +1,14 @@ #include "mbed.h" #include <string> +// Get user token and secret based on username and password bool dropbox_getToken(char* username, char* password); +// Syncrhonize controller time to real-world time for dropbox authorization process bool dropbox_syncTime(); -bool dropbox_upload(string srcFile, string dstFile); \ No newline at end of file +// Upload local srcFile to dropbox with dstFile name +bool dropbox_upload(string srcFile, string dstFile); + +// Sends successful-sync confirmation email +bool send_email(char* email); \ No newline at end of file