Skip to content
Snippets Groups Projects
Commit 64870a58 authored by alfredo's avatar alfredo
Browse files

fix arduino scrive su luci

parent d848b447
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@ public class InstallHandler implements HttpHandler {
ArrayList<String> ho = hostsMap.get(mod);
// System.out.println(" riga 131 ho = "+ho);
for (String h : ho) {
row.put("host", h.replace("BB1","luci"));
row.put("host", h.replace("BB1","luci").replace("AinDout_Arduino1wifi","luci"));
row.put("service", mod);
row.put("uri", DBC.getURI(mod));
arrServiziFinale.put(row);
......@@ -156,7 +156,7 @@ public class InstallHandler implements HttpHandler {
HttpURLConnection con = Helper.sendMessageToCloudapp("install", j.toString());
int status = con.getResponseCode();
// FIXME serve avere anche il content?
// String cloudappResponse = Helper.getResponseFromConnection(con);
con.disconnect();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment