fix instance of Object passing to function instead of string or an instance of Buffer, ArrayBuffer, or Array. String chosen.
Was getting error when sending prepacked json encapsulated "rcinfo" and "payload" HEP.
_"ERROR PREHEP ERROR: TypeError [ERR_INVALID_ARGTYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received an instance of Object".
this fixed an error and was able to successfully send JSON HEP over network
fix instance of Object passing to function instead of string or an instance of Buffer, ArrayBuffer, or Array. String chosen.
Was getting error when sending prepacked json encapsulated "rcinfo" and "payload" HEP. _"ERROR PREHEP ERROR: TypeError [ERR_INVALID_ARGTYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received an instance of Object".
this fixed an error and was able to successfully send JSON HEP over network