1 HandoverAgent hierarchy
2 =======================
5 Interface org.neard.HandoverAgent
6 Object path freely definable
8 Methods dict RequestOOB(dict values) [experimental]
10 This method gets called when the service daemon
11 needs to get Out Of Band data from the handover
12 agent, typically the BlueZ daemon.
14 The service daemon will use this OOB data to build
15 a Handover Request or Select message and send it to
18 Values parameter is optional. It should be a dictionary
19 where the keys are the field names and the values are
20 the actual fields. If provided it should contain remote
21 Out Of Band data received in Handover Request message.
22 Those data will be stored for future use (i.e. when
23 remote initialize pairing) and providing those will not
26 The return value should be a dictionary where the
27 keys are the field names and the values are the
30 Possible Errors: org.neard.HandoverAgent.Error.NotSupported
31 org.neard.HandoverAgent.Error.NoSuchDevice
32 org.neard.HandoverAgent.Error.InProgress
33 org.neard.HandoverAgent.Error.Failed
35 void PushOOB(dict values) [experimental]
37 This method gets called when service daemon received
38 Handover Select message from selector and needs to pass
39 remote Out Of Band data to agent to start handover.
41 If there is no Bluetooth adapter or if it doesn't
42 support simple pairing the agent will return an error.
44 Agent shall implicitly initialize pairing if needed.
46 This function returns when alternative carrier
47 (Bluetooth) is ready to be used i.e. pairing has
50 Parameter should be a dictionary where the keys are the
51 field names and the values are the actual fields.
53 Possible Errors: org.neard.HandoverAgent.Error.NotSupported
54 org.neard.HandoverAgent.Error.NoSuchDevice
55 org.neard.HandoverAgent.Error.InProgress
56 org.neard.HandoverAgent.Error.Failed
58 void Release() [experimental]
60 This method gets called when the service daemon
61 unregisters the agent. An agent can use it to do
62 cleanup tasks. There is no need to unregister the
63 agent, because when this method gets called it has
64 already been unregistered.
66 Fields array{byte} EIR
68 This is EIR blob. Used by SSP capable devices.
70 array{byte} nokia.com:bt
72 This is a proprietary extension blob used by some
73 Nokia Bluetooth 2.0 devices.
77 =======================
80 Interface org.neard.NDEFAgent
81 Object path freely definable
83 Methods dict GetNDEF(dict values) [experimental]
85 This method gets called when the service daemon
86 found an NDEF matching the registered type.
88 The parameter is a dictionary where the keys are the
89 field names and the values are the actual fields.
91 void Release() [experimental]
93 This method gets called when the service daemon
94 unregisters the agent. An agent can use it to do
95 cleanup tasks. There is no need to unregister the
96 agent, because when this method gets called it has
97 already been unregistered.
99 Fields array{byte} NDEF
101 This is the raw NDEF data.
105 This is a record object path.