HI,
I am using the SPPLEDemo and running on CC256x QFN EM board with TM4C123G.
After I start the Server Mode:
SPP+LE>RegisterSPPLE
Sucessfully registered SPPLE Service.
SPP+LE>AdvertiseLE 1
GAP_LE_Advertising_Enable success.
After that I use my iPhone to connect the board, I can see the BD_ADDR of my iPhone from the console, then I can pair with my iPhone:
SPP+LE>
etLE_Connection_Complete with size 16.
Status: 0x00.
Role: Slave.
Address Type: Random.
BD_ADDR: 0x7548b694ef35.
SPP+LE>
etGATT_Connection_Device_Connection with size 16:
Connection ID: 1.
Connection Type: LE.
Remote Device: 0x7548b694ef35.
Connection MTU: 23.
SPP+LE>
SPP+LE>pairle 7548b694ef35
Attempting to Pair to 0x7548b694ef35.
GAP_LE_Request_Security returned 0.
SPP+LE>
etLE_Authentication with size 36.
Pairing Request: 0x7548b694ef35.
IO Capability: lcKeyboardDisplay.
MITM: TRUE.
Bonding Type: Bonding.
OOB: OOB Not Present.
Encryption Key Size: 16.
Sending Keys:
LTK: YES.
IRK: YES.
CSRK: YES.
Receiving Keys:
LTK: YES.
IRK: YES.
CSRK: YES.
Sending Pairing Response to 0x7548b694ef35.
GAP_LE_Authentication_Response returned 0.
SPP+LE>
etLE_Authentication with size 36.
latConfirmationRequest.
Invoking Just Works.
SPP+LE>
etLE_Encryption_Change with size 8.
SPP+LE>
etLE_Authentication with size 36.
Encryption Information Request 0x7548b694ef35.
Calling GAP_LE_Generate_Long_Term_Key.
Encryption Information Request Response.
GAP_LE_Authentication_Response (larEncryptionInformation) success.
SPP+LE>
etLE_Authentication with size 36.
Encryption Information from RemoteDevice: 0x7548b694ef35.
Key Size: 16.
SPP+LE>
etLE_Authentication with size 36.
Pairing Status: 0x7548b694ef35.
Status: 0x00.
Key Size: 16.
Then I try the discover the service by ANCS's UUID and I can't see the expected result:
SPP+LE>
Service 0x0003 - 0x0000, UUID: 5a7f.
Any idea? Many thanks for any reply!