File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 43
43
//|
44
44
//| Create a new Characteristic object identified by the specified UUID.
45
45
//|
46
- //| :param uuid: The uuid of the characteristic
46
+ //| :param bleio.UUID uuid: The uuid of the characteristic
47
47
//|
48
48
49
49
//| .. attribute:: broadcast
Original file line number Diff line number Diff line change 65
65
66
66
//| .. method:: scan(timeout)
67
67
//|
68
- //| Performs a BLE scan lasting :py:data:`timeout` ms .
68
+ //| Performs a BLE scan.
69
69
//|
70
+ //| :param int timeout: the scan timeout in ms
70
71
//| :returns: advertising packets found
71
72
//| :rtype: list of :py:class:`bleio.ScanEntry`
72
73
//|
Original file line number Diff line number Diff line change 43
43
//| Create a new Service object identified by the specified UUID.
44
44
//| To mark the service as secondary, pass `True` as :py:data:`secondary`.
45
45
//|
46
- //| :param uuid: The uuid of the service
46
+ //| :param bleio.UUID uuid: The uuid of the service
47
+ //| :param bool secondary: If the service is a secondary one
47
48
//|
48
49
49
50
//| .. method:: add_characteristic(characteristic)
Original file line number Diff line number Diff line change 89
89
//| - a `str` value in the format of '0xXXXX' for 16-bit or 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX' for 128-bit
90
90
//| - another UUID object
91
91
//|
92
- //| :param uuid: The uuid to encapsulate
92
+ //| :param int/str uuid: The uuid to encapsulate
93
93
//|
94
94
95
95
//| .. attribute:: type
You can’t perform that action at this time.
0 commit comments