I want to send data from central to peripheral and receive data from peripheral to central.
For this i had set
uint8_t valueToCopy;
valueToCopy = 0x05;
Then sending this function on a key press:
"SimpleProfile_SetParameter(SIMPLEPROFILE_CHAR1, sizeof(uint8_t), &valueToCopy);"
and while receiving it i am using:
"SimpleProfile_GetParameter(SIMPLEPROFILE_CHAR1, &newValue);"
and then checking "
if ((uint16_t)newValue==0x05)
{
PIN_setOutputValue(hGpioPin, Board_LED2, Board_LED_ON);
} "
So this is working fine in case of mobile and cc2650 but not is cc2650-cc2650 .
Can Some one please guide me where m going wrong?