AnsweredAssumed Answered

BlueNRG-MS GATT write

Question asked by mikhailov.ivan on Oct 29, 2015
Latest reply on Nov 10, 2015 by Marchese.Graziella
Hi all,

I have a BlueNRG-MS-based GATT server with several characteristics, and I'm able to read and write these characteristics from Android. Now I need to implement a GATT client using BlueNRG-MS to access the GATT server on another device. I'm able to connect to the server using aci_gap_create_connection(), but I can't do neither aci_gatt_disc_charac_by_uuid() nor aci_gatt_disc_all_charac_descriptors() nor aci_gatt_write_charac_value() after the connection is established. The return status of any of these functions is OK, but no relevant events are received neither on the client nor on the server side. The only event I get after some time is the EVT_DISCONN_COMPLETE with reason = 8 (timeout).

Actually I don't quite understand the parameters min_conn_lengthmax_conn_lengthconn_min_intervalconn_max_interval and conn_latency of the aci_gap_create_connection() function. I tried to adjust that, but with no luck.

Can anybody help me with this problem?

Outcomes