Why I cannot receive any callbacks for BLE write and notification?
Hello community,
I am developing the ble function based on the "BLE_SensorDemo" project and the evaluation board. Right now I can successfully trigger the "aci_gatt_read_permit_req_event" callback by adding service & characteristics as shown in the first picture, and I am using android to send. The function is shown in the second picture.
However when I add the callback "aci_gatt_notification_event" and "aci_gatt_write_permit_req_event" to the sensor.c file and try to send the message from android, they are not triggered at all. I thought maybe I did not initialize ble properly but I cannot find that in documentation. I also attach how I initilize the ble on the third picture.
So I wonder how can this be solved?



Any help is appreciated,
Song
