Before I go off and try and reinvent the wheel or do my usual thing of making things more complicated as they are.
The setup I have is an M02 running Node Red on the Lan Side, On the LoRa side I have 3 AMG88XX Sensors on a cubecell with a filter to fire off triggers based on what now is a 18 X 8 matrix. Tis part of the project works perfectly with the each sensor after its been read put in to low power mode and when all sensors are read Vext is turned off to conserve power during the sleep cycles.
The next part of the project is to be able to adjust the settings on the cubecell via the Node Red interface, Currently i can set the trigger levels, and a few other settings but would like to be able to change the
devEui, appEui, appKey and possibly the userChannelsMask
These values are all in HEX, now unless i am mistaken the M02 sends its data in Base64. On the Cubecell side the payload is decoded in to a string.
Is there a way to make downLinkDataHandle return the actual hex rather than decoding it? I have not been able to find where its located in the libraries to take a look.
Or would I be better off just sticking with the base64 string then splitting it in to a byte array?
Has anyone set up a similar system?