Hi,
I have been trying to get my head around this for a while with no luck.
I have a Vega IOT SI-13 RS232 device that i am sending ‘1234’ to by serial RS232 link. this device is successfully uplinking to my chirpstack server but I have no idea how to then extract the data from the coding.
The following code is the uplink i get under ‘Device Data’
adr:true
applicationID:"1"
applicationName:"Blue-Skies-Benin"
data:"AwEAAQABAA=="
devEUI:"3939353452385414"
deviceName:"Marco_Scales_1"
fCnt:4
fPort:2
dr:5
frequency:867900000
This is the corresponding loraframe
frequency:867300000
modulation:"LORA"
bandwidth:125
spreadingFactor:7
codeRate:"4/5"
polarizationInversion:false
mType:"UnconfirmedDataUp"
major:"LoRaWANR1"
devAddr:"006cd8fb"
adr:true
adrAckReq:false
ack:false
fPending:false
classB:false
fCnt:5
cid:"LinkADRReq"
channelMaskAck:true
dataRateAck:false
powerAck:true
fPort:2
bytes:"Xcyb47v0kw=="
mic:"e850d7bd"
I am fairly certain the data is no longer encrypted by this point, I just don’t know how to extract the data.
If it helps people, the manual for the device can be found here: https://iotfactory.eu/wp-content/uploads/2019/04/01-VEGA-SI-13-UM_rev-09.pdf and details about the packets and structure are at the back, I just can’t seem to get my head round it.
Can someone please point me in the direction of what my Java Script codec needs to look like to extract the data ‘1234’ from the uplink please? I would be hugely grateful for any advice