rameshb
Member
Hi all,
I want to implement serial port communication in B4J.
I have gone through chat sample application downloaded from http://www.b4x.com/android/forum/threads/jserial-library.34762/
but i still have following queries.
a.How can we specify input and output buffer size?
b.In asyncstream_newdata event,it is showing only 16 bytes in buffer array.
how can we retrieve other recieved bytes if received data length exceeds 16 bytes?
c.How to poll the length of receive buffer in case event based communication is not used.
(streamtotal property is there but it is showing as 0 and in intellisense it is showing as valid only in prefix mode.)
Thanks in advance.
I want to implement serial port communication in B4J.
I have gone through chat sample application downloaded from http://www.b4x.com/android/forum/threads/jserial-library.34762/
but i still have following queries.
a.How can we specify input and output buffer size?
b.In asyncstream_newdata event,it is showing only 16 bytes in buffer array.
how can we retrieve other recieved bytes if received data length exceeds 16 bytes?
c.How to poll the length of receive buffer in case event based communication is not used.
(streamtotal property is there but it is showing as 0 and in intellisense it is showing as valid only in prefix mode.)
Thanks in advance.