Skip to content

Commit 4524d96

Browse files
authored
Update README.md
1 parent 878945a commit 4524d96

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,17 @@ To use this library, you should have some type of sensor in an app that needs to
6565

6666
You can build a sensor by providing a human-readable name that uniquely identifies this one particular sensor, a unique ID for this sensor, a title for this type of sensor, and a human-readable description of the sensor.
6767
```java
68-
SosSensor sosSensor = new SosSensor("Sensor 18742","sensor18742","TORGI","Tactical Observation of RF and GNSS Interference sensor");
68+
SosSensor sosSensor = new SosSensor("Sensor 18742","sensor18742","TORGI",
69+
"Tactical Observation of RF and GNSS Interference sensor");
6970
```
7071
<br/>
7172
Next you want to add SensorMeasurements to your sensor, SensorMeasurements describe what the sensor measures. For our example, our sensor measures the amount of "foo" at a particular time and location like this
7273

7374
```java
74-
sosMeasurementFoo = new SensorMeasurement(new SensorResultTemplateField("foo","www.your_link_that_describes_the_foo_standard.com","foo per inches")); //the url provided in the second field helps others understand about this idea of "foo" if you dont have a link, you can provide some placeholder or a way to contact you
75+
sosMeasurementFoo = new SensorMeasurement(new SensorResultTemplateField("foo",
76+
"www.your_link_that_describes_the_foo_standard.com","foo per inches"));
77+
//the url provided in the second field helps others understand about this idea of "foo"
78+
//if you dont have a link, you can provide some placeholder or a way to contact you
7579
sosMeasurementTime = new SensorMeasurementTime();
7680
sosMeasurementLocation = new SensorMeasurementLocation();
7781
sosSensor.addMeasurement(sosMeasurementFoo);

0 commit comments

Comments
 (0)