Update README.md
This commit is contained in:
parent
f6ae0ea08a
commit
0c1331b3dc
@ -130,7 +130,7 @@ If you're using [TheThingsNetwork](https://www.thethingsnetwork.org/) (TTN) you
|
|||||||
|
|
||||||
To map a GPS capable paxcounter device and at the same time contribute to TTN coverage mapping, you simply activate the [TTNmapper integration](https://www.thethingsnetwork.org/docs/applications/ttnmapper/) in TTN Console. Paxcounter generates ttnmapper compatible data fields.
|
To map a GPS capable paxcounter device and at the same time contribute to TTN coverage mapping, you simply activate the [TTNmapper integration](https://www.thethingsnetwork.org/docs/applications/ttnmapper/) in TTN Console. Paxcounter generates ttnmapper compatible data fields.
|
||||||
|
|
||||||
Decoder:
|
**Decoder:**
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
function Decoder(bytes, port) {
|
function Decoder(bytes, port) {
|
||||||
@ -153,7 +153,7 @@ function Decoder(bytes, port) {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Converter:
|
**Converter:**
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
function Converter(decoded, port) {
|
function Converter(decoded, port) {
|
||||||
|
Loading…
Reference in New Issue
Block a user