Hello everyone. I’m relatively new to Node.js and trying to write my own script for IFC API v1 using help from the repositories by @nicolas @nicolas, @KaiM and @likeablegeek . On sending the Airplane.GetState command, IF sends back two buffer arrays.
On converting the response to string, I notice that the first buffer array only has some random characters and no valuable data.
Due to this, I am unable to parse the response string.
Can someone explain what’s the use of the first buf array and help me out with parsing only the 2nd array containing actual data.
Any help is highly appreciated. Thank you.