HCBASE-93

Error code overview:

IPConnection.ERROR_ALREADY_CONNECTED = 11
IPConnection.ERROR_NOT_CONNECTED = 12
IPConnection.ERROR_CONNECT_FAILED = 13
IPConnection.ERROR_INVALID_FUNCTION_ID = 21
IPConnection.ERROR_TIMEOUT = 31
IPConnection.ERROR_INVALID_PARAMETER = 41
IPConnection.ERROR_FUNCTION_NOT_SUPPORTED = 42
IPConnection.ERROR_UNKNOWN_ERROR = 43

http://www.tinkerforge.com/de/doc/Software/Bricklets/MotionDetector_Bricklet_JavaScript.html
https://www.npmjs.com/package/nodejs-websocket
https://devcenter.heroku.com/articles/node-websockets
This commit is contained in:
2016-06-08 18:08:00 +02:00
parent badf407e27
commit 971495b393
17 changed files with 1435 additions and 10 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ Helper.each(Conf.items, function(item) {
);
process.on( 'SIGINT', function() {
console.log( "\nGracefully disconnect " + HOST );
Log.log( "Gracefully disconnect " + HOST );
ipcon.disconnect();
process.exit( );
});