1 of 1 people found this helpful
The default high_supervision_timeout is set to 10.
Default low_supervision_timeout is set to 100.
Until you've successfully established some connection, the function emconninfo_getSupervisionTimeout will return 0. This is because the stored value is not set until after a successful connection callback has occurred.
Are you still getting 0 after a successful connection?
What is your slave device? It's very likely that either your slave cannot keep up with that parameter, or it is refusing the connection based on the parameter.
Ok thanks for confirmation. I checked the value of the timeout before connecting so that would explain why I have 0. Also I do see the importance of setting the supervision timeout during initialization as the default value is small.