add watch dog timer for disconnection, 3 case (Client reset, Host reset, Host long off), when TCP(PROTOCOL_TCP) and Access Point mode(MODE_AP)#3
Open
takurx wants to merge 13 commits into
Conversation
tested UDP and TCP -> It is better TCP on my environment - case of UDP Ok, Host -> Client communication Broken, Client -> Host communication - case of TCP Ok, bi-direction, Host -> Client and Client <- Host
add speed test python code
add result of speed test, Client -> Host, communication speed has limit? Client -> Host, communication speed has limitation? 80000 bps? 0. same condition 1. TCP only without UDP waiting -> same speed 2. buffer size 1024 -> 2048, 80000 -> 77000 bps downed
checking fastest speed......
config.hを変えてみたりしたが変わらない - Host -> Client, around 13000 bps, 1/10 - Client -> Host, around 115200 bps
config.hを変えてみたりしたが変わらない - Host -> Client, around 13000 bps, 1/10 - Client -> Host, around 115200 bps
test adding watch dog timer, wdt
Host側が落ちた時に無限ループかつWatch dog timerが効かなかったエラーを修正 1. Client側が落ちた場合(ClientのReset)→Host側からの入力で回復 2. Host側が落ちてすぐ回復した場合(HostのReset)→OK 3. Host側が落ちて回復しない場合(HostのOFF)→30sごとにWatch dog TimerでClientをReset の3ケースに対応した
delete commented line
Feature/add wdt
delete development memo
undo for pull request
undo for pull request 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
add watch dog timer for disconnection, 3 case (Client reset, Host reset, Host long off), when TCP(PROTOCOL_TCP) and Access Point mode(MODE_AP)