Update README.md

This commit is contained in:
Verkehrsrot 2018-06-18 13:17:10 +02:00 committed by GitHub
parent d6dc404083
commit 57304a51c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,11 +141,9 @@ 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.
**Decoder:**
**Decoder:** [TTN/plain_decoder.js](TTN/plain_decoder.js)
```javascript
<object data="TTN/packed_decoder.js" type="text/plain" width="200" height="100">
</object>
function Decoder(bytes, port) {
var decoded = {};
@ -166,7 +164,7 @@ function Decoder(bytes, port) {
}
```
**Converter:**
**Converter:** [TTN/plain_converter.js](TTN/plain_converter.js)
```javascript
function Converter(decoded, port) {