Part Number: LAUNCHXL-CC26X2R1
Hi Sir,
I am working on cc2652R1F launch pad. For getting started, I have explored project zero and host test projects. And simple central and simple peripheral projects.
Now I want to perform the same functionality as simple central and simple peripheral, but without the button press operation.
I want the central device to get connected to the target peripheral device for which I have modified the code accordingly by giving the address of peripheral device.
I have trigerred the functions,
SimpleCentral_doDiscoverDevices();
SimpleCentral_doConnect();
SimpleCentral_doSelectConn();
in the case GAP_DEVICE_INIT_DONE_EVENT in function, SimpleCentral_processGapMsg().
and the function SimpleCentral_doGattWrite(), in the case GAP_LINK_ESTABLISHED_EVENT of SimpleCentral_processGapMsg() function.
By doing so, the device is able to discover and connect to the target device but not write into the target peripheral device.
What is the reason for which it is not able to write? Are there any other events that must be trigerred other than those mentioned?
NOTE : As a beginner, I want to use the same SDK code , with simple_profile_char1 UUID and characteristic ID, and perform the read and write operations without button press.