Other Parts Discussed in Thread: CC1352R, SYSCONFIG
Tool/software:
Dear experts,
Currently i am working with CC2340 based instrument with CC1352R(Central), i have modified the code in simplecentral.c i got the following log
DEV_IDENTIFIED
Connecting to DEV_ADDR...
Connected to 0x40791213A330, scConnHandle=0x0000
Num Conns: 1
Encryption success
DISCOVERY_CASE_CALLED
DISCOVERY_FUNCTION_CALLED (conn=0x0000)
ExchangeMTU sent on conn=0x0000, status=0x00
GATT Msg: method=0x03 status=0x00 state=1
DiscEvt: method=0x03, status=0x00, state=1
MTU rsp OK → Discover All Services
Sent DiscAllPrimaryServices on conn=0x0000, status=0x00
MTU Size: 65
GATT Msg: method=0x11 status=0x00 state=2
DiscEvt: method=0x11, status=0x00, state=2
Service Found: start=0x0001 end=0x000B UUID=0x1800
Service Found: start=0x000C end=0x0010 UUID=0x180A
UUID BE (rsp): f000c0c0-0451-4000-b000-000000000000
Target SVC matched @ [0x0011..0x0016]
UUID BE (rsp): f000ffd0-0451-4000-b000-000000000000
GATT Msg: method=0x11 status=0x1a state=2
DiscEvt: method=0x11, status=0x1a, state=2
DiscAllChars [0x0011..0x0016] status=0x00
GATT Msg: method=0x09 status=0x00 state=3
DiscEvt: method=0x09, status=0x00, state=3
Char: declH=0x0012 valH=0x0013 props=0x08 uuid128=f000c0c1-0451-4000-b000-000000000000 (WRITE)
Char: declH=0x0014 valH=0x0015 props=0x10 uuid128=f000c0c2-0451-4000-b000-000000000000 (NOTIFY)
GATT Msg: method=0x09 status=0x1a state=3
DiscEvt: method=0x09, status=0x1a, state=3
Char discovery complete
CCCD fallback -> 0x0016
Writing CCCD @0x0016 (enable NOTIFY)
If needed, I can share my code via private message. Please guide me on how to resolve the issue.
Note: The device in question is a CC2340-based peripheral. I am unable to check the connection log, but the device works perfectly with the nRF Connect application. I have a question: when connecting via the nRF Connect application, it prompts for a passkey, but in the process described above, the device does not trigger the passkey function. Why is this happening?
regards
Surya


