-
Notifications
You must be signed in to change notification settings - Fork 3k
Registration parameters as struct #8114
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
Conversation
@AriParkkila and @jarvte please review. |
int AT_CellularNetwork::calculate_periodic_tau(const char *periodic_tau_string, int periodic_tau_length) | ||
{ | ||
if (periodic_tau_length != ONE_BYTE_BINARY) | ||
{ |
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.
coding conventions.
int AT_CellularNetwork::calculate_active_time(const char *active_time_string, int active_time_length) | ||
{ | ||
if (active_time_length != ONE_BYTE_BINARY) | ||
{ |
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.
coding conventions.
8694338
to
eaf47e1
Compare
eaf47e1
to
ac0e211
Compare
Rebased but not Unit Tested. |
@mirelachirica @jarvte Why were the virtual functions removed? |
They were replaced with get_registration_params(...). Registration parameters to be retrieved via registration_params_t object. |
This type of refactor (does not actually fix anything - there is one fix in here that might be a separate patch?) should be for 5.11 ? |
Yes it is 5.11 change. More parameters needed to be retrieved so now they are in one structure. There was also a bug in ATHandler when reading these parameters. That is fixed in separate commit. |
ac0e211
to
e8e7d2a
Compare
Updated -> google unit tests passing |
unittest CI failed, pls review |
Just noticed this problem on master already. Will check it. |
I noticed it as well in another PR, not certain how it got in (if there is a bug on master now). Thanks for looking at it |
When these unit tests started being part of CI? |
I will generate new PR to include also another fix for features-cellular-framework-common-util.exe test. This common-util error is not seen in master but I have seen it on friday and is due to not null terminated string defined in unit test which might cause unstable behaviour. |
PR to fix the failure: #8229 |
e8e7d2a
to
c721b31
Compare
This needs to proceed. @AriParkkila @AnttiKauppila can you please review? |
c721b31
to
127f4e2
Compare
/morph build |
Build : FAILUREBuild number : 3229 |
/morph build |
Build : SUCCESSBuild number : 3232 Triggering tests/morph test |
I restarted Travis, previously failed to report back the status. |
This needs a rebase. |
127f4e2
to
ffb9cdb
Compare
rebased |
/morph build |
Build : SUCCESSBuild number : 3296 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 2924 |
Description
More registration parameters needed to be supported so struct to hold all the parameters was created.
This PR includes also one commit with the AT handler fix needed/noticed when reading some of the registration parameters.
Pull request type