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.
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.
I am using JSON.parse(response.toString()) which is working on the initial data received from the udp broadcast but not working with the tcp clientSocket.