Question
BlueNRG-MS GATT write
Posted on October 29, 2015 at 13:26
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_length, max_conn_length, conn_min_interval, conn_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? #gatt-bluenrg-ms