diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2005-05-06 13:51:17 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2005-05-06 13:51:17 +0000 |
commit | 8d07fe695736cfc4126f1aad4144303161c61e21 (patch) | |
tree | f89f89dcdc4624f2be964d90e4737b1338075d84 /hcid/parser.y | |
parent | cc2dd8a3670f68984f324d6861a344cb68728a1a (diff) |
Add support for the page timeout config option
Diffstat (limited to 'hcid/parser.y')
-rw-r--r-- | hcid/parser.y | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/hcid/parser.y b/hcid/parser.y index a0eb13de..7616ab56 100644 --- a/hcid/parser.y +++ b/hcid/parser.y @@ -64,7 +64,7 @@ int yyerror(char *s); %token K_OPTIONS K_DEVICE %token K_AUTOINIT K_SECURITY K_PAIRING -%token K_PTYPE K_NAME K_CLASS K_VOICE K_INQMODE K_LM K_LP K_AUTH K_ENCRYPT K_ISCAN K_PSCAN +%token K_PTYPE K_NAME K_CLASS K_VOICE K_INQMODE K_PAGETO K_LM K_LP K_AUTH K_ENCRYPT K_ISCAN K_PSCAN %token K_PINHELP K_DBUSPINHELP %token K_YES K_NO @@ -205,6 +205,11 @@ device_opt: parser_device->inqmode = $2; } + | K_PAGETO NUM { + parser_device->flags |= (1 << HCID_SET_PAGETO); + parser_device->pageto = $2; + } + | K_AUTH bool { parser_device->auth = $2; } |