Skip to content

Commit

Permalink
asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-cloudspace committed Jun 29, 2011
1 parent 1531b41 commit 9fdbeec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ socket.on('connection', function(client) {

client.on('message', function(message){
console.log(message);
lightswitch_socket.send('FF', 0, 2, 9802, '97.102.15.225', function(a,b,c) { console.log(a,b,c);});
var buffer = new Buffer("FF");
lightswitch_socket.send(buffer, 0, 2, 9802, '97.102.15.225', function(a,b,c) { console.log(a,b,c);});
});
});

Expand Down

0 comments on commit 9fdbeec

Please sign in to comment.