Android Question Android Bluetooth - sent command

Gianluca Esposito

Member
Licensed User
Longtime User
hi,
How do I send the following command?

Command sent:
0x8001 (Fixed)
0x0000 (Message ID)
0x00005358 (Vendor ID = CAEN SpA)
0x0021 (Message Length)
0x0000 (Reserved)
0x0008 (AVP Length)
0x0001 (AVP Type = CommandName)
0x0013 (AVP Value = InventoryTag)
0x0000 (Reserved)
0x000F (AVP Length)
0x00FB (AVP Type = SourceName)
0x536F757263655F3000 (AVP Value = “Source_0”)

Thanks
 

DonManfred

Expert
Licensed User
Longtime User
Last edited:
Upvote 0

Gianluca Esposito

Member
Licensed User
Longtime User
B4X:
If AStream.IsInitialized = False Then
        AStream.InitializePrefix(Main.serial1.InputStream, True, Main.serial1.OutputStream, "AStream")
       
    End If
 
Upvote 0
Top