Hello.
In my Decoder function I need to use external library aesjs-js.
I can not see node or yarn running in my Centos server, but Chirpstack web is working and decoder is working.
How it works without any node instances/engines running? All is working base on binary code in Go?
How can I import additional librarys which are not avaiable current on Chirpstack?
I tried to copy library to the path and use:
import AES from (’/usr/lib/chirpstack-application-server/aesjs-js.js);
var AES = require(’[…]’);
AES CTR is difficult to decode… write without any prepared library…
I could not find on the internet which should works properly without external modules like CryptoJS
there is no possible to decode in “application” side… what application?
I need to decode payload and parse all data - byte by byte. One by one…
I am using pure LoRaWAN topology.
payloads are encrypted with AES because vendor of device configured it in that way…
Device -> Gateway -> MQTT -> RabbitMQ and Chirpstack.
This is production env and I am only to change somethink on Chirpstack decoder site.
datas from Chirpstack are sending directly to Elasticsearch where it is not possible to decode it in that solution
It need to be done on Chirpstack side and sent to Elk
payload bytes->AES->base64->AES->LoRaWAN
if this is really so and you do not confuse anything
then on chirpstack side you can’t do this. write middleware between chirpstack and Elastic and use it as integration. that’s all
I think this is now your third(?) thread asking the same question, and you keep getting the same answers. You will need to write code (outside ChirpStack) to do what you want.
I had to create new topic because in previous you did not have sure that it is not possible and you provided link with libraries so base on your comments I could think that you do not know how it works.