P pjrebordao Member Sep 10, 2021 #1 How can we find out if WriteDataWithResponse was sucessful ? I'm using B4X: Try manager.WriteDataWithResponse(svc, charact, order) Catch Log("Exception - " & LastException) End Try The write is apparently failing, but the catch is never triggered...
How can we find out if WriteDataWithResponse was sucessful ? I'm using B4X: Try manager.WriteDataWithResponse(svc, charact, order) Catch Log("Exception - " & LastException) End Try The write is apparently failing, but the catch is never triggered...
Erel B4X founder Staff member Licensed User Longtime User Sep 10, 2021 #2 B4X: manager.WriteDataWithResponse(svc, charact, order) Wait For Manager_WriteComplete (Characteristic As String, Success As Boolean) Upvote 0
B4X: manager.WriteDataWithResponse(svc, charact, order) Wait For Manager_WriteComplete (Characteristic As String, Success As Boolean)