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

Go to the source code of this file.

Functions

int test (char wait)
 
int test_main (int argc, char *argv[])
 

Detailed Description

Open Movement API Example: Self-test all connected devices.

Author
Dan Jackson
Date
2011-2012

A command-line tool to self-test all connected devices; controls the LED to indicate any failures. This example uses OmGetDeviceIds() to get a list of attached devices. Only devices attached at start-up will be cleared, then the utility will exit.

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

Definition in file test.c.

Function Documentation

◆ test()

int test ( char  wait)

Definition at line 170 of file test.c.

◆ test_main()

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

Definition at line 234 of file test.c.