-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.1.0 #20
v1.1.0 #20
Conversation
@oliverbrandmueller ping |
lib/libpax/libpax_api.h
Outdated
@@ -31,7 +31,7 @@ struct libpax_config_t { | |||
// <- 13 ..........1 -> | |||
// 0b1010000001001 would be Channel: 1, 4, 11, 13 | |||
uint8_t wificounter; // set to 0 if you do not want to install the WiFi sniffer | |||
uint8_t wifi_my_country; // e.g 0 = "EU", etc. select locale for WiFi RF settings | |||
char wifi_my_country[3]; // set country code for WiFi RF settings, e.g. "01", "DE", etc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will break libpax_serialize_config
/ libpax_deserialize_config
for reading existing configs as all fields after wifi_my_country
are moved by two bytes.
I see two options:
- release as breaking change
- to follow semantic versioning this should be
2.0.0
and not1.0.2
to signal that it is a breaking change (to API as well as stored configs) - increase
CONFIG_MAJOR_VERSION
- release with backwards-compatibility
- add a
wifi_my_country_str
(or similar) at the end of the struct and keep theuint8_t wifi_my_country
- if
wifi_my_country_str
is not set readwifi_my_country
and convert towifi_my_country_str
- reduce
libpax_config_storage_t.reserved_end
from 25 bytes to 22 to keep the size oflibpax_config_storage_t
constant - increase
CONFIG_MINOR_VERSION
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I go for no 2. and added commit 0f6c9dc to keep backward compatibility.
@FlorianLudwig Please check, thanks!
Added a fix to solve issue #21 |
the code LGTM but one of the unit test fails because the counting of the report intervals is not summing up to 6 in 6 sec (1 sec per report) for espidf env. I think this has to do with the The arduino env works fine without any unit test change. Perhaps Also bump the version in |
@lifezoned4 fixed it, thanks for pointing to the Vtaskdelay timer. I set it to 6010 now. Will try to find out what's the root cause here. |
This PR should now be ready to merge. |
@oliverbrandmueller for this PR we need the Release 1.1.0, too. |
@oliverbrandmueller Platformio library manager does not find v1.1.0, does it need a kick? |
Merge pull request dbinfrago#20 from cyberman54/master
@FlorianLudwig @oliverbrandmueller We need a |
Did a publish bump and it should be available now. @cyberman54 |
@lifezoned4 now it works in platformio, thanks. |
fix issue #19