How to assign MX(Maximum Time) when we use HubAction("lan discovery...")?

In our scenario, we may have more devices in same lan network.
So, our device MX is fixed for 4.
We would like to change MX for 4 using HubAction(“lan discovery…”).
And, we tried lot of options, still we are getting MX = 1 in device side.
Could you help me resolve this issue?

Did you ever get this figured out?