Can DR or SF be modified by downlink?

I found examples of how to modify the DC value or RGB status by a downlink from TTN. That works fine.

I am not always happy with the SF that results from ADR, sometimes I want to go one step up or down.

Can SF (or DR) be downlinked to the end device and is there an example of the code of a “void downLinkDataHandle(McpsIndication_t *mcpsIndication)” that would handle DC and SF (or DR) messages?

Any help is appreciated,
Rob

Short answer, no, there is no mechanism to inject MAC commands in to the TTS LNS.

The downLinkDataHandle is only for processing the user downlink - the MAC commands are processed within the heart of the (rather ancient) LoRaMac-node.

The general idea is that as all this stuff is super important to the stability of the network & is part of the specification, we mortals aren’t meant to mess with it.

If you look at the docs for TTS you’ll see how you can alter the parameters of the very carefully crafted & tuned parameters based on the experience of the TTI engineers since LoRaWAN started. I’ve never changed them as I trust them more than myself!

I suspect you can go up OR down but not both.

:crossed_fingers: it’s all within Fair Use Policy.