Hi,
I have made a scenario where I use astream.Initializeprefix on both the WiFi and Serial streams with a ESP8266 module
If I do that I get the 4 prefix bytes in the begining when I receive data from serial to WiFi.
And I am then missing the 4 last bytes!
I dont know why?
Anyone can explain that?
If I not using the prefix mode I get the hole data set include the first 4 bytes
Mogens
I have made a scenario where I use astream.Initializeprefix on both the WiFi and Serial streams with a ESP8266 module
B4X:
SerialCom.Initialize(9600, 2, 0)
astreamCom.Initializeprefix(SerialCom.Stream, False, "astreamCom_NewData", "astreamCom_Error")
If I do that I get the 4 prefix bytes in the begining when I receive data from serial to WiFi.
And I am then missing the 4 last bytes!
I dont know why?
Anyone can explain that?
If I not using the prefix mode I get the hole data set include the first 4 bytes
B4X:
SerialCom.Initialize(9600, 2, 0)
astreamCom.Initialize(SerialCom.Stream, False, "astreamCom_NewData", "astreamCom_Error")
Mogens