Hi guys,
I'm investigating on a problem we found in our system. It seems not related to our custom pcb or firmware, you can replicate it with the following setup.
Setup:
- pcb - PCA10028
- softdevice - nRF_SoftDevice_S110 8.0.1
- device app - ble_app_hts_s110_pca10028 (nRF51 PCA10028)
- phone - moto g3 with andorid 6.0.1
- phone app - nRF Connect(updated to last version)
The only code diff vs the original one is:
- +NRF_CLOCK_LFCLKSRC_RC_250_PPM_250MS_CALIBRATION
- -NRF_CLOCK_LFCLKSRC_XTAL_20_PPM
Step:
- start the board
- open nRF Connect
- Scan ble device
- Connect to Nordic_HTS
everything works fine.
Now start to tap quickly on connect/disconnect button, open app log and the error appears, "Error 133 (0x85): GATT ERROR". The device is locked on phone connection and advertising doesn't start, no other phone could discover it, the only way to free it is to turn off the Bluetooth on the phone, close NRF Connect is not enough.
I checked with other phones and the behavior is the same.
I dont' know what happen maybe is something related to these params?
- #define MIN_CONN_INTERVAL MSEC_TO_UNITS(500, UNIT_1_25_MS) /**< Minimum acceptable connection interval (0.5 seconds) */
- #define MAX_CONN_INTERVAL MSEC_TO_UNITS(1000, UNIT_1_25_MS) /**< Maximum acceptable connection interval (1 second). */
- #define SLAVE_LATENCY 0 /**< Slave latency. */
- #define CONN_SUP_TIMEOUT MSEC_TO_UNITS(4000, UNIT_10_MS) /**< Connection supervisory timeout (4 seconds). */
Do you have a workaround?
Thanks in advice for your help