2019-10-30 11:21 AM
Reading the SampleApp code when the client send data to the server it seems that an EVT_BLUE_GATT_ATTRIBUTE_MODIFIED should be detected in the user_notify(...) function. But if I write on the characteristic from my tablet app nothing happens...
In the BlueNRG-1, BlueNRG-MS programming manual is suggested to Implement in the main.c a function called HCI_Event_CB() that should be called in the HCI_Process(), but there isn't written were to call the HCI_Process() function. Considering that I implemented an RTOS where do I have to call the HCI_Process()?
I feel that I am missing something important. Can anybody help me?
Thanks in advance
P.s.:
The characteristic was added like this:
ret = aci_gatt_add_char(sampleServHandle, UUID_TYPE_128, charUuidRX, 20, CHAR_PROP_WRITE|CHAR_PROP_WRITE_WITHOUT_RESP, ATTR_PERMISSION_NONE, GATT_NOTIFY_ATTRIBUTE_WRITE, 16, 1, &RXCharHandle);
if (ret != BLE_STATUS_SUCCESS) goto fail;