Skip to content

Commit

Permalink
setsys: update SetSysBluetoothDevicesSettings for 13.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ndeadly authored and fincs committed Sep 24, 2021
1 parent 8db41ed commit b571429
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions nx/include/switch/services/set.h
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ typedef struct {
/// BluetoothDevicesSettings
typedef struct {
BtdrvAddress addr; ///< \ref BtdrvAddress
BtmBdName name; ///< BdName
BtmBdName name; ///< BdName. Unused on 13.0.0+
BtmClassOfDevice class_of_device; ///< ClassOfDevice
u8 link_key[0x10]; ///< LinkKey
u8 link_key_present; ///< LinkKeyPresent
Expand All @@ -328,7 +328,14 @@ typedef struct {
u8 device_type; ///< DeviceType
u16 brr_size; ///< BrrSize
u8 brr[0x9]; ///< Brr
u8 reserved[0x12B]; ///< Reserved
union {
u8 reserved[0x12B]; ///< Reserved [1.0.0-12.1.0]

struct {
u8 pad; ///< Padding
char name2[0xF9]; ///< Name
}; ///< [13.0.0+]
};
} SetSysBluetoothDevicesSettings;

/// Structure returned by \ref setsysGetFirmwareVersion.
Expand Down

0 comments on commit b571429

Please sign in to comment.