TheThingsNetwork / lorawan-devices

Device Repository for LoRaWAN devices
Apache License 2.0
184 stars 361 forks source link

Update explanation of vendorprofileID #692

Closed LDannijs closed 7 months ago

LDannijs commented 8 months ago

Summary

A lot of vendors are confused at the explanation of the readme (and the example vendor for that matter) about what to enter at vendorProfileID, since this is different from vendorID, but this is never explicitly explained.

I added some text and updated links to hopefully better reflect the expected numbers.

Jaime-Trinidad commented 8 months ago

@LDannijs run make validate fmt

LDannijs commented 8 months ago

@LDannijs run make validate fmt

Just did, unfortunately got the EAGAIN error:

talkpool: oy1200: EU863-870: payload codec oy1200-codec invalid
Error: spawn /bin/sh EAGAIN
    at ChildProcess._handle.onexit (node:internal/child_process:286:19)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -35,
  code: 'EAGAIN',
  syscall: 'spawn /bin/sh',
  path: '/bin/sh',
  spawnargs: [
    '-c',
    `bin/runscript -codec-path "./vendor/talkpool/oy1200.js" -routine decodeUplink -input '{"fPort":1,"bytes":[1,33,1,145,1,153,8,175,10,5,0,0]}'`
  ],
  cmd: `bin/runscript -codec-path "./vendor/talkpool/oy1200.js" -routine decodeUplink -input '{"fPort":1,"bytes":[1,33,1,145,1,153,8,175,10,5,0,0]}'`
}
make: *** [validate] Error 1