Skip to content

メッセージ欠損 #1

Description

@sowd

友達から来た報告の代理ポストです。

【現象】
 下記ソースコードで連続メッセージを送信すると、
 相手側機器に全てのメッセージが届かない
 (前半のメッセージが欠損し、後半のメッセージが正常処理されている)

【パターン1:同一機器への連続送信】
 ■ソースコード
 for(int i=0;i<10;i++){
  devRiceCooker.get().reqGetOperationStatus().send();
 }

 ■実行結果
 最後に送信したメッセージのみが実行され、レスポンスが1件のみ返ってくる

【パターン2:複数機器への一斉送信】
 ■ソースコード
 devRiceCooker.set().reqSetRiceCookingControlSetting(new byte[]{0x41}).send();
 devWasherAndDryer.set().reqSetWasherAndDryerSetting(new byte[]{0x41}).send();
 devHumidifier.set().reqSetHumidifyingSetting2(new byte[]{0x42}).send();

【実行結果】
 最後に送信した加湿器の設定命令のみが実行され、レスポンスが1件のみ返ってくる

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions