I'm facing a strange problem that I don't really understand:
I'm using 51822 (s130) on a custom board to communicate with iPhone 5S. The parameter that is able to establish a stable connection so far is as follow:
#define MIN_CONN_INTERVAL MSEC_TO_UNITS(504, UNIT_1_25_MS)
#define MAX_CONN_INTERVAL MSEC_TO_UNITS(780, UNIT_1_25_MS)
#define CONN_SUP_TIMEOUT MSEC_TO_UNITS(4000, UNIT_10_MS)
#define SLAVE_LATENCY 0
Instead of value pair 504/780 (for MIN/MAX interval), I have tried 500/1000, 600/900, 750/1125 etc. but no other value pair seem to hold connection. When I used these values the connection usually only last for a couple of minutes then disconnected.
Apple suggest Interval Min ≥ 15 ms (multiples of 15 ms) for establishing and holding a connection successfully.
504 / 1.25 = 403.2 is actually NOT multiples of 15ms, while 750 / 1.25 = 600 satisfy this. But why does 504 /780 actually work? not 750/1125? What other reasons could cause constant disconnection?
Thanks for help!