Somebody can help me, i used as reference your Devantech_Relays Sw to start my sw design (Zigbee Gateway Module),its based on client to server (D-bus)
Could you advise me each CF Command API or Javascript procedure that i can use to fix it?
You can see the part of the code command (Function) below (Send to Server done and working):
sendToZBPServer_GetFWVersion: function() { // envio dos comandos para o Gateway
// Comando na interface do iviewer ZB.actions();
if(ZB.trace) CF.log("\nRL.actions: function started"); // incia o log
if (ZB.system == "Zigbee_Gateway") {
// GetFWVersion command
var ZB_OBJ ="<Object>ZBP_Node</Object>\x0D\x0A";
var ZB_FUN ="<methodName>Node_GetNumNodes</methodName>\x0D\x0A";
CF.send(ZB.system,"<zbpPacket>\x0D\x0A" +ZB_OBJ +ZB_FUN +"<id>16000</id>\x0D\x0A"+"</zbpPacket>\x0D\x0A");
};
}
I need to capture the responses,specially the String "f212" from server to client, that you can see below:
<Object>ZBP_Node</Object>
<methodName>Node_GetNumNodes</methodName>
<id>31336</id>
</zbpPacket>.<zbpPacketResponse><Object>ZBP_Node</Object><methodName>Node_GetNumNodes</methodName><Arguments><Argument type="ushort">1</Argument><Argument type="QVector<ushort>" length="1">[f212]</Argument></Arguments><id>31336</id><session>bcfd18e6-74e7-41ac-982e-8311adece220</session></zbpPacketResponse>
Somebody can help, each CF command i need to use?
Thanks a lot
--