-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Cellular: Remove max_packet_size #7318
Conversation
@mirelachirica @jarvte please review |
The bellow CHECK should be modified to check against NSAPI_ERROR_OK. Previously the socket_send was checking size against max_packet_size which in this case was default 0, and as a result was returning NSAPI_ERROR_DEVICE_ERROR.
|
@mirelachirica Is this request for changes? |
Yes, test_AT_CellularStack_socket_send needs to be updated. |
@AriParkkila Any update? |
@cmonr Ari is on holiday. I might look into this and do the fix. |
1bfc9ec
to
4d431cd
Compare
Rebased and fixed the socket_send unit test. |
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.
LGTM
/morph build |
@AriParkkila Would it be possible to get someone else from @ARMmbed/mbed-os-wan to approve the changes as well? |
Build : SUCCESSBuild number : 2572 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 2216 |
Test : FAILUREBuild number : 2326 |
@ARMmbed/team-st-mcd Can you review the test failures above? We have noticed this in the recent CI runs, started few hours ago. 2 nucleo boards. |
Hi Martin same comment as #7471 (comment) /morph build |
@jeromecoutant I see now. there is a dependency issue that we were not aware? This however does not explain what I've just reproduced locally
Got F401RE, no changes to master (using |
This indicates the problem for lp ticker in the rtc init . Please try to reproduce this locally and let us know. Not sure why the CI did not fail for any prior PR (I reviewed RTC shadow PR today again to make sure it was all green really) |
Build : SUCCESSBuild number : 2585 Triggering tests/morph test |
@jeromecoutant Created tracking issue for this where we can continue #7497 |
Exporter Build : SUCCESSBuild number : 2227 |
@ARMmbed/mbed-os-wan Would you mind reviewing? This PR is almost ready to come in. |
Test : SUCCESSBuild number : 2336 |
@TeemuKultala can you review this? |
…size Cellular: Remove max_packet_size
Description
Removed
get_max_packet_size()
from the cellular AT stack. Now the implementation always tries to write a packet to modem without checking its size. If the size was bigger than protocol MTU or that modem can handle, then modem will return an error.There is no change in API (except a slight delay due to extra AT command/response), because
sendto()
API request still returns the same error code as before.Fixes PR #7181 and Arm internal ref IOTCELL-1089.
Pull request type