Issue: when the battery level is requested for the first time from mobile its responding correctly. but, when it is requested for the second time from mobile, disconnection happens with message unknown error (0x3b).
Issue: when the battery level is requested for the first time from mobile its responding correctly. but, when it is requested for the second time from mobile, disconnection happens with message unknown error (0x3b).
if I change the value as suggested, its not listing in mobile (not advertising). whether the connection parameter will change from mobile to mobile or uniform settings is there for android mobiles?
Try to set it to 20ms then, so you have something like this:
#define MIN_CONN_INTERVAL MSEC_TO_UNITS(20, UNIT_1_25_MS) /**< Minimum acceptable connection interval (20 ms). */
#define MAX_CONN_INTERVAL MSEC_TO_UNITS(1000, UNIT_1_25_MS) /**< Maximum acceptable connection interval (1 second). */
There is no uniform connection settings for Android. What Android version are you using on the motoE ?