-
Notifications
You must be signed in to change notification settings - Fork 3k
Cellular: Add dynamic alloc and destruction to easycellular #6792
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
The commit does not specify why this is being added? Is it really a fix - what does it fix? After checking, IOTCELL-814, its more clear - thus this should be captured in the commit. |
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.
Extend the commit message what is this fixing and how (looking at the changes, I am not certain this is a fix or introducing a new feature to the implementation)
@0xc0170 updated commit message. This goes to 5.9 so fix/feature are both fine by me. |
Please push it to the branch, don't see it yet.
|
Now application can call connect and disconnect multiple times and resources are freed and constructed properly. Also whole easycellular can be deleted and constructed again.
1ae82ae
to
b22a16f
Compare
@0xc0170 sorry, updated PR description only, now also commit message... |
@@ -153,7 +150,20 @@ FileHandle *ATHandler::get_file_handle() | |||
|
|||
void ATHandler::set_file_handle(FileHandle *fh) | |||
{ | |||
_fh_sigio_set = false; |
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.
If _fileHandle already has sigio set that should be removed?
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.
Answering my own question above. We have internal ticket IOTCELL-846 for that. This PR looks good.
We will start CI once one important fix completes (master is affected). |
@0xc0170 fix done? Could morph be started? |
yes, starting now /morph build |
Build : SUCCESSBuild number : 1924 Triggering tests/morph test |
Exporter Build : FAILUREBuild number : 1569 |
/morph export-build |
Exporter Build : SUCCESSBuild number : 1573 |
Description
Added dynamic alloc and destruction to easycellular.
Now application can call connect and disconnect multiple times and resources are freed and constructed properly. Also whole easycellular can be deleted and constructed again.
Internal ref to defect: IOTCELL-814
@AriParkkila please review
Pull request type