-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
not sure if anyone is maintaining this anymore, but I'm having a problem getting message from Spacebrew with this library.
The Javascript version works fine in the Browser, but when I use this code in my node code, the onStringMessage function doesn't fire:
sb = new Spacebrew.Client( server, name, description );
sb.addSubscribe("Select_A1","string","any string to trigger A1");
sb.onStringMessage = function onString( name, value ){
console.log("string message received " + name); // this line never fires
}
sb.connect();
sending messages through spacebrew works with this code, but not receiving it.
I know the spacebrew version in this is a bit older than 1.4; I've even tried updating the code in the node_modules directory, to no avail.
FYI, my spacebrew server is running on a Raspberry Pi on an internal network, and the node code above is running on a rPi also on the internal network.
Is there another library I should be looking at for doing spacebrew with Node?
Metadata
Metadata
Assignees
Labels
No labels