Other Parts Discussed in Thread: CC2650
Tool/software: Code Composer Studio
Hello
I am trying to connect LaunchXL CC2650 multi role to a phone and to another multi role.
When I advertise with the multi role and connect to it from the phone, it works for around 30 seconds, in which I can read and write to my GATT profile from the phone, but after 30 seconds it disconnects.
It seems the connection is not really completed:
Advertise ->
Advertising
Connected!
Connected to 1
0x64ACBC4EEFF2
Advertising
Cxn 0 pairing started
Passcode: 123456
Cxn 0 pairing fail: 23
Connected to 0
Disconnected!
When I connect from another multi role it works fine:
Advertise ->
Advertising
Connected!
Connected to 1
0x247189084481
Advertising
Cxn 0 pairing started
Simple Svc Found
Cxn 0 pairing success
Cxn 0 bond save success
1. It seems something is missing for the phone, like an acknowledgement or something like that. Anyone?
2. How can I prevent GATT services until the connection is completed?
Thanks
Amit