Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
en:door_control_api [2016/08/08 15:02] 127.0.0.1 external edit |
en:door_control_api [2024/12/17 08:31] (current) ghshin [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 for APB. \\ | ||
| + | |||
| + | 5. //reserved// \\ | ||
| Reserved space. \\ \\ | Reserved space. \\ \\ | ||
| ==== BS2ExitButton ==== | ==== BS2ExitButton ==== | ||
| Line 155: | Line 159: | ||
| </code> | </code> | ||
| 1. //doorID// \\ | 1. //doorID// \\ | ||
| - | Door ID.\\ \\ | + | Door ID. For V1 devices, ID should be defined less than 65535. \\ \\ |
| 2. //name// \\ | 2. //name// \\ | ||
| - | Name of the door that will be displayed on the BioStar application.\\ \\ | + | Name of the door that will be displayed on the BioStar application. For V1 devices, name can't be defined. \\ \\ |
| 3. //entryDeviceID// \\ | 3. //entryDeviceID// \\ | ||
| Entry device ID.\\ \\ | Entry device ID.\\ \\ | ||