Skip to content

Commit

Permalink
Bugfix inf generate Deviceinfo at startup for chirpstack
Browse files Browse the repository at this point in the history
  • Loading branch information
BenAhrdt committed Jun 25, 2024
1 parent 3ddda5e commit c7bd896
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ For now there is documentation in English here: https://wiki.hafenmeister.de
Placeholder for the next version (at the beginning of the line):
### **WORK IN PROGRESS**
-->
### **WORK IN PROGRESS**
* (BenAhrdt) Bugfix inf generate Deviceinfo at startup for chirpstack

### 1.2.1 (2024-06-24)
* (BenAhrdt) improof building of offlinenotification >= 25 hours

Expand Down
6 changes: 3 additions & 3 deletions lib/modules/messagehandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ class messagehandlerClass {
break;
case this.adapter.origin.chirpstack:
decodedData[devEUI].object = decodedData[devEUI].decoded;
decodedData[devEUI].uplink_message.rxInfo = [];
decodedData[devEUI].uplink_message.rxInfo[0] = {};
decodedData[devEUI].uplink_message.rxInfo[0].nsTime = decodedData[devEUI].time;
decodedData[devEUI].rxInfo = [];
decodedData[devEUI].rxInfo[0] = {};
decodedData[devEUI].rxInfo[0].nsTime = decodedData[devEUI].time;
break;
}
this.assignDeviceInformation(decodedData[devEUI].id,decodedData[devEUI]);
Expand Down

0 comments on commit c7bd896

Please sign in to comment.