NordicSemiconductor / Android-nRF-Mesh-Library

The Bluetooth Mesh Provisioner and Configurator library.
https://www.nordicsemi.com/
BSD 3-Clause "New" or "Revised" License
414 stars 177 forks source link

send unacknowledged message should not open DialogFragmentTransactionStatus #457

Closed xiangxiangjiang closed 2 years ago

xiangxiangjiang commented 2 years ago

unacknowledged message will not get the response from the remote node according to the ble mesh specification. when I send unacknowledged message to the remote node, the app show the DialogFragmentTransactionStatus with R.string.operation_timed_out after a few seconds, it seems to wait for respons message.

roshanrajaratnam commented 2 years ago

@xiangxiangjiang could you confirm if the message is received on the node? Is it sent via a proxy node and does this happen on the SDK example or a custom FW?

xiangxiangjiang commented 2 years ago

yes, I'm sure. I use the TI's simplelink launchpad cc2652r with sdk simplelink_cc13x2_26x2_sdk_5_20_00_52. My device was set as relay and proxy node, the node received the unacknowledged  message that I send using vendor model controls in Vendor Model Actvity with Acknoledged Message checkbox unchecked and printed the message on the screen. Because the message from mobile is unack type, the node will not send the response message to the originor. And after I read the android app source code, I find that the sendmessage method start a runable to wait for response whatever the message type is ack or unack. 

刘道明|daoming北京理工大学 手机:18811553599 @.***

 

------------------ 原始邮件 ------------------ 发件人: "Roshan @.>; 发送时间: 2021年11月23日(星期二) 晚上7:22 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [NordicSemiconductor/Android-nRF-Mesh-Library] send unacknowledged message should not open DialogFragmentTransactionStatus (Issue #457)

@xiangxiangjiang could you confirm if the message is received on the node? Is it sent via a proxy node?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

roshanrajaratnam commented 2 years ago

Hi is your vendor model message a segmented message? The runnable you are referring to is related to segmented messages.

roshanrajaratnam commented 2 years ago

Also you have a point here. Will fix this!