Tool/software: Code Composer Studio
I configure the pairing mode of CC2640R2 into JUST WORKS, according to the security_examples_peripheral project, as picture 1 shows. The default passcode is set as 111111 as picture 2 shows. However, when my ipad pairing with CC2640R2 , there is no need to type in the default passcode, as picture 3 shows. If I pair my huawei phone(Android7.0 inside) with CC2640R2 ,I have to type in 111111 to make pairing successful, as picture 4 shows. Picture 5 shows my CC2640R2 launchpad.
My purpose is to relasize the function that I have to type in the default passcode when my ipad pairing with CC2640R2. How to
configure the simple_peripheral project to reach my goal?
picture 2
picture 3
picture 4
picture 5
Attachments:
1、the positon of simple_peripheral project in my computer is as followed:
C:\ti\simplelink_cc2640r2_sdk_1_40_00_45\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral
2、the positon of security_examples_peripheral project in my computer is as followed:
C:\ti\ble_examples-ble_examples-2.2\ble_examples-ble_examples-2.2\examples\cc2650em\security_examples_peripheral
3、you can download the simplelink_cc2640r2_sdk_1_40_00_45 from the following website:
dev.ti.com/.../
4、you can download the ble_examples-ble_examples-2.2 from the following website:
github.com/.../ble_examples-2.2
5,the file of my simple_peripheral project named in main.c/security_examples_peripheral.h/security_examples_peripheral.c can be
downloaded from here :
6,my complete workspace can be downloaded from here :
7,my CC2640R2 launchpad is bought from here:
www.ti.com/.../launchxl-cc2640r2
My develop environment:
CCS:Code Composer Studio 7.2.0
SDK:simplelink_cc2640r2_sdk_1_40_00_45
hardware:CC26640R2 launchpad develop kit