File: mig.1

package info (click to toggle)
tinyos-tools 1.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,140 kB
  • ctags: 1,626
  • sloc: cpp: 10,398; sh: 1,229; python: 1,200; ansic: 562; makefile: 305; xml: 24
file content (29 lines) | stat: -rw-r--r-- 779 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.TH mig 1 "April 27, 2004"
.SH NAME

mig - message interface generator for TinyOS
.SH SYNOPSIS

\fBmig\fR [any ncc option] [tool-specific options]
    [\fB-o\fR \fIoutput-file\fR]
    \fItool\fR \fImsg-format-file\fR \fImessage-type\fR
.SH DESCRIPTION

\fBmig\fR is a tool to generate code to process TinyOS messages (which
are specified by C types). 

\fBmig \fIoptions\fR is equivalent to \fBnescc-mig -nescc=ncc
\fIoptions\fR. For details on \fBmig\fR's output and options, please read
see the \fBnescc-mig\fR man page.

.SH EXAMPLE

    APPDIR=`ncc -print-tosdir`/../apps/Ident
    mig java -I $APPDIR -target=mica2 \\
      -java-classname=net.tinyos.ident.IdentMsg \\
      $APPDIR/App.nc IdentMsg -o IdentMsg.java
.SH SEE ALSO

.IR ncc (1),
.IR nescc-mig (1),
.IR ncg (1)