mesh: Fix lines going beyond 80 columns
diff --git a/mesh/config-client.c b/mesh/config-client.c
index 5490de3..19e617d 100644
--- a/mesh/config-client.c
+++ b/mesh/config-client.c
@@ -627,7 +627,8 @@
node = node_find_by_addr(dst);
if (!node) {
- bt_shell_printf("Node with unicast address %4.4x unknown\n", dst);
+ bt_shell_printf("Node with unicast address %4.4x unknown\n",
+ dst);
return false;
}
diff --git a/mesh/config-server.c b/mesh/config-server.c
index 10fead6..2d65763 100644
--- a/mesh/config-server.c
+++ b/mesh/config-server.c
@@ -129,7 +129,8 @@
pub.retransmit = data[8];
bt_shell_printf("Retransmit count: %d\n", data[8] >> 5);
- bt_shell_printf("Retransmit Interval Steps: %d\n", data[8] & 0x1f);
+ bt_shell_printf("Retransmit Interval Steps: %d\n",
+ data[8] & 0x1f);
ele_idx = ele_addr - node_get_primary(node);
diff --git a/mesh/main.c b/mesh/main.c
index d96de75..7c72f49 100644
--- a/mesh/main.c
+++ b/mesh/main.c
@@ -923,8 +923,10 @@
for (l = char_list; l; l = l->next) {
if (mesh_gatt_is_child(l->data, service, "Service") &&
char_is_mesh(l->data, char_uuid)) {
- bt_shell_printf("Found matching char: path %s, uuid %s\n",
- g_dbus_proxy_get_path(l->data), char_uuid);
+ bt_shell_printf("Found matching char: path %s,"
+ " uuid %s\n",
+ g_dbus_proxy_get_path(l->data),
+ char_uuid);
return l->data;
}
}
@@ -984,13 +986,15 @@
} else if (!strcmp(interface, "org.bluez.GattService1") &&
service_is_mesh(proxy, NULL)) {
- bt_shell_printf("Service added %s\n", g_dbus_proxy_get_path(proxy));
+ bt_shell_printf("Service added %s\n",
+ g_dbus_proxy_get_path(proxy));
service_list = g_list_append(service_list, proxy);
} else if (!strcmp(interface, "org.bluez.GattCharacteristic1") &&
char_is_mesh(proxy, NULL)) {
- bt_shell_printf("Char added %s:\n", g_dbus_proxy_get_path(proxy));
+ bt_shell_printf("Char added %s:\n",
+ g_dbus_proxy_get_path(proxy));
char_list = g_list_append(char_list, proxy);
}
@@ -1010,7 +1014,8 @@
return bt_shell_noninteractive_quit(EXIT_FAILURE);
}
- bt_shell_printf("Discovery %s\n", enable == TRUE ? "started" : "stopped");
+ bt_shell_printf("Discovery %s\n",
+ enable == TRUE ? "started" : "stopped");
return bt_shell_noninteractive_quit(EXIT_SUCCESS);
}
@@ -1210,8 +1215,8 @@
dbus_message_iter_get_basic(iter, &resolved);
- bt_shell_printf("Services resolved %s\n", resolved ?
- "yes" : "no");
+ bt_shell_printf("Services resolved %s\n",
+ resolved ? "yes" : "no");
if (resolved)
mesh_session_setup(connection.device);
@@ -1909,8 +1914,8 @@
bt_shell_printf("Local config directory not provided.\n");
mesh_config_dir = "";
} else {
- bt_shell_printf("Reading prov_db.json and local_node.json from %s\n",
- mesh_config_dir);
+ bt_shell_printf("Reading prov_db.json and local_node.json from"
+ " %s\n", mesh_config_dir);
}
len = strlen(mesh_config_dir);
diff --git a/mesh/onoff-model.c b/mesh/onoff-model.c
index 016a6ea..49be089 100644
--- a/mesh/onoff-model.c
+++ b/mesh/onoff-model.c
@@ -58,8 +58,8 @@
return MESH_STATUS_INSUFF_RESOURCES;
} else {
onoff_app_idx = app_idx;
- bt_shell_printf("On/Off client model: new binding %4.4x\n",
- app_idx);
+ bt_shell_printf("On/Off client model: new binding"
+ " %4.4x\n", app_idx);
}
} else {
if (onoff_app_idx == app_idx)
@@ -101,8 +101,8 @@
break;
}
- bt_shell_printf("\n\t\tRemaining time: %d hrs %d mins %d secs %d msecs\n",
- hours, minutes, secs, msecs);
+ bt_shell_printf("\n\t\tRemaining time: %d hrs %d mins %d secs %d"
+ " msecs\n", hours, minutes, secs, msecs);
}
@@ -134,7 +134,8 @@
src, data[0] ? "ON" : "OFF");
if (len == 3) {
- bt_shell_printf(", target = %s", data[1] ? "ON" : "OFF");
+ bt_shell_printf(", target = %s",
+ data[1] ? "ON" : "OFF");
print_remaining_time(data[2]);
} else
bt_shell_printf("\n");