astream.write is for communications with f.e. a mobile or a b4j program (usually used in WiFi or BlueTooth enabled boards) but log is for sending information in the B4R IDE logs or the connected external logger (Erel's implementation) through the USB and it is intented for all boards even if they are not WiFi and BT enabled.
Thanks...for your reply
working on a project in which ESP32 BOARD Send and receive data form B4J...through serial port
now which one is better logs or astream in B4R coding.
Sorry you missunderstood me. I meant that it is Wireless both as BlueTooth or WiFi and since it is this way If I were you I would prefer not to attach it to my computer but have it where it is needed.
Sorry you missunderstood me. I meant that it is Wireless both as BlueTooth or WiFi and since it is this way If I were you I would prefer not to attach it to my computer but have it where it is needed.