OMAPI  1.8
Open Movement Public API
downloadmem.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "omapi.h"

Go to the source code of this file.

Data Structures

struct  downloadStatus_t
 

Functions

int downloadmem (void)
 
int downloadmem_main (int argc, char *argv[])
 

Detailed Description

Open Movement API Example: Download data into RAM from all devices.

Author
Dan Jackson
Date
2012

A command-line tool to download into RAM from all devices. This example uses the OmDeviceCallback to monitor for any connected devices and begins downloading in the background. This example uses the OmDownloadCallback and OmDownloadChunkCallback to monitor download progress.

Remarks
Makes use of API initialization and device discovery, download, Return codes

Definition in file downloadmem.c.

Function Documentation

◆ downloadmem()

int downloadmem ( void  )

Definition at line 232 of file downloadmem.c.

◆ downloadmem_main()

int downloadmem_main ( int  argc,
char *  argv[] 
)

Definition at line 267 of file downloadmem.c.