You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my KNX network gateway does not work when the seqn is the same on every request.
first write will work but the next one gets a ACK but will never be send on the bus.
not sure if this true for all gateways.
can be fixed with:
/** * Generates next sequence number to number each knx telegram */protected lastSeqnId: number=-1;protectednextSeqn(){letid=this.lastSeqnId;id++;if(id>0xFF){id=0;}while(this.sequenceIds.has(id)){id++;if(id>0xFF){id=0;}if(id==this.lastSeqnId){thrownewError('Maximum sequence number reached');}}this.lastSeqnId=id;this.sequenceIds.add(id);returnid;}
The text was updated successfully, but these errors were encountered:
my KNX network gateway does not work when the seqn is the same on every request.
first write will work but the next one gets a ACK but will never be send on the bus.
not sure if this true for all gateways.
can be fixed with:
The text was updated successfully, but these errors were encountered: