~ubuntu-branches/ubuntu/saucy/bluez/saucy

« back to all changes in this revision

Viewing changes to doc/agent-api.txt

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-07-04 13:28:49 UTC
  • mfrom: (1.1.38)
  • Revision ID: package-import@ubuntu.com-20120704132849-tmwu1x7p2vxcclt1
Tags: 4.101-0ubuntu1
* New upstream release
* debian/libbluetooth3.symbols:
  - Updated
* debian/patches/10-unregister_interface_on_exit.patch:
* debian/patches/11-explicitly_close.patch:
* debian/patches/python3.patch:
  - Applied upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
                        so the display should be zero-padded at the start if
62
62
                        the value contains less than 6 digits.
63
63
 
 
64
                void DisplayPinCode(object device, string pincode)
 
65
 
 
66
                        This method gets called when the service daemon
 
67
                        needs to display a pincode for an authentication.
 
68
 
 
69
                        An empty reply should be returned. When the pincode
 
70
                        needs no longer to be displayed, the Cancel method
 
71
                        of the agent will be called.
 
72
 
 
73
                        If this method is not implemented the RequestPinCode
 
74
                        method will be used instead.
 
75
 
 
76
                        This is used during the pairing process of keyboards
 
77
                        that don't support Bluetooth 2.1 Secure Simple Pairing,
 
78
                        in contrast to DisplayPasskey which is used for those
 
79
                        that do.
 
80
 
 
81
                        This method will only ever be called once since
 
82
                        older keyboards do not support typing notification.
 
83
 
 
84
                        Note that the PIN will always be a 6-digit number,
 
85
                        zero-padded to 6 digits. This is for harmony with
 
86
                        the later specification.
 
87
 
64
88
                void RequestConfirmation(object device, uint32 passkey)
65
89
 
66
90
                        This method gets called when the service daemon