Part Number: LAUNCHXL-CC2650
Other Parts Discussed in Thread: CC2650
Tool/software: TI-RTOS
Hello All,
We are working on BLE application.
We use:
CC2650 LauchXL
TI RTOS
Password config:
uint32_t passkey = 123456;
uint8_t pairMode = GAPBOND_PAIRING_MODE_WAIT_FOR_REQ;
uint8_t mitm = TRUE;
uint8_t ioCap = GAPBOND_IO_CAP_DISPLAY_ONLY;
uint8_t bonding = TRUE;
GAPBondMgr_SetParameter(GAPBOND_DEFAULT_PASSCODE, sizeof(uint32_t),&passkey);
GAPBondMgr_SetParameter(GAPBOND_PAIRING_MODE, sizeof (uint8_t), &pairMode);
GAPBondMgr_SetParameter(GAPBOND_MITM_PROTECTION, sizeof (uint8_t), &mitm);
GAPBondMgr_SetParameter(GAPBOND_IO_CAPABILITIES, sizeof (uint8_t), &ioCap);
GAPBondMgr_SetParameter(GAPBOND_BONDING_ENABLED, sizeof (uint8_t), &bonding);
We set as above config. the main issue is:
When we enter wrong password 1 st time it is fail but try with second time with wrong password but it do not fail and it auto pair with mobile.
Need suggestion what we forget..
thanks & regards
chintan