utils/USR-TCP232-Config.js
function  WriteIpAddr (buffer, offset, ipstring) {
    var addr= ipstring.split('.');
    buffer.writeUInt8(parseInt(addr[3]), offset);
    buffer.writeUInt8(parseInt(addr[2]), offset + 1);
    buffer.writeUInt8(parseInt(addr[1]), offset + 2);
    buffer.writeUInt8(parseInt(addr[0]), offset + 3);
}
function  WriteIpAddr (buffer, offset, ipstring) {
    var addr= ipstring.split('.');
    buffer.writeUInt8(parseInt(addr[3]), offset);
    buffer.writeUInt8(parseInt(addr[2]), offset + 1);
    buffer.writeUInt8(parseInt(addr[1]), offset + 2);
    buffer.writeUInt8(parseInt(addr[0]), offset + 3);
}
function WriteIpAddr ( buffer , offset , ipstring ) { var addr = ipstring . split ( '.' ) ; buffer . writeUInt8 ( parseInt ( addr [ 3 ] ) , offset ) ; buffer . writeUInt8 ( parseInt ( addr [ 2 ] ) , offset + 1 ) ; buffer . writeUInt8 ( parseInt ( addr [ 1 ] ) , offset + 2 ) ; buffer . writeUInt8 ( parseInt ( addr [ 0 ] ) , offset + 3 ) ; }
adapter address at discovery parse IP Addr and add it to config buffer
adapter address at discovery parse IP Addr and add it to config buffer