Skip to content
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

HL7802: Allow to receive packets after remote disconnect the connection. #98

Merged
merged 1 commit into from
Jul 14, 2022

Conversation

ActoryOu
Copy link
Member

@ActoryOu ActoryOu commented Jul 13, 2022

As Receiving TCP data after connection is closed (HL7802) mentioned, HL7802 allows users to receive data even though socket is disconnected by remote.
This change allows HL7802 to receive packets in disconnection state.

  • For BG96, device holds the close URC until receiving all packets, so we don't need to modify for this scenario.
  • For SARA_R4, device doesn't allow users to receive data if socket is disconnected.
    • It reports +CME ERROR: Operation not allowed in this scenario.

@ActoryOu ActoryOu requested a review from chinglee-iot July 13, 2022 07:08
@ActoryOu ActoryOu merged commit f29cfc4 into FreeRTOS:main Jul 14, 2022
@ActoryOu ActoryOu deleted the keepConnectionAfterRemoteClose branch July 14, 2022 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants