iot2.git
7 years agoFixing 2 issues in LifxLightBulb driver: 1) Detached thread handling (need to pass...
rtrimana [Wed, 11 Jan 2017 23:13:22 +0000 (15:13 -0800)]
Fixing 2 issues in LifxLightBulb driver: 1) Detached thread handling (need to pass in this pointer for proper class method calls); 2) Extending socket library to have set timeout capability to create non-blocking UDP socket

7 years agoAdding debug messages on slave to print info for designing C++ slave part
rtrimana [Wed, 11 Jan 2017 16:41:12 +0000 (08:41 -0800)]
Adding debug messages on slave to print info for designing C++ slave part

7 years agoCreating new directory for all Java benchmarks
rtrimana [Tue, 10 Jan 2017 23:12:51 +0000 (15:12 -0800)]
Creating new directory for all Java benchmarks

7 years agoMinor fixes in LifxLightBulb driver (not fully tested yet)
rtrimana [Tue, 10 Jan 2017 22:57:31 +0000 (14:57 -0800)]
Minor fixes in LifxLightBulb driver (not fully tested yet)

7 years agoMoving Java drivers; Creating iotruntime socket connections for C++; First version...
rtrimana [Tue, 10 Jan 2017 22:50:09 +0000 (14:50 -0800)]
Moving Java drivers; Creating iotruntime socket connections for C++; First version of LifxLightBulb driver in C++

7 years agoReplacing default BUFFSIZE value with new buffer size value when a resize needs to...
rtrimana [Sat, 7 Jan 2017 02:54:40 +0000 (18:54 -0800)]
Replacing default BUFFSIZE value with new buffer size value when a resize needs to happen

7 years agoBacking up database
rtrimana [Sat, 7 Jan 2017 01:10:25 +0000 (17:10 -0800)]
Backing up database

7 years agoAdding a (potential) initialization for Alarm; Modifying IoTSocket to allocate a...
rtrimana [Sat, 7 Jan 2017 00:35:38 +0000 (16:35 -0800)]
Adding a (potential) initialization for Alarm; Modifying IoTSocket to allocate a larger byte buffer array when needed

7 years agoPerfecting 4th benchmark; adding needed MySQL config files; maturing Zigbee drivers
rtrimana [Sat, 7 Jan 2017 00:09:52 +0000 (16:09 -0800)]
Perfecting 4th benchmark; adding needed MySQL config files; maturing Zigbee drivers

7 years agoFixing MySQL query parsing bug for IoTRelation; adjusting MySQL queries for new inter...
rtrimana [Fri, 6 Jan 2017 17:02:26 +0000 (09:02 -0800)]
Fixing MySQL query parsing bug for IoTRelation; adjusting MySQL queries for new interfaces; backing up database

7 years agoAdjusting files in ZigbeeTest; preparing things for 4th benchmark, i.e. generating...
rtrimana [Fri, 6 Jan 2017 01:08:30 +0000 (17:08 -0800)]
Adjusting files in ZigbeeTest; preparing things for 4th benchmark, i.e. generating stubs and skeletons, fixing code, checking in mysql config files, etc.

7 years agoAdding xbee_driver Python files
rtrimana [Thu, 5 Jan 2017 22:14:55 +0000 (14:14 -0800)]
Adding xbee_driver Python files

7 years agoAdjustments to ZigbeeTest and Python files to use just 1 port for shooting Zigbee...
rtrimana [Thu, 5 Jan 2017 22:07:39 +0000 (14:07 -0800)]
Adjustments to ZigbeeTest and Python files to use just 1 port for shooting Zigbee protocol rules

7 years agoTesting Smartthings sensors with some adjustments for 4th benchmark
rtrimana [Thu, 5 Jan 2017 21:12:00 +0000 (13:12 -0800)]
Testing Smartthings sensors with some adjustments for 4th benchmark

7 years agoAdding missing stub and skeleton files for 3rd benchmark; Increasing incoming buffer...
rtrimana [Thu, 5 Jan 2017 17:43:33 +0000 (09:43 -0800)]
Adding missing stub and skeleton files for 3rd benchmark; Increasing incoming buffer size for IoTSocket to 8MB as needed by IHome speaker; completing 2nd and 3rd benchmark porting

7 years agoAdding missing files, completing driver config files with stub interface, completing...
rtrimana [Thu, 5 Jan 2017 16:48:07 +0000 (08:48 -0800)]
Adding missing files, completing driver config files with stub interface, completing build flow with .jks file for https

7 years agoUpdating database
rtrimana [Thu, 5 Jan 2017 01:42:02 +0000 (17:42 -0800)]
Updating database

7 years agoPreparing 3rd benchmark for porting with capability-based RMI
rtrimana [Thu, 5 Jan 2017 01:31:23 +0000 (17:31 -0800)]
Preparing 3rd benchmark for porting with capability-based RMI

7 years agoPreparing files, stubs, and skeletons for 2nd benchmark
rtrimana [Wed, 4 Jan 2017 23:50:47 +0000 (15:50 -0800)]
Preparing files, stubs, and skeletons for 2nd benchmark

7 years agoApplying changes for 3rd benchmark (wildcard addresses) in IoTMaster
rtrimana [Wed, 4 Jan 2017 19:32:40 +0000 (11:32 -0800)]
Applying changes for 3rd benchmark (wildcard addresses) in IoTMaster

7 years agoAdding new policies for stub/skeleton generation - second benchmark
rtrimana [Fri, 23 Dec 2016 00:59:19 +0000 (16:59 -0800)]
Adding new policies for stub/skeleton generation - second benchmark

7 years agoUpdating database with relations; Adding new SQL query config files
rtrimana [Thu, 22 Dec 2016 22:07:20 +0000 (14:07 -0800)]
Updating database with relations; Adding new SQL query config files

7 years agoUpdating database for the 4th benchmark
rtrimana [Thu, 22 Dec 2016 21:39:41 +0000 (13:39 -0800)]
Updating database for the 4th benchmark

7 years agoRemoving unwanted stub and skeleton files
rtrimana [Thu, 22 Dec 2016 19:52:31 +0000 (11:52 -0800)]
Removing unwanted stub and skeleton files

7 years agoPreparing second and third benchmarks; backing up MySQL database
rtrimana [Wed, 21 Dec 2016 21:57:43 +0000 (13:57 -0800)]
Preparing second and third benchmarks; backing up MySQL database

7 years agoFirst benchmark working with capability-based RMI; adjustments in callbacks, etc.
rtrimana [Wed, 21 Dec 2016 21:16:32 +0000 (13:16 -0800)]
First benchmark working with capability-based RMI; adjustments in callbacks, etc.

7 years agoAdjustments in stubs and skeletons for callback in callback; using different ports...
rtrimana [Tue, 20 Dec 2016 17:57:54 +0000 (09:57 -0800)]
Adjustments in stubs and skeletons for callback in callback; using different ports for each for now; still having problems with cross references in C++

7 years agoPorting and compiling SmartLightsController
rtrimana [Fri, 16 Dec 2016 01:22:26 +0000 (17:22 -0800)]
Porting and compiling SmartLightsController

7 years agoIntegrating capability-based RMI on Sentinel for Java side
rtrimana [Wed, 14 Dec 2016 17:57:24 +0000 (09:57 -0800)]
Integrating capability-based RMI on Sentinel for Java side

7 years agoPreparing Makefiles, stub, skeleton, config files, etc. for porting LifxLightBulb...
rtrimana [Mon, 12 Dec 2016 19:46:59 +0000 (11:46 -0800)]
Preparing Makefiles, stub, skeleton, config files, etc. for porting LifxLightBulb and Lifxtest

7 years agoAdding LifxLightBulb files and placeholders for benchmarks; preparing for porting
rtrimana [Mon, 12 Dec 2016 16:43:33 +0000 (08:43 -0800)]
Adding LifxLightBulb files and placeholders for benchmarks; preparing for porting

7 years agoAdding last version of iotruntime and iotinstaller; preparing to extend IoTMaster...
rtrimana [Sat, 10 Dec 2016 00:43:29 +0000 (16:43 -0800)]
Adding last version of iotruntime and iotinstaller; preparing to extend IoTMaster for new RMI

7 years agoCleaning up
rtrimana [Sat, 10 Dec 2016 00:35:46 +0000 (16:35 -0800)]
Cleaning up

7 years agoAdding example for a CPP that calls class skeleton
rtrimana [Sat, 10 Dec 2016 00:04:36 +0000 (16:04 -0800)]
Adding example for a CPP that calls class skeleton

7 years agoAdding example for a CPP that calls class skeleton
rtrimana [Sat, 10 Dec 2016 00:03:52 +0000 (16:03 -0800)]
Adding example for a CPP that calls class skeleton

7 years agoTested on RPi, both RPi1 and RPi2; works fine and fast
rtrimana [Fri, 9 Dec 2016 23:05:45 +0000 (15:05 -0800)]
Tested on RPi, both RPi1 and RPi2; works fine and fast

7 years ago1) Making Java socket read/write length in 4 bytes as well; 2) Fixing endianness...
rtrimana [Fri, 9 Dec 2016 18:38:12 +0000 (10:38 -0800)]
1) Making Java socket read/write length in 4 bytes as well; 2) Fixing endianness issue when transferring message length between Java and C++

7 years agoFixing a bug in C++ socket server-client: message length was represented just in...
rtrimana [Fri, 9 Dec 2016 17:40:46 +0000 (09:40 -0800)]
Fixing a bug in C++ socket server-client: message length was represented just in 1 byte - this is not enough for sending longer messages (just enough to represent up to ~126 bytes/8-bit representation) - now it's changed to 4 bytes (integer size)

7 years agoTesting enum and callback combination
rtrimana [Thu, 8 Dec 2016 19:51:07 +0000 (11:51 -0800)]
Testing enum and callback combination

7 years agoCombining enum, struct, and callback in one method; refactoring method body generatio...
rtrimana [Thu, 8 Dec 2016 19:17:55 +0000 (11:17 -0800)]
Combining enum, struct, and callback in one method; refactoring method body generations for callback and non-callback methods; fixing small bugs

7 years agoIntegrating enum and struct in one method call; fixing minor bugs
rtrimana [Thu, 8 Dec 2016 17:06:24 +0000 (09:06 -0800)]
Integrating enum and struct in one method call; fixing minor bugs

7 years agoTesting complex callbacks invocation; fixing subtle bugs
rtrimana [Wed, 7 Dec 2016 19:51:07 +0000 (11:51 -0800)]
Testing complex callbacks invocation; fixing subtle bugs

7 years agoTesting more complex struct and enum declarations; fixing subtle bugs
rtrimana [Wed, 7 Dec 2016 19:04:34 +0000 (11:04 -0800)]
Testing more complex struct and enum declarations; fixing subtle bugs

7 years agoFixing second bug (C++ skeleton cannot connect to Java's callback socket server)...
rtrimana [Wed, 7 Dec 2016 17:17:58 +0000 (09:17 -0800)]
Fixing second bug (C++ skeleton cannot connect to Java's callback socket server); Instead of reporting connection failure after the first connection, we make the C++ wait for connection to occur (Java thread/socket server creation is a little slower)

7 years agoFixing problem with array/list of callbacks; Java static variables persist across...
rtrimana [Mon, 5 Dec 2016 23:20:13 +0000 (15:20 -0800)]
Fixing problem with array/list of callbacks; Java static variables persist across multiple objects of the same type that are instantiated at the same instance - needed to make objectId non-static to mark different callback objects

7 years agoTesting callbacks for Java and C++; fixing a few bugs; more bugs to tackle: 1) Need...
rtrimana [Mon, 5 Dec 2016 22:53:39 +0000 (14:53 -0800)]
Testing callbacks for Java and C++; fixing a few bugs; more bugs to tackle: 1) Need to retest C++ skeleton and Java stub, 2) Array of callbacks contains wrong references in Java

7 years agoTesting struct for array and list (Java and C++); fixing bugs
rtrimana [Sat, 3 Dec 2016 00:29:38 +0000 (16:29 -0800)]
Testing struct for array and list (Java and C++); fixing bugs

7 years agoTesting struct (single object); fixing small bugs, etc.
rtrimana [Thu, 1 Dec 2016 21:40:47 +0000 (13:40 -0800)]
Testing struct (single object); fixing small bugs, etc.

7 years agoFixing bugs: 1) Arrays.asList generates finaled List (need to feed it into an ArrayLi...
rtrimana [Thu, 1 Dec 2016 18:42:21 +0000 (10:42 -0800)]
Fixing bugs: 1) Arrays.asList generates finaled List (need to feed it into an ArrayList constructor); 2) Generate setAllowed.insert() only when there is callback for C++

7 years agoTesting and fixing bugs on enum data types
rtrimana [Thu, 1 Dec 2016 05:06:13 +0000 (21:06 -0800)]
Testing and fixing bugs on enum data types

7 years agoAdding permission insertion for struct (will be tested later)
rtrimana [Tue, 29 Nov 2016 22:06:15 +0000 (14:06 -0800)]
Adding permission insertion for struct (will be tested later)

7 years agoMoving permission setting from stub to skeleton (mistakenly put stuff in stub and...
rtrimana [Tue, 29 Nov 2016 21:30:01 +0000 (13:30 -0800)]
Moving permission setting from stub to skeleton (mistakenly put stuff in stub and not skeleton)

7 years agoAdding permission inclusion for callback helper function; some testcases on enum...
rtrimana [Tue, 29 Nov 2016 20:59:57 +0000 (12:59 -0800)]
Adding permission inclusion for callback helper function; some testcases on enum type

7 years agoCleaning up callback code generation; Fixing a few minor issues, e.g. indentation...
rtrimana [Tue, 29 Nov 2016 18:40:16 +0000 (10:40 -0800)]
Cleaning up callback code generation; Fixing a few minor issues, e.g. indentation, etc.

7 years agoPreparing for callback testing (creating new policy files); Adding error messsages...
rtrimana [Tue, 29 Nov 2016 01:01:22 +0000 (17:01 -0800)]
Preparing for callback testing (creating new policy files); Adding error messsages that require callback policy files (with class definition) to be parsed first

7 years agoTesting for list/vector data types
rtrimana [Mon, 28 Nov 2016 23:27:30 +0000 (15:27 -0800)]
Testing for list/vector data types

7 years agoFixing bugs on char translation; testing for arrays
rtrimana [Mon, 28 Nov 2016 22:50:32 +0000 (14:50 -0800)]
Fixing bugs on char translation; testing for arrays

7 years agoReplacing throw error with exit statements for now to handle fatal errors when commun...
rtrimana [Sat, 26 Nov 2016 03:42:41 +0000 (19:42 -0800)]
Replacing throw error with exit statements for now to handle fatal errors when communication is taking place

7 years agoReverting type resolution in C++ to Java types, e.g. byte and char instead of just...
rtrimana [Sat, 26 Nov 2016 00:53:25 +0000 (16:53 -0800)]
Reverting type resolution in C++ to Java types, e.g. byte and char instead of just char

7 years agoAdding new policy, Java, and Cpp files for testing/debugging
rtrimana [Fri, 25 Nov 2016 22:06:36 +0000 (14:06 -0800)]
Adding new policy, Java, and Cpp files for testing/debugging

7 years agoFixing comments and cleaning up
rtrimana [Thu, 24 Nov 2016 00:50:03 +0000 (16:50 -0800)]
Fixing comments and cleaning up

7 years agoCode refactoring for skeleton generation in C++ and Java, and a bit of clean-up
rtrimana [Thu, 24 Nov 2016 00:02:16 +0000 (16:02 -0800)]
Code refactoring for skeleton generation in C++ and Java, and a bit of clean-up

7 years agoCompleting compiler with C++ struct support; need to clean up code!
rtrimana [Wed, 23 Nov 2016 23:21:44 +0000 (15:21 -0800)]
Completing compiler with C++ struct support; need to clean up code!

7 years agoFixing minor bugs in callback generation
rtrimana [Wed, 23 Nov 2016 17:51:49 +0000 (09:51 -0800)]
Fixing minor bugs in callback generation

7 years agoAdding struct support for Java in compiler
rtrimana [Wed, 23 Nov 2016 17:27:55 +0000 (09:27 -0800)]
Adding struct support for Java in compiler

7 years agoAdding enum support in compiler
rtrimana [Tue, 22 Nov 2016 18:12:03 +0000 (10:12 -0800)]
Adding enum support in compiler

7 years agoMore refactoring for permission writing in Java constructor
rtrimana [Thu, 17 Nov 2016 23:02:33 +0000 (15:02 -0800)]
More refactoring for permission writing in Java constructor

7 years agoRefactoring policy writing
rtrimana [Thu, 17 Nov 2016 22:59:08 +0000 (14:59 -0800)]
Refactoring policy writing

7 years agoAdding policy dynamic checks on skeleton and stub that has callback objects
rtrimana [Thu, 17 Nov 2016 22:48:16 +0000 (14:48 -0800)]
Adding policy dynamic checks on skeleton and stub that has callback objects

7 years agoAdding callback support for C++; still missing dynamic policy checks for both
rtrimana [Thu, 17 Nov 2016 00:38:20 +0000 (16:38 -0800)]
Adding callback support for C++; still missing dynamic policy checks for both

7 years agoFixing minor bugs for callback-in-callback placeholders
rtrimana [Wed, 16 Nov 2016 17:17:09 +0000 (09:17 -0800)]
Fixing minor bugs for callback-in-callback placeholders

7 years agoAdding Java callback support in compiler
rtrimana [Wed, 16 Nov 2016 17:02:27 +0000 (09:02 -0800)]
Adding Java callback support in compiler

7 years agoAdding feature for enum and struct generations
rtrimana [Sat, 12 Nov 2016 01:03:58 +0000 (17:03 -0800)]
Adding feature for enum and struct generations

7 years agoMoving struct and enum declaration into interface declaration
rtrimana [Fri, 11 Nov 2016 22:07:50 +0000 (14:07 -0800)]
Moving struct and enum declaration into interface declaration

7 years agoAdding skeleton generation for Java and C++; excluding specific features for now...
rtrimana [Fri, 11 Nov 2016 18:10:07 +0000 (10:10 -0800)]
Adding skeleton generation for Java and C++; excluding specific features for now, e.g. callbacks, enum, struct, etc.

7 years agoAdding permission check and error throw in C++
rtrimana [Thu, 10 Nov 2016 17:15:10 +0000 (09:15 -0800)]
Adding permission check and error throw in C++

7 years agoAdding permission checks for Java; fixing type translations for return and parameter...
rtrimana [Thu, 10 Nov 2016 01:02:54 +0000 (17:02 -0800)]
Adding permission checks for Java; fixing type translations for return and parameter types for C++ in IoTCompiler

7 years agoCompleting parser to parse generic/template return types; adding standard method...
rtrimana [Wed, 9 Nov 2016 21:36:41 +0000 (13:36 -0800)]
Completing parser to parse generic/template return types; adding standard method bodies in stubs

7 years agoRefactoring method signature generations for interfaces and classes
rtrimana [Tue, 8 Nov 2016 21:32:11 +0000 (13:32 -0800)]
Refactoring method signature generations for interfaces and classes

7 years agoInitial cleaning up in compiler, fixing bugs
rtrimana [Tue, 8 Nov 2016 19:55:04 +0000 (11:55 -0800)]
Initial cleaning up in compiler, fixing bugs

7 years agoAdding package (path) and import statement for ParseNode
rtrimana [Tue, 8 Nov 2016 00:57:30 +0000 (16:57 -0800)]
Adding package (path) and import statement for ParseNode

7 years agoExtending parser for struct/enum (policy) definition files; Removing parser support...
rtrimana [Tue, 8 Nov 2016 00:54:14 +0000 (16:54 -0800)]
Extending parser for struct/enum (policy) definition files; Removing parser support for generics/template with 2 data types

7 years agoAdding support to returning struct/list of struct objects
rtrimana [Mon, 7 Nov 2016 23:23:56 +0000 (15:23 -0800)]
Adding support to returning struct/list of struct objects

7 years agoTesting for callbacks thread safety in C++
rtrimana [Mon, 7 Nov 2016 18:14:29 +0000 (10:14 -0800)]
Testing for callbacks thread safety in C++

7 years agoSending int[] instead of a bunch of int for enum type transport; cleaning up method...
rtrimana [Mon, 7 Nov 2016 17:54:06 +0000 (09:54 -0800)]
Sending int[] instead of a bunch of int for enum type transport; cleaning up method signatures on C++ side

7 years agoAdding return value support for enumeration (both Java and C++
rtrimana [Sun, 6 Nov 2016 16:24:35 +0000 (08:24 -0800)]
Adding return value support for enumeration (both Java and C++

7 years agoAdding enum support for method argument; need to emulate the same functionality for...
rtrimana [Sat, 5 Nov 2016 22:56:32 +0000 (15:56 -0700)]
Adding enum support for method argument; need to emulate the same functionality for return value as well (together with struct)

7 years agoDoing the same set of transformations for C++
rtrimana [Sat, 5 Nov 2016 21:11:09 +0000 (14:11 -0700)]
Doing the same set of transformations for C++

7 years agoCleaning methodSignatures
rtrimana [Sat, 5 Nov 2016 20:38:11 +0000 (13:38 -0700)]
Cleaning methodSignatures

7 years agoUsing methodId directly without method signature; placing sendReturnObj in individual...
rtrimana [Sat, 5 Nov 2016 20:35:42 +0000 (13:35 -0700)]
Using methodId directly without method signature; placing sendReturnObj in individual methods (more modular)

7 years agoFixing bug for return value from callback in C++ (sendReturnObj is called twice)...
rtrimana [Sat, 5 Nov 2016 19:13:34 +0000 (12:13 -0700)]
Fixing bug for return value from callback in C++ (sendReturnObj is called twice); making skeleton more modular

7 years agoAdding callback for C++ (still has bug for return values); adding struct as method...
rtrimana [Sat, 5 Nov 2016 00:05:52 +0000 (17:05 -0700)]
Adding callback for C++ (still has bug for return values); adding struct as method argument; still missing struct as return value; clean up needed later

7 years agoAdding object ID and tons of minor adjustments for callback support
rtrimana [Thu, 3 Nov 2016 18:28:18 +0000 (11:28 -0700)]
Adding object ID and tons of minor adjustments for callback support

7 years agoSeparating socket creation from callback method, so that this method can be called...
rtrimana [Wed, 2 Nov 2016 18:36:26 +0000 (11:36 -0700)]
Separating socket creation from callback method, so that this method can be called multiple times

7 years agoAdding lock/synchronization to make sure that RMI calls are thread safe
rtrimana [Tue, 1 Nov 2016 21:55:14 +0000 (14:55 -0700)]
Adding lock/synchronization to make sure that RMI calls are thread safe

7 years agoInitial version that handles multiple callback objects through 1 socket
rtrimana [Tue, 1 Nov 2016 19:24:35 +0000 (12:24 -0700)]
Initial version that handles multiple callback objects through 1 socket

7 years agoAdding #include<vector> declaration when array is translated as vector in C++
rtrimana [Sat, 29 Oct 2016 00:07:51 +0000 (17:07 -0700)]
Adding #include<vector> declaration when array is translated as vector in C++

7 years agoUsing sorted integer as method Id instead of hash values
rtrimana [Fri, 28 Oct 2016 23:48:15 +0000 (16:48 -0700)]
Using sorted integer as method Id instead of hash values

7 years agoRemoving IoTRMITypes.java from the outer directory
rtrimana [Fri, 28 Oct 2016 18:14:02 +0000 (11:14 -0700)]
Removing IoTRMITypes.java from the outer directory

7 years agoTranslating array into vector in C++; supporting only List/ArrayList/list for Collect...
rtrimana [Fri, 28 Oct 2016 18:12:58 +0000 (11:12 -0700)]
Translating array into vector in C++; supporting only List/ArrayList/list for Collections/STL