B4R Question B4r Serialization Send/Receive problems

rodmcm

Active Member
Licensed User
This is a demo cut down of a larger program. Basically I am sending multiple data arrangements (all ints) from an ESP32 to B4j or B4A via an AP network using B4r Serialization

The method is a send array with SendArray(0) containing a key to the info type, data type(s) or command(s) type being sent. In this demo I'm just sending 20 simple variables with the key 3. (Later there will be more values included in each send package)

At the receiving end I only ever see 2 of the sent MV variables , the 0 and 13 index.. i have tried delays between sends and other combinations with no success... Any ideas as to why this is please

The B4j program shows the received data, initiated from the Send MV Array pushbutton
 

Attachments

  • DataDisplayB4J.zip
    6.9 KB · Views: 209
  • Sendtestb4r.zip
    1.9 KB · Views: 210

rodmcm

Active Member
Licensed User
Thanks that worked

Why does it work?
I've read that you include a header but you must also hold transmission connection until complete
 
Upvote 0
Top