Other Parts Discussed in Thread: CC2640
Hi all,
I am working on simple peripheral example. And I want sent a data from CC2640 to smartphone. For this task, I am using second characteristic(having Read property) of the profile.
Below is the function which I used to send data:
SimpleProfile_SetParameter(SIMPLEPROFILE_CHAR2, SIMPLEPROFILE_CHAR2_LEN,
charValue2);
when the SIMPLEPROFILE_CHAR2_LEN value is less than 10, I am able to recieve data in smartphone. But SIMPLEPROFILE_CHAR2_LEN value is more than 10 program was hanging in the below function:
GGS_SetParameter(GGS_DEVICE_NAME_ATT, GAP_DEVICE_NAME_LEN, attDeviceName);
And I want to send 256 bytes of data from CC2640(act as peripheral device) to smartphone(central). Can anyone please help on this?
Thanks,
Aslam