I would guess the 0x01 0x0E 0x00 0x19 is the Home ID
I can see that the 0x02 is the destination node (but it seems to be in the source node byte?)
Also that the 0x03 is the data length
Then the 0x40 0x01 0x01 is the Command Class ID (0x40 - thermostat, 0x01 - set, 0x01 - on)
Q. But then where is the Source ID? Surely it should be 0x01 somewhere?
Q. I also can’t see why the additional bytes are there 0x11 0x0 0x0 0x10 0x0 0xc4 0x6c. Presumably one is a CRC but why the rest?
Q. Further to that I understand the ACKs should be a singlecast message back from the destination node with a zero data length but I don’t see anything like that logged?
From the protocol spec, for the ACK I would expect something like 0x1 0xe 0x0 0x19 0x02 0x0 0x01 0xXX
I see, it looks as though the logging is the same as dongle protocol logging here - ZWave API - LinuxMCE
So an Rx log starting with 0x06 is an ACK and an 0x01 is a response, so I need to be looking at 0x01 lines for status responses to get commands I guess?
What’s interesting is that the second response contains the 0x40 0x03 0x00 that I’m looking for. The 0x40 being the command class, the 0x03 being the “report” type and the 0 being “off”
So that’s looking good I think. If I do that again with the boiler actuator on to double check I get
Now that I have some vague ideas on how to analyse the Tx and Rx packets that are logged I’m going to move back over to the Danfoss Living Connect thread as that’s what I’m trying to talk to here…
Next let's look at the report for thursday (0x04 - days are 1 relative starting at monday)
[code]
0x1 0xe 0x0 0x19 0x5 0x3 0x46 0x2 0x4 0x5 0x0 0x0 0x0 0x0 0xf6 0x5d
Thanks for that Dave, it’s an interesting sequence of articles. It seems primarily focussed on a developer who wants to understand how to put a comms. handler in place in C# implementing the Z-Wave protocol - which is a useful thing itself. I think what I need is the protocol specification for the Z-wave serial communications protocol (which the article mentions). This seems different from the over the air protocol itself, which I guess is to be expected. I can’t spot that anywhere and am wondering if it’s only available with a purchase of a Z-Wave SDK.