libnx  v4.8.0
Data Fields
BtdrvHidEventInfo Struct Reference

Data for btdrvGetHidEventInfo. The data stored here depends on the BtdrvHidEventType. More...

#include <btdrv.h>

Data Fields

union {
   u8   data [0x480]
 Raw data.
 
   struct {
      union {
         struct {
            BtdrvAddress   addr
 Device address.
 
            u8   pad [2]
 Padding.
 
            BtdrvHidConnectionStatus   status
 BtdrvHidConnectionStatus
 
         }   v1
 [1.0.0-11.0.1]
 
         struct {
            BtdrvHidConnectionStatus   status
 BtdrvHidConnectionStatus
 
            BtdrvAddress   addr
 Device address.
 
         }   v12
 [12.0.0+]
 
      } 
 
   }   connection
 BtdrvHidEventType_Connection
 
   struct {
      u32   type
 BtdrvExtEventType, controls which data is stored below.
 
      union {
         struct {
            u32   status
 0 for success, non-zero for error.
 
            BtdrvAddress   addr
 Device address.
 
         }   set_tsi
 BtdrvExtEventType_SetTsi
 
         struct {
            u32   status
 0 for success, non-zero for error.
 
            BtdrvAddress   addr
 Device address.
 
         }   exit_tsi
 BtdrvExtEventType_ExitTsi
 
         struct {
            u32   status
 0 for success, non-zero for error.
 
            BtdrvAddress   addr
 Device address.
 
         }   set_burst_mode
 BtdrvExtEventType_SetBurstMode
 
         struct {
            u32   status
 0 for success, non-zero for error.
 
            BtdrvAddress   addr
 Device address.
 
         }   exit_burst_mode
 BtdrvExtEventType_ExitBurstMode
 
         struct {
            u32   status
 0 for success, non-zero for error.
 
            BtdrvAddress   addr
 Device address.
 
            u8   pad [2]
 Padding.
 
            u8   flag
 Flag.
 
         }   set_zero_retransmission
 BtdrvExtEventType_SetZeroRetransmission
 
         struct {
            u32   status
 0 for success, non-zero for error.
 
            BtdrvAddress   addr
 Unused.
 
            u8   pad [2]
 Padding.
 
            u32   count
 Count value.
 
         }   pending_connections
 BtdrvExtEventType_PendingConnections
 
         struct {
            u32   status
 0 for success, non-zero for error.
 
            BtdrvAddress   addr
 Device address.
 
         }   move_to_secondary_piconet
 BtdrvExtEventType_MoveToSecondaryPiconet
 
      } 
 
   }   ext
 ::BtdrvHidEventType_Ext [1.0.0-11.0.1]
 
}; 
 

Detailed Description

Data for btdrvGetHidEventInfo. The data stored here depends on the BtdrvHidEventType.

Field Documentation

◆ addr

BtdrvAddress BtdrvHidEventInfo::addr

Device address.

Unused.


The documentation for this struct was generated from the following file: