Skip to content

Commit

Permalink
feat: Bump EZSP to V13
Browse files Browse the repository at this point in the history
  • Loading branch information
pdecat committed Jan 5, 2024
1 parent e00053f commit 5c04936
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ private void createEmberFrame(Protocol protocol) throws FileNotFoundException, U
out.println(" /**");
out.println(" * The maximum supported version of EZSP");
out.println(" */");
out.println(" public static final int EZSP_MAX_VERSION = 12;");
out.println(" public static final int EZSP_MAX_VERSION = 13;");
out.println();
out.println(" /**");
out.println(" * The network ID bit shift");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public abstract class EzspFrame {
/**
* The maximum supported version of EZSP
*/
public static final int EZSP_MAX_VERSION = 12;
public static final int EZSP_MAX_VERSION = 13;

/**
* The network ID bit shift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,10 @@ public void testEzspVersions() {
assertEquals(11, EzspFrame.getEzspVersion());
assertTrue(EzspFrame.setEzspVersion(12));
assertEquals(12, EzspFrame.getEzspVersion());
assertFalse(EzspFrame.setEzspVersion(13));
assertEquals(12, EzspFrame.getEzspVersion());
assertTrue(EzspFrame.setEzspVersion(13));
assertEquals(13, EzspFrame.getEzspVersion());
assertFalse(EzspFrame.setEzspVersion(14));
assertEquals(13, EzspFrame.getEzspVersion());
EzspFrame.setEzspVersion(4);
}

Expand Down

0 comments on commit 5c04936

Please sign in to comment.