From db9929c0fd1876397d930011acc36735177b8b2f Mon Sep 17 00:00:00 2001 From: ndeadly <24677491+ndeadly@users.noreply.github.com> Date: Tue, 20 Oct 2026 14:01:53 +0200 Subject: [PATCH] btm: fill out GattClientConditionList fields --- nx/include/switch/services/btm_types.h | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/nx/include/switch/services/btm_types.h b/nx/include/switch/services/btm_types.h index 5285f5307..5273e1780 100644 --- a/nx/include/switch/services/btm_types.h +++ b/nx/include/switch/services/btm_types.h @@ -331,9 +331,27 @@ typedef struct { BtmDeviceProperty devices[15]; ///< Array of \ref BtmDeviceProperty. } BtmDevicePropertyList; +/// GattClientCondition +typedef struct { + u8 client_if; ///< Client interface handle + u8 pad[3]; ///< Padding + BtdrvAddress address; ///< \ref BtdrvAddress + u8 pad2[2]; ///< Padding + u32 conn_id; ///< Connection ID + u16 conn_interval; ///< Connection interval + u16 slave_latency; ///< Slave latency + u16 supervision_tout; ///< Connection supervision timeout multiplier + u16 mtu; ///< MTU value + u8 max_ce_length; ///< Maximum connection event length + bool has_max_ce_length; ///< Indicates whether the above value is configured or not + u8 pad3[2]; ///< Padding +} BtmGattClientCondition; + /// GattClientConditionList typedef struct { - u8 unk_x0[0x74]; ///< Unknown + BtmGattClientCondition clients[4]; ///< Array of \ref BtmGattClientCondition. + u8 client_count; ///< ClientCount + u8 pad[3]; ///< Padding } BtmGattClientConditionList; /// GattService