set: update SetSysBluetoothDevicesSettings with new fields found in recent firmwares

This commit is contained in:
ndeadly 2025-04-07 10:53:57 +02:00
parent 60bf943ec1
commit 6490bba9b1

View File

@ -312,7 +312,7 @@ typedef struct {
/// BluetoothDevicesSettings /// BluetoothDevicesSettings
typedef struct { typedef struct {
BtdrvAddress addr; ///< \ref BtdrvAddress BtdrvAddress addr; ///< \ref BtdrvAddress
BtmBdName name; ///< BdName. Unused on 13.0.0+ BtmBdName name; ///< [1.0.0-12.1.0] BdName. On 13.0.0+ name2 is used instead.
BtmClassOfDevice class_of_device; ///< ClassOfDevice BtmClassOfDevice class_of_device; ///< ClassOfDevice
u8 link_key[0x10]; ///< LinkKey u8 link_key[0x10]; ///< LinkKey
u8 link_key_present; ///< LinkKeyPresent u8 link_key_present; ///< LinkKeyPresent
@ -328,14 +328,11 @@ typedef struct {
u8 device_type; ///< DeviceType u8 device_type; ///< DeviceType
u16 brr_size; ///< BrrSize u16 brr_size; ///< BrrSize
u8 brr[0x9]; ///< Brr u8 brr[0x9]; ///< Brr
union { u8 audio_source_volume; ///< [13.0.0+] AudioSourceVolume
u8 reserved[0x12B]; ///< Reserved [1.0.0-12.1.0] char name2[0xF9]; ///< [13.0.0+] Name
u8 audio_sink_volume; ///< [15.0.0+] AudioSinkVolume
struct { u32 audio_flags; ///< [14.0.0+] AudioFlags
u8 pad; ///< Padding u8 reserved[0x2C]; ///< Reserved
char name2[0xF9]; ///< Name
}; ///< [13.0.0+]
};
} SetSysBluetoothDevicesSettings; } SetSysBluetoothDevicesSettings;
/// Structure returned by \ref setsysGetFirmwareVersion. /// Structure returned by \ref setsysGetFirmwareVersion.