E embedded Active Member Licensed User Longtime User Aug 25, 2022 #1 Hello all, What is the difference between astream.write and log() in B4R.
hatzisn Expert Licensed User Longtime User Aug 25, 2022 #2 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. Upvote 0
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.
E embedded Active Member Licensed User Longtime User Aug 25, 2022 #3 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. Upvote 0
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.
hatzisn Expert Licensed User Longtime User Aug 25, 2022 #4 Why would you want to attach a remotely accessible board to a computer? I would prefer the astream but it depends on what you want to do. Upvote 0
Why would you want to attach a remotely accessible board to a computer? I would prefer the astream but it depends on what you want to do.
E embedded Active Member Licensed User Longtime User Aug 25, 2022 #5 hatzisn said: Why would you want to attach a remotely accessible board to a computer? I would prefer the astream but it depends on what you want to do. Click to expand... my board is not in remote....it is near by pc....it work in dual mode.....with wire or wireless....mode of communication set by user. Upvote 0
hatzisn said: Why would you want to attach a remotely accessible board to a computer? I would prefer the astream but it depends on what you want to do. Click to expand... my board is not in remote....it is near by pc....it work in dual mode.....with wire or wireless....mode of communication set by user.
hatzisn Expert Licensed User Longtime User Aug 25, 2022 #6 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. Upvote 0
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.
E embedded Active Member Licensed User Longtime User Aug 25, 2022 #7 hatzisn said: 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. Click to expand... ok...thanks for you help. Upvote 0
hatzisn said: 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. Click to expand... ok...thanks for you help.