Other Parts Discussed in Thread: AM3352, CC2560
Tool/software:
Hello.
I would like to ask you to confirm the cause of the following phenomenon and the validity of the policy.
I am trying to pair AM3352 and CC2650 with another device via UART connection.
I had reset the SAP and reset the CC2650 via GPIO before advertise, resetting the CC2650 via GPIO is also done at power up.
However, when I followed the above procedure to advertise, it did not advertise.
I solved the problem of no advertisement by performing a SAP reset at task startup as in the sample code and removing the reset of the CC2650 by GPIO before advertisement.
However, after this modification, I wanted to send a packet request from AM3352 to CC2650 after pairing, but I could not send a packet request from AM3352 to CC2650 because there was no notification from CC2650 that the communication state is connected.
So, I reset CC2650 by GPIO before advertisement, then I got a notification from CC2650 that the communication state is connected, and I could send a packet transmission request from AM3352 to CC2650.
Is there anything else that might be a problem with this modification?
Here is the sample code I used for reference.
\ti\simplelink\ble_sdk_2_02_07_06\src\examples\simple_ap\cc26xx\app\simple_ap.c
\ti\simplelink\ble_sdk_2_02_07_06\src\examples\simple_ap\cc26xx\app\simple_main.c
Thank you very much for your cooperation.