You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2021/04/01 09:51:48 UTC

[GitHub] [mynewt-newtmgr] A-Kohei opened a new pull request #182: 非同期でのble送信が非常に不安定なため同期処理に変更

A-Kohei opened a new pull request #182:
URL: https://github.com/apache/mynewt-newtmgr/pull/182


   #### 問題点
   
   masterのままmcumgrを動作させると非常に不安定であった。
   * BLE通信での受信時にオフセットエラー頻発
   * エラーが発生しても正常に終了しない
   * エラーが発生しても正常に終了しないため、プロセスを強制終了するしか手立てがない
   * disconnectされてもリトライしない
   
   #### 解決方法
   
   実装を見ると、BLE通信処理を非同期で組んでいるが(nmxact/xact/image.go)、  
   同期処理へと変更した
   
   #### 確認項目
   
   主要で使用するコマンドを確認
   
   * [x] image list
   * [x] image erase
   * [x] image upload
   * [x] image test
   * [x] image confirm
   * [x] reset
   
   エラーケースの動作
   * [x] disconnectが発生した際、リトライを行う(mcumgr自体のリカバリ処理)
   * [x] リカバリできないdisconnectが発生した際(拡張基盤のリセットなど)、エラーとして終了する
   * [x] エラー終了した際、再度実行で正常に動作する
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [mynewt-newtmgr] A-Kohei closed pull request #182: 非同期でのble送信が非常に不安定なため同期処理に変更

Posted by GitBox <gi...@apache.org>.
A-Kohei closed pull request #182:
URL: https://github.com/apache/mynewt-newtmgr/pull/182


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [mynewt-newtmgr] A-Kohei commented on pull request #182: 非同期でのble送信が非常に不安定なため同期処理に変更

Posted by GitBox <gi...@apache.org>.
A-Kohei commented on pull request #182:
URL: https://github.com/apache/mynewt-newtmgr/pull/182#issuecomment-811907436


   Sorry for my mistake. Please ignore this pull request


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org