Android Question AsyncStreams help

Beja

Expert
Licensed User
Longtime User
Hi All,
For a reason I can't test this code, but I am not sure if it will work or not.. please help with anything you note it's not right with the code so I can change it before trying it next week when my BT device works.
As you can see the sub will send string array to the BT device, that basically is a command packet to operate a machine.

Best regards and thanks in advance.

B4X:
Sub SendStringArray_Click
    Dim SSA() Array AS String = "68, 123, 66, 84,127,255,0,0"
    AStream.Write(SSA) 
End Sub
 
Last edited:
Top