mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
btdrv: add bluetooth event info definition for connection event on fw < 9.0.0
(cherry picked from commit 1e7abd975fc906d1a483b33fa86969cb15e93ece)
This commit is contained in:
parent
4a850437f2
commit
88705d34da
@ -89,12 +89,19 @@ typedef struct {
|
||||
|
||||
struct {
|
||||
union {
|
||||
struct {
|
||||
BtdrvAddress addr; ///< Device address.
|
||||
u8 pad[2]; ///< Padding
|
||||
u32 status; ///< Status, always 0 except with ::BtdrvConnectionEventType_Status: 2 = ACL Link is now Resumed, 9 = connection failed (pairing/authentication failed, or opening the hid connection failed).
|
||||
u32 type; ///< \ref BtdrvConnectionEventType
|
||||
} v1; ///< [1.0.0-8.1.1]
|
||||
|
||||
struct {
|
||||
u32 status; ///< Status, always 0 except with ::BtdrvConnectionEventType_Status: 2 = ACL Link is now Resumed, 9 = connection failed (pairing/authentication failed, or opening the hid connection failed).
|
||||
BtdrvAddress addr; ///< Device address.
|
||||
u8 pad[2]; ///< Padding
|
||||
u32 type; ///< \ref BtdrvConnectionEventType
|
||||
} v1; ///< [1.0.0-11.0.1]
|
||||
} v9; ///< [9.0.0-11.0.1]
|
||||
|
||||
struct {
|
||||
u32 type; ///< \ref BtdrvConnectionEventType
|
||||
|
Loading…
Reference in New Issue
Block a user