I'm testing with changing these constant definitions...
MIN_CONN_INTERVAL
MAX_CONN_INTERVAL
SLAVE_LATENCY
CONN_SUP_TIMEOUT
... but I've noticed that I can't set MAX_CONN_INTERVAL to more than 4 seconds (SECOND_1_25_MS_UNITS * 4) nor can I set CONN_SUP_TIMEOUT to more than 32 seconds (SECOND_10_MS_UNITS * 32).
Observations:
-
Coincidentally the actual definition count limits are 3200 for both (800 x 4 and 100 x 32 respectively) but the data structure item is an uint16_t so it should be OK to use up to 65535 count.
-
As soon as I use 3201 to either one of those constants, then I can't get any more interrupts in the system (such as a GPIOTE button press, for example). I think something happens in the Soft Device, but I'm not sure.
Why doesn't the SW run correctly when I set them to 3201 count or more? I don't even advertise nor connect. The system simply doesn't run correctly after those parameters are set. What am I doing wrong?
Thank you!
Gil