You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to migrate my LoRA applications from v2 (EOL 2021-12) to v3, does anyone have experience with it or already wrote some updated code snippet?
As far as I can see, the application definition needs more parameters (LoRA specific, e.g. versions, which I did not really know) and the js Decoder function needs adaption.
May not be too difficult, though I am not really a js coder. I can see some patterns looking at
the payload formater examples, but find it too difficult to transpile due to lacking background.
There is only one variable input with input.bytes and input.fPort, the rest of the function may be similar. I don't yet get the events and where/how they are transferred (port definition? data.event = events[input.fPort]).
I don't know if a downlink function would be necessary, it may be needed (with a reversed logic).
There is a device repository with payload formatters, maybe this is the right place for this kind of code?
The text was updated successfully, but these errors were encountered:
I want to migrate my LoRA applications from v2 (EOL 2021-12) to v3, does anyone have experience with it or already wrote some updated code snippet?
As far as I can see, the application definition needs more parameters (LoRA specific, e.g. versions, which I did not really know) and the js Decoder function needs adaption.
May not be too difficult, though I am not really a js coder. I can see some patterns looking at
the payload formater examples, but find it too difficult to transpile due to lacking background.
There is only one variable
input
withinput.bytes
andinput.fPort
, the rest of the function may be similar. I don't yet get theevents
and where/how they are transferred (port definition?data.event = events[input.fPort]
).I don't know if a downlink function would be necessary, it may be needed (with a reversed logic).
There is a device repository with payload formatters, maybe this is the right place for this kind of code?
The text was updated successfully, but these errors were encountered: