From 9c2579e769b6f2567cd3068d4f64d465bfd0cf92 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Wed, 25 Jul 2012 17:24:15 +0200 Subject: [PATCH] doc: Fix handover agent API description OOB data given by agent is used for both Hr and Hs. Hash must be present if Randomizer is present in dictionary. --- doc/handover-agent-api.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/handover-agent-api.txt b/doc/handover-agent-api.txt index 441b393..9bacc31 100644 --- a/doc/handover-agent-api.txt +++ b/doc/handover-agent-api.txt @@ -12,8 +12,8 @@ Methods dict RequestOOB() [experimental] agent, typically the BlueZ daemon. The service daemon will use this OOB data to build - a Handover Request message, send it to the selector - and let it proceed with the Bluetooth pairing. + a Handover Request or Select message and send it to + remote device. If there is no Bluetooth adapter or if it doesn't support simple pairing the agent will return an error. @@ -47,7 +47,8 @@ Fields string Address array{byte} Hash The simple pairing hash C. - This is an optional field. + This is a mandatory field if Randomizer is present, + otherwise optional. array{byte} Randomizer -- 2.7.4