cancel
Showing results for 
Search instead for 
Did you mean: 

I'm working on the SensorTile board that acts as a server in a BLE connection with a tablet (the client). I was able to send data trough the BLE from server to the client but I can't send data from client to server. Do you have any suggestions?

MatteoFeatureJam
Associate II

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;

0 REPLIES 0