| |
| ezeio2:apiref:scancode [2024-11-21 21:13] – created andreh | ezeio2:apiref:scancode [2026-03-17 18:38] (current) – andreh |
|---|
| | ''name'' | A plain-text name of the record (optional, default blank) | | | ''name'' | A plain-text name of the record (optional, default blank) | |
| | ''userid'' | An associated user id number (32 bit integer) (optional, default 0) | | | ''userid'' | An associated user id number (32 bit integer) (optional, default 0) | |
| | ''notbefore'' | An absolute time defining when the scancode if first valid (default 'now') | | | ''notbefore'' | An absolute time (UTC) defining when the scancode if first valid (default 'now') | |
| | ''notafter'' | An absolute time defining when the scancode is no longer valid (default 'now'+30 days | | | ''notafter'' | An absolute time (UTC) defining when the scancode is no longer valid (default 'now'+30 days | |
| | ''validweekdays'' | An array of (7) flags (0/1) corresponding to Sunday-Saturday. Scancode is only valid if the corresponding flag is set. (default all '1') | | | ''validweekdays'' | An array of (7) flags (0/1) corresponding to Sunday-Saturday. Scancode is only valid if the corresponding flag is set. (default all '1') | |
| | ''validfrom'' | Time of day in HH:MM format. The scancode is only valid after this time. (optional, default 00:00) | | | ''validfrom'' | Time of day in HH:MM format. The scancode is only valid after this time. (optional, default 00:00, local time) | |
| | ''validto'' | Time of day in HH:MM format. The scancode is only valid before this time. (optional, default 24:00) | | | ''validto'' | Time of day in HH:MM format. The scancode is only valid before this time. (optional, default 24:00, local time) | |
| | ''maxuse'' | Max number of times the scancode can be used. (0-32767, optional, default 32767) | | | ''maxuse'' | Max number of times the scancode can be used. (0-32767, optional, default 32767=infinite) | |
| | ''maxlife'' | Time in minutes from the first time the scancode is accepted until it will expire (0-32767, optional, default null) | | | ''maxlife'' | Time in minutes from the first time the scancode is accepted until it will expire (0-32767, optional, default null) | |
| | ''command'' | The command code that will be reported to the driver when scancode is validated (0-255, optional, default 0) | | | ''command'' | The command code that will be reported to the driver when scancode is validated (0-255, optional, default 0) | |