@@ -145,8 +145,8 @@ const mp_obj_property_t bleio_adapter_name_obj = {
145145//| .. note: If you set ``anonymous=True``, then a timeout must be specified. If no timeout is
146146//| specified, then the maximum allowed timeout will be selected automatically.
147147//|
148- //| :param buf data: advertising data packet bytes
149- //| :param buf scan_response: scan response data packet bytes. ``None`` if no scan response is needed.
148+ //| :param ~_typing.ReadableBuffer data: advertising data packet bytes
149+ //| :param ~_typing.ReadableBuffer scan_response: scan response data packet bytes. ``None`` if no scan response is needed.
150150//| :param bool connectable: If `True` then other devices are allowed to connect to this peripheral.
151151//| :param bool anonymous: If `True` then this device's MAC address is randomized before advertising.
152152//| :param int timeout: If set, we will only advertise for this many seconds.
@@ -219,7 +219,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_1(bleio_adapter_stop_advertising_obj, bleio_adapt
219219//| """Starts a BLE scan and returns an iterator of results. Advertisements and scan responses are
220220//| filtered and returned separately.
221221//|
222- //| :param sequence prefixes: Sequence of byte string prefixes to filter advertising packets
222+ //| :param ~_typing.ReadableBuffer prefixes: Sequence of byte string prefixes to filter advertising packets
223223//| with. A packet without an advertising structure that matches one of the prefixes is
224224//| ignored. Format is one byte for length (n) and n bytes of prefix and can be repeated.
225225//| :param int buffer_size: the maximum number of advertising bytes to buffer.
@@ -334,7 +334,7 @@ const mp_obj_property_t bleio_adapter_connected_obj = {
334334 (mp_obj_t )& mp_const_none_obj },
335335};
336336
337- //| connections: tuple
337+ //| connections: Tuple[Connection]
338338//| """Tuple of active connections including those initiated through
339339//| :py:meth:`_bleio.Adapter.connect`. (read-only)"""
340340//|
0 commit comments