I have used like this but i have not able to see the notifications during data changes, is this correct?
static const u8 NewDataServer2ClientCharVal[19] = {
CHAR_PROP_READ | CHAR_PROP_NOTIFY,
U16_LO(SPP_SERVER_TO_CLIENT_DP_H), U16_HI(SPP_SERVER_TO_CLIENT_DP_H),
TELINK_SPP_DATA_SERVER2CLIENT
};
{3,ATT_PERMISSIONS_READ,2,16,(u8*)(&my_primaryServiceUUID), (u8*)(&TelinkSppServiceUUID), 0},
{0,ATT_PERMISSIONS_READ,2,sizeof(NewDataServer2ClientCharVal),(u8*)(&my_characterUUID), (u8*)(NewDataServer2ClientCharVal), 0}, //prop
{0,ATT_PERMISSIONS_READ,16,sizeof(uart_rec_data),(u8*)(&TelinkSppDataServer2ClientUUID), (unsigned char *)(&uart_rec_data), 0}, //value
Hi Praveenb1,
The attributes of a service seem correct. But your description of the problem is hard to understand, can you elaborate a bit more?
Thanks for reply, this problem was solved.