bleio: Improve type documentation
This commit is contained in:
parent
3bd65fbae5
commit
5412bf66c3
@ -43,7 +43,7 @@
|
||||
//|
|
||||
//| Create a new Characteristic object identified by the specified UUID.
|
||||
//|
|
||||
//| :param uuid: The uuid of the characteristic
|
||||
//| :param bleio.UUID uuid: The uuid of the characteristic
|
||||
//|
|
||||
|
||||
//| .. attribute:: broadcast
|
||||
|
@ -65,8 +65,9 @@
|
||||
|
||||
//| .. method:: scan(timeout)
|
||||
//|
|
||||
//| Performs a BLE scan lasting :py:data:`timeout` ms.
|
||||
//| Performs a BLE scan.
|
||||
//|
|
||||
//| :param int timeout: the scan timeout in ms
|
||||
//| :returns: advertising packets found
|
||||
//| :rtype: list of :py:class:`bleio.ScanEntry`
|
||||
//|
|
||||
|
@ -43,7 +43,8 @@
|
||||
//| Create a new Service object identified by the specified UUID.
|
||||
//| To mark the service as secondary, pass `True` as :py:data:`secondary`.
|
||||
//|
|
||||
//| :param uuid: The uuid of the service
|
||||
//| :param bleio.UUID uuid: The uuid of the service
|
||||
//| :param bool secondary: If the service is a secondary one
|
||||
//|
|
||||
|
||||
//| .. method:: add_characteristic(characteristic)
|
||||
|
@ -89,7 +89,7 @@ enum {
|
||||
//| - a `str` value in the format of '0xXXXX' for 16-bit or 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX' for 128-bit
|
||||
//| - another UUID object
|
||||
//|
|
||||
//| :param uuid: The uuid to encapsulate
|
||||
//| :param int/str uuid: The uuid to encapsulate
|
||||
//|
|
||||
|
||||
//| .. attribute:: type
|
||||
|
Loading…
Reference in New Issue
Block a user