How many bytes you are expected to receive (the same number of bytes you have sent)?
If the number is fixed (for example 5 bytes) then make an array of bytes with size of 5 like so:
byte b[5];
then you should read your data into this array.
How many bytes you are expected to receive (the same number of bytes you have sent)?
If the number is fixed (for example 5 bytes) then make an array of bytes with size of 5 like so:
byte b[5];
then you should read your data into this array.