Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:door_control_api [2018/01/11 11:36]
yjjung [BS2Door]
en:door_control_api [2020/07/29 11:12] (current)
yjjung [BS2DoorSensor]
Line 35: Line 35:
     uint8_t port;     uint8_t port;
     uint8_t switchType;     uint8_t switchType;
-    uint8_t reserved[2];+    ​uint8_t apbUseDoorSensor;​​  
 +    ​uint8_t reserved[1];
 } BS2DoorSensor ; } BS2DoorSensor ;
 </​code>​ </​code>​
Line 49: Line 50:
 |1 |Normally closed ​ | |1 |Normally closed ​ |
 </​WRAP> ​ </​WRAP> ​
-4. //​reserved//​ \\ +4. //​​apbUseDoorSensor//​​ \\   
 +Decides whether to use a door sensor when using Global APB. \\ 
 +Should be used with useGlobalAPB in [[configuration api#​​BS2AuthConfig|BS2AuthConfig]] \\ \\  
 + 
 +5. //​reserved//​ \\ 
 Reserved space. \\ \\ Reserved space. \\ \\
 ==== BS2ExitButton ==== ==== BS2ExitButton ====