BluetoothSPPLibrary icon indicating copy to clipboard operation
BluetoothSPPLibrary copied to clipboard

Determine if message was sent or not

Open poralcode opened this issue 9 years ago • 2 comments

@akexorcist , Hello!

How to determine if the message was successfully sent or not?

poralcode avatar Dec 09 '16 14:12 poralcode

Hello, use android standard api. one of good ways to ensure success data transmission is, when you send data to another side for example another device, then that device should pass an acknowledge to you. for this two way communication you should open both outputstream and inputstream (see developer.android.com bluetooth sample codes). but may there are another ways too. good luck.

On Fri, Dec 9, 2016 at 5:41 PM, Poral [email protected] wrote:

@akexorcist https://github.com/akexorcist , Hello!

How to determine if the message was successfully sent or not?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/akexorcist/Android-BluetoothSPPLibrary/issues/67, or mute the thread https://github.com/notifications/unsubscribe-auth/ADqfo7nYnsZ-xGcOr2VJ9fRHLLGWHF2bks5rGWGGgaJpZM4LI-ZO .

membrown avatar Dec 09 '16 14:12 membrown

Good Idea. I'll try it. Thanks!

poralcode avatar Dec 09 '16 16:12 poralcode