koppelting
Bertrik Sikken 2017-08-24 00:32:32 +02:00
rodzic 5ef8ea05d3
commit 0166377b92
3 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -68,7 +68,7 @@ public final class Sentence {
sb.append(String.format(Locale.US, "%s,%d,%s,%.6f,%.6f,%.1f", callSign, id, timeString, latitude, longitude,
altitude));
for (String s : extras) {
sb.append(",");
sb.append(',');
sb.append(s);
}
final String basic = sb.toString();

Wyświetl plik

@ -22,14 +22,14 @@ public interface IHabitatRestApi {
@Path("/habitat/_design/payload_telemetry/_update/add_listener/{doc_id}")
@PUT
public String updateListener(@PathParam("doc_id") String docId, String json);
String updateListener(@PathParam("doc_id") String docId, String json);
@Path("/_uuids")
@GET
public UuidsList getUuids(@QueryParam("count") int count);
UuidsList getUuids(@QueryParam("count") int count);
@Path("/habitat/{doc_id}")
@PUT
public UploadResult uploadDocument(@PathParam("doc_id") String docId, String document);
UploadResult uploadDocument(@PathParam("doc_id") String docId, String document);
}

Wyświetl plik

@ -26,7 +26,7 @@ public final class TtnMessageMetaData {
* Constructor.
*
* @param time the time
* @param gws list of gateways
* @param gateways list of gateways
*/
public TtnMessageMetaData(String time, List<TtnMessageGateway> gateways) {
this();