Hi,
I use this way to send serial data in both b4i and b4a
In b4a this works without problems, but in b4i when i send some type of string it seems like iOS not are sending it. My recieve code are not recieving anything
I am not sure what the problem in the string can be, but if I change the encoding to UTF8 iOS send the string but in my recieve code it makes at crc error.
Anyone knows if there i a difference in the way sending serial data on iOS and android
Mogens
I use this way to send serial data in both b4i and b4a
B4X:
buffer = sData.GetBytes("ISO-8859-1")
TcpStreams.Write(buffer)
In b4a this works without problems, but in b4i when i send some type of string it seems like iOS not are sending it. My recieve code are not recieving anything
I am not sure what the problem in the string can be, but if I change the encoding to UTF8 iOS send the string but in my recieve code it makes at crc error.
Anyone knows if there i a difference in the way sending serial data on iOS and android
Mogens