Skip to main content
KKIM.6
Senior
February 13, 2023
Solved

What is connection handle when programming microcontroller?

  • February 13, 2023
  • 1 reply
  • 930 views

I'm trying to use aci_gatt_update_char_ext but it requires connection handle.

But in Custom_STM.c file only have service handle and characteristics handle.

Where can I find connection handle and what is typical variable for it?

This topic has been closed for replies.
Best answer by KKIM.6

The connection handle is  "BleApplicationContext.BleApplicationContext_legacy.connectionHandle" in app_ble.c file.

I'm trying to call this to other files.

1 reply

KKIM.6
KKIM.6AuthorBest answer
Senior
August 1, 2023

The connection handle is  "BleApplicationContext.BleApplicationContext_legacy.connectionHandle" in app_ble.c file.

I'm trying to call this to other files.