There is a ready BT device that has protocol like
TEXT COMMAND & BINARY DATA.
No PREFIX mode is applicable, need to follow to the ready protocol.
Short commands are debugged well using Bluetooth Chat sample.
But now it needs to send big binary files, 30-130 KBytes. Write command includes ADDRESS, LENGTH, CHECKSUM bytes, and this big binary file array after them.
Device replay is the same command block as confirmation, when the command is finished OK.
Transferring speed is limited by device's FLASH memory, need 4-7 second at least.
Sending via a PC COM-port terminal is OK now.
How to tranfer using Sub AStreams_NewData (Buffer() As Byte) sub (AsyncStreams object RAF v.1.32)? Impossible for 5 second before FC offer ?
Now Android is hunging and restarts when to AStream.Write(FileDump)
TEXT COMMAND & BINARY DATA.
No PREFIX mode is applicable, need to follow to the ready protocol.
Short commands are debugged well using Bluetooth Chat sample.
But now it needs to send big binary files, 30-130 KBytes. Write command includes ADDRESS, LENGTH, CHECKSUM bytes, and this big binary file array after them.
Device replay is the same command block as confirmation, when the command is finished OK.
Transferring speed is limited by device's FLASH memory, need 4-7 second at least.
Sending via a PC COM-port terminal is OK now.
How to tranfer using Sub AStreams_NewData (Buffer() As Byte) sub (AsyncStreams object RAF v.1.32)? Impossible for 5 second before FC offer ?
Now Android is hunging and restarts when to AStream.Write(FileDump)
Last edited: