code: 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);
  }
docs: adapter address at discovery parse IP Addr and add it to config buffer