Hi,
i am trying to implement a modbus over bluetooth system to an embedded controller. i have all of the astreams.write working sending an array of bytes, however the response appears to get broken up due to delays i am guessing. is there any way of building up the astreams_newdata(buffer) until i have the complete response?
You can program your controller to send a special string as confirmation of end of transmission. If of course I understood correctly the case. In the mean time, you can store data received in an array, list, stringbuilder etc.