Can't receive characteristics value at bluenrg-2n GATT Client
Hi, I'm doing the development of the bluetooth communication between two bluenrg-2n devices. The bluenrg-2n are connected with stm32f405 through SPI. The two custom boards(GATT Client and Server) are identical. Now I have the problem when receiving data at GATT Client.
I can currently successfully send data at GATT Server as property "notification"and the data can be read at APP "BLE Scanner". Then I try to receive it at GATT Client. After successfully established the connection I use the function "aci_gatt_disc_char_by_uuid" to find the characteristics, which return with status "BLE_STATUS_SUCCESS". But after that I can't get the characteristics value and the codes cannot go into the callback functions, such as "aci_gatt_disc_read_char_by_uuid_resp_event", "aci_gatt_notification_event"... I have read the codes of X-Cube_BLE2 "Central" and "SampleApp", but it seems like that, what I have done is nothing different from the codes in X-Cube-BLE2.
My confuse is, where did I make it wrong or how can I do/which function(s) I should use extrally, to successfully get the characteristics value? What I only want to do is send the data one way from GATT Server to Client.
It will be much appreciated if anyone could give me some advice. Thanks a lot!
