Skip to content

Commit

Permalink
Accessor for checking frame type (std/ext)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmalinowsky committed Mar 3, 2024
1 parent 500e131 commit a4aea59
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/io/calimero/link/medium/RawFrameBase.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Calimero 2 - A library for KNX network access
Copyright (c) 2006, 2023 B. Malinowsky
Copyright (c) 2006, 2024 B. Malinowsky
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -120,6 +120,9 @@ public final int getFrameType()
return type;
}

/** {@return {@code true} if extended frame, {@code false} if standard frame} */
public final boolean extended() { return ext; }

/**
* {@return the KNX individual source address}
*/
Expand Down

0 comments on commit a4aea59

Please sign in to comment.