From: klueska Date: Tue, 4 Sep 2007 23:39:58 +0000 (+0000) Subject: Removal of class and mig generated files X-Git-Tag: release_tinyos_2_1_0_0~763 X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=818c24d60436b9618b12d0accc609589d30de1ac;p=tinyos-2.x.git Removal of class and mig generated files --- diff --git a/apps/tutorials/LowPowerSensing/java/Constants.class b/apps/tutorials/LowPowerSensing/java/Constants.class deleted file mode 100644 index d67b9533..00000000 Binary files a/apps/tutorials/LowPowerSensing/java/Constants.class and /dev/null differ diff --git a/apps/tutorials/LowPowerSensing/java/Constants.java b/apps/tutorials/LowPowerSensing/java/Constants.java deleted file mode 100644 index 5798537f..00000000 --- a/apps/tutorials/LowPowerSensing/java/Constants.java +++ /dev/null @@ -1,12 +0,0 @@ -/** - * This class is automatically generated by ncg. DO NOT EDIT THIS FILE. - * This class includes values of some nesC constants from - * ../LowPowerSensingConstants.h. - */ - -public class Constants { - public static final byte MSG_QUEUE_SIZE = 50; - public static final short SAMPLING_INTERVAL = 3000; - public static final byte BASE_STATION_ADDR = 0; - public static final short LPL_INTERVAL = 2000; -} diff --git a/apps/tutorials/LowPowerSensing/java/LowPowerSensingApp.class b/apps/tutorials/LowPowerSensing/java/LowPowerSensingApp.class deleted file mode 100644 index 9c1b6c0d..00000000 Binary files a/apps/tutorials/LowPowerSensing/java/LowPowerSensingApp.class and /dev/null differ diff --git a/apps/tutorials/LowPowerSensing/java/LowPowerSensingApp.jar b/apps/tutorials/LowPowerSensing/java/LowPowerSensingApp.jar deleted file mode 100644 index fce3ff00..00000000 Binary files a/apps/tutorials/LowPowerSensing/java/LowPowerSensingApp.jar and /dev/null differ diff --git a/apps/tutorials/LowPowerSensing/java/SerialRequestSamplesMsg.class b/apps/tutorials/LowPowerSensing/java/SerialRequestSamplesMsg.class deleted file mode 100644 index 02d38e95..00000000 Binary files a/apps/tutorials/LowPowerSensing/java/SerialRequestSamplesMsg.class and /dev/null differ diff --git a/apps/tutorials/LowPowerSensing/java/SerialRequestSamplesMsg.java b/apps/tutorials/LowPowerSensing/java/SerialRequestSamplesMsg.java deleted file mode 100644 index 486d2e71..00000000 --- a/apps/tutorials/LowPowerSensing/java/SerialRequestSamplesMsg.java +++ /dev/null @@ -1,224 +0,0 @@ -/** - * This class is automatically generated by mig. DO NOT EDIT THIS FILE. - * This class implements a Java interface to the 'SerialRequestSamplesMsg' - * message type. - */ - -public class SerialRequestSamplesMsg extends net.tinyos.message.Message { - - /** The default size of this message type in bytes. */ - public static final int DEFAULT_MESSAGE_SIZE = 6; - - /** The Active Message type associated with this message. */ - public static final int AM_TYPE = 146; - - /** Create a new SerialRequestSamplesMsg of size 6. */ - public SerialRequestSamplesMsg() { - super(DEFAULT_MESSAGE_SIZE); - amTypeSet(AM_TYPE); - } - - /** Create a new SerialRequestSamplesMsg of the given data_length. */ - public SerialRequestSamplesMsg(int data_length) { - super(data_length); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialRequestSamplesMsg with the given data_length - * and base offset. - */ - public SerialRequestSamplesMsg(int data_length, int base_offset) { - super(data_length, base_offset); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialRequestSamplesMsg using the given byte array - * as backing store. - */ - public SerialRequestSamplesMsg(byte[] data) { - super(data); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialRequestSamplesMsg using the given byte array - * as backing store, with the given base offset. - */ - public SerialRequestSamplesMsg(byte[] data, int base_offset) { - super(data, base_offset); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialRequestSamplesMsg using the given byte array - * as backing store, with the given base offset and data length. - */ - public SerialRequestSamplesMsg(byte[] data, int base_offset, int data_length) { - super(data, base_offset, data_length); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialRequestSamplesMsg embedded in the given message - * at the given base offset. - */ - public SerialRequestSamplesMsg(net.tinyos.message.Message msg, int base_offset) { - super(msg, base_offset, DEFAULT_MESSAGE_SIZE); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialRequestSamplesMsg embedded in the given message - * at the given base offset and length. - */ - public SerialRequestSamplesMsg(net.tinyos.message.Message msg, int base_offset, int data_length) { - super(msg, base_offset, data_length); - amTypeSet(AM_TYPE); - } - - /** - /* Return a String representation of this message. Includes the - * message type name and the non-indexed field values. - */ - public String toString() { - String s = "Message \n"; - try { - s += " [addr=0x"+Long.toHexString(get_addr())+"]\n"; - } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } - try { - s += " [sample_num=0x"+Long.toHexString(get_sample_num())+"]\n"; - } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } - return s; - } - - // Message-type-specific access methods appear below. - - ///////////////////////////////////////////////////////// - // Accessor methods for field: addr - // Field type: int, unsigned - // Offset (bits): 0 - // Size (bits): 16 - ///////////////////////////////////////////////////////// - - /** - * Return whether the field 'addr' is signed (false). - */ - public static boolean isSigned_addr() { - return false; - } - - /** - * Return whether the field 'addr' is an array (false). - */ - public static boolean isArray_addr() { - return false; - } - - /** - * Return the offset (in bytes) of the field 'addr' - */ - public static int offset_addr() { - return (0 / 8); - } - - /** - * Return the offset (in bits) of the field 'addr' - */ - public static int offsetBits_addr() { - return 0; - } - - /** - * Return the value (as a int) of the field 'addr' - */ - public int get_addr() { - return (int)getUIntBEElement(offsetBits_addr(), 16); - } - - /** - * Set the value of the field 'addr' - */ - public void set_addr(int value) { - setUIntBEElement(offsetBits_addr(), 16, value); - } - - /** - * Return the size, in bytes, of the field 'addr' - */ - public static int size_addr() { - return (16 / 8); - } - - /** - * Return the size, in bits, of the field 'addr' - */ - public static int sizeBits_addr() { - return 16; - } - - ///////////////////////////////////////////////////////// - // Accessor methods for field: sample_num - // Field type: long, unsigned - // Offset (bits): 16 - // Size (bits): 32 - ///////////////////////////////////////////////////////// - - /** - * Return whether the field 'sample_num' is signed (false). - */ - public static boolean isSigned_sample_num() { - return false; - } - - /** - * Return whether the field 'sample_num' is an array (false). - */ - public static boolean isArray_sample_num() { - return false; - } - - /** - * Return the offset (in bytes) of the field 'sample_num' - */ - public static int offset_sample_num() { - return (16 / 8); - } - - /** - * Return the offset (in bits) of the field 'sample_num' - */ - public static int offsetBits_sample_num() { - return 16; - } - - /** - * Return the value (as a long) of the field 'sample_num' - */ - public long get_sample_num() { - return (long)getUIntBEElement(offsetBits_sample_num(), 32); - } - - /** - * Set the value of the field 'sample_num' - */ - public void set_sample_num(long value) { - setUIntBEElement(offsetBits_sample_num(), 32, value); - } - - /** - * Return the size, in bytes, of the field 'sample_num' - */ - public static int size_sample_num() { - return (32 / 8); - } - - /** - * Return the size, in bits, of the field 'sample_num' - */ - public static int sizeBits_sample_num() { - return 32; - } - -} diff --git a/apps/tutorials/LowPowerSensing/java/SerialSampleMsg.class b/apps/tutorials/LowPowerSensing/java/SerialSampleMsg.class deleted file mode 100644 index da8340de..00000000 Binary files a/apps/tutorials/LowPowerSensing/java/SerialSampleMsg.class and /dev/null differ diff --git a/apps/tutorials/LowPowerSensing/java/SerialSampleMsg.java b/apps/tutorials/LowPowerSensing/java/SerialSampleMsg.java deleted file mode 100644 index c290b3df..00000000 --- a/apps/tutorials/LowPowerSensing/java/SerialSampleMsg.java +++ /dev/null @@ -1,290 +0,0 @@ -/** - * This class is automatically generated by mig. DO NOT EDIT THIS FILE. - * This class implements a Java interface to the 'SerialSampleMsg' - * message type. - */ - -public class SerialSampleMsg extends net.tinyos.message.Message { - - /** The default size of this message type in bytes. */ - public static final int DEFAULT_MESSAGE_SIZE = 8; - - /** The Active Message type associated with this message. */ - public static final int AM_TYPE = 153; - - /** Create a new SerialSampleMsg of size 8. */ - public SerialSampleMsg() { - super(DEFAULT_MESSAGE_SIZE); - amTypeSet(AM_TYPE); - } - - /** Create a new SerialSampleMsg of the given data_length. */ - public SerialSampleMsg(int data_length) { - super(data_length); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialSampleMsg with the given data_length - * and base offset. - */ - public SerialSampleMsg(int data_length, int base_offset) { - super(data_length, base_offset); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialSampleMsg using the given byte array - * as backing store. - */ - public SerialSampleMsg(byte[] data) { - super(data); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialSampleMsg using the given byte array - * as backing store, with the given base offset. - */ - public SerialSampleMsg(byte[] data, int base_offset) { - super(data, base_offset); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialSampleMsg using the given byte array - * as backing store, with the given base offset and data length. - */ - public SerialSampleMsg(byte[] data, int base_offset, int data_length) { - super(data, base_offset, data_length); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialSampleMsg embedded in the given message - * at the given base offset. - */ - public SerialSampleMsg(net.tinyos.message.Message msg, int base_offset) { - super(msg, base_offset, DEFAULT_MESSAGE_SIZE); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialSampleMsg embedded in the given message - * at the given base offset and length. - */ - public SerialSampleMsg(net.tinyos.message.Message msg, int base_offset, int data_length) { - super(msg, base_offset, data_length); - amTypeSet(AM_TYPE); - } - - /** - /* Return a String representation of this message. Includes the - * message type name and the non-indexed field values. - */ - public String toString() { - String s = "Message \n"; - try { - s += " [src_addr=0x"+Long.toHexString(get_src_addr())+"]\n"; - } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } - try { - s += " [sample.sample_num=0x"+Long.toHexString(get_sample_sample_num())+"]\n"; - } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } - try { - s += " [sample.sin_value=0x"+Long.toHexString(get_sample_sin_value())+"]\n"; - } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } - return s; - } - - // Message-type-specific access methods appear below. - - ///////////////////////////////////////////////////////// - // Accessor methods for field: src_addr - // Field type: int - // Offset (bits): 0 - // Size (bits): 16 - ///////////////////////////////////////////////////////// - - /** - * Return whether the field 'src_addr' is signed (false). - */ - public static boolean isSigned_src_addr() { - return false; - } - - /** - * Return whether the field 'src_addr' is an array (false). - */ - public static boolean isArray_src_addr() { - return false; - } - - /** - * Return the offset (in bytes) of the field 'src_addr' - */ - public static int offset_src_addr() { - return (0 / 8); - } - - /** - * Return the offset (in bits) of the field 'src_addr' - */ - public static int offsetBits_src_addr() { - return 0; - } - - /** - * Return the value (as a int) of the field 'src_addr' - */ - public int get_src_addr() { - return (int)getUIntBEElement(offsetBits_src_addr(), 16); - } - - /** - * Set the value of the field 'src_addr' - */ - public void set_src_addr(int value) { - setUIntBEElement(offsetBits_src_addr(), 16, value); - } - - /** - * Return the size, in bytes, of the field 'src_addr' - */ - public static int size_src_addr() { - return (16 / 8); - } - - /** - * Return the size, in bits, of the field 'src_addr' - */ - public static int sizeBits_src_addr() { - return 16; - } - - ///////////////////////////////////////////////////////// - // Accessor methods for field: sample.sample_num - // Field type: long - // Offset (bits): 16 - // Size (bits): 32 - ///////////////////////////////////////////////////////// - - /** - * Return whether the field 'sample.sample_num' is signed (false). - */ - public static boolean isSigned_sample_sample_num() { - return false; - } - - /** - * Return whether the field 'sample.sample_num' is an array (false). - */ - public static boolean isArray_sample_sample_num() { - return false; - } - - /** - * Return the offset (in bytes) of the field 'sample.sample_num' - */ - public static int offset_sample_sample_num() { - return (16 / 8); - } - - /** - * Return the offset (in bits) of the field 'sample.sample_num' - */ - public static int offsetBits_sample_sample_num() { - return 16; - } - - /** - * Return the value (as a long) of the field 'sample.sample_num' - */ - public long get_sample_sample_num() { - return (long)getUIntBEElement(offsetBits_sample_sample_num(), 32); - } - - /** - * Set the value of the field 'sample.sample_num' - */ - public void set_sample_sample_num(long value) { - setUIntBEElement(offsetBits_sample_sample_num(), 32, value); - } - - /** - * Return the size, in bytes, of the field 'sample.sample_num' - */ - public static int size_sample_sample_num() { - return (32 / 8); - } - - /** - * Return the size, in bits, of the field 'sample.sample_num' - */ - public static int sizeBits_sample_sample_num() { - return 32; - } - - ///////////////////////////////////////////////////////// - // Accessor methods for field: sample.sin_value - // Field type: int - // Offset (bits): 48 - // Size (bits): 16 - ///////////////////////////////////////////////////////// - - /** - * Return whether the field 'sample.sin_value' is signed (false). - */ - public static boolean isSigned_sample_sin_value() { - return false; - } - - /** - * Return whether the field 'sample.sin_value' is an array (false). - */ - public static boolean isArray_sample_sin_value() { - return false; - } - - /** - * Return the offset (in bytes) of the field 'sample.sin_value' - */ - public static int offset_sample_sin_value() { - return (48 / 8); - } - - /** - * Return the offset (in bits) of the field 'sample.sin_value' - */ - public static int offsetBits_sample_sin_value() { - return 48; - } - - /** - * Return the value (as a int) of the field 'sample.sin_value' - */ - public int get_sample_sin_value() { - return (int)getUIntBEElement(offsetBits_sample_sin_value(), 16); - } - - /** - * Set the value of the field 'sample.sin_value' - */ - public void set_sample_sin_value(int value) { - setUIntBEElement(offsetBits_sample_sin_value(), 16, value); - } - - /** - * Return the size, in bytes, of the field 'sample.sin_value' - */ - public static int size_sample_sin_value() { - return (16 / 8); - } - - /** - * Return the size, in bits, of the field 'sample.sin_value' - */ - public static int sizeBits_sample_sin_value() { - return 16; - } - -}