Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion nx/include/switch/services/btm_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading