motej.request
Class ReportModeRequest

java.lang.Object
  extended by motej.request.ReportModeRequest
All Implemented Interfaces:
MoteRequest

public class ReportModeRequest
extends Object
implements MoteRequest

Requests a specific DataReport mode.

Author:
Volker Fritzsch

Field Summary
static byte DATA_REPORT_0x20
          Status Information
static byte DATA_REPORT_0x21
          Answer report to read data command (0x17)
static byte DATA_REPORT_0x30
          Core Buttons
static byte DATA_REPORT_0x31
          Core Buttons and Accelerometer
static byte DATA_REPORT_0x32
          Core Buttons with 8 Extension bytes
static byte DATA_REPORT_0x33
          Core Buttons and Accelerometer with 12 IR bytes
static byte DATA_REPORT_0x34
          Core Buttons with 19 Extension bytes
static byte DATA_REPORT_0x35
          Core Buttons and Accelerometer with 16 Extension Bytes
static byte DATA_REPORT_0x36
          Core Buttons with 10 IR bytes and 9 Extension Bytes
static byte DATA_REPORT_0x37
          Core Buttons and Accelerometer with 10 IR bytes and 6 Extension Bytes
static byte DATA_REPORT_0x3d
          21 Extension Bytes
static byte DATA_REPORT_0x3e
          Interleaved Core Buttons and Accelerometer with 36 IR bytes
static byte DATA_REPORT_0x3f
          Interleaved Core Buttons and Accelerometer with 36 IR bytes
 
Constructor Summary
ReportModeRequest(byte mode)
           
ReportModeRequest(byte mode, boolean continuous)
           
 
Method Summary
 byte[] getBytes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATA_REPORT_0x20

public static final byte DATA_REPORT_0x20
Status Information

not requestable

See Also:
Constant Field Values

DATA_REPORT_0x21

public static final byte DATA_REPORT_0x21
Answer report to read data command (0x17)

not requestable

See Also:
Constant Field Values

DATA_REPORT_0x30

public static final byte DATA_REPORT_0x30
Core Buttons

See Also:
Constant Field Values

DATA_REPORT_0x31

public static final byte DATA_REPORT_0x31
Core Buttons and Accelerometer

See Also:
Constant Field Values

DATA_REPORT_0x32

public static final byte DATA_REPORT_0x32
Core Buttons with 8 Extension bytes

See Also:
Constant Field Values

DATA_REPORT_0x33

public static final byte DATA_REPORT_0x33
Core Buttons and Accelerometer with 12 IR bytes

See Also:
Constant Field Values

DATA_REPORT_0x34

public static final byte DATA_REPORT_0x34
Core Buttons with 19 Extension bytes

See Also:
Constant Field Values

DATA_REPORT_0x35

public static final byte DATA_REPORT_0x35
Core Buttons and Accelerometer with 16 Extension Bytes

See Also:
Constant Field Values

DATA_REPORT_0x36

public static final byte DATA_REPORT_0x36
Core Buttons with 10 IR bytes and 9 Extension Bytes

See Also:
Constant Field Values

DATA_REPORT_0x37

public static final byte DATA_REPORT_0x37
Core Buttons and Accelerometer with 10 IR bytes and 6 Extension Bytes

See Also:
Constant Field Values

DATA_REPORT_0x3d

public static final byte DATA_REPORT_0x3d
21 Extension Bytes

See Also:
Constant Field Values

DATA_REPORT_0x3e

public static final byte DATA_REPORT_0x3e
Interleaved Core Buttons and Accelerometer with 36 IR bytes

See Also:
motej.request, Constant Field Values

DATA_REPORT_0x3f

public static final byte DATA_REPORT_0x3f
Interleaved Core Buttons and Accelerometer with 36 IR bytes

See Also:
motej.request, Constant Field Values
Constructor Detail

ReportModeRequest

public ReportModeRequest(byte mode)

ReportModeRequest

public ReportModeRequest(byte mode,
                         boolean continuous)
Method Detail

getBytes

public byte[] getBytes()
Specified by:
getBytes in interface MoteRequest


Copyright © 2007-2009 Volker Fritzsch. All Rights Reserved.