			while ((len = inputStream.read(buf)) != -1) {
				baos.write(buf, 0, len);
			}
			inputStream.close();
			// Convert the ByteArrayOutputStream to a string
			String clientInfo = baos.toString();
			// Extract info from json string
			try {
				JSONObject json = new JSONObject(clientInfo);
				JSONArray interfacesArray = json.getJSONArray("interfaces");
				// wifi
				JSONObject jsonWifi = interfacesArray.getJSONObject(2);
				String wifiMAC = jsonWifi.getString("MAC");