@@ -145,8 +145,8 @@ const mp_obj_property_t bleio_adapter_name_obj = {
145
145
//| .. note: If you set ``anonymous=True``, then a timeout must be specified. If no timeout is
146
146
//| specified, then the maximum allowed timeout will be selected automatically.
147
147
//|
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.
150
150
//| :param bool connectable: If `True` then other devices are allowed to connect to this peripheral.
151
151
//| :param bool anonymous: If `True` then this device's MAC address is randomized before advertising.
152
152
//| :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
219
219
//| """Starts a BLE scan and returns an iterator of results. Advertisements and scan responses are
220
220
//| filtered and returned separately.
221
221
//|
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
223
223
//| with. A packet without an advertising structure that matches one of the prefixes is
224
224
//| ignored. Format is one byte for length (n) and n bytes of prefix and can be repeated.
225
225
//| :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 = {
334
334
(mp_obj_t )& mp_const_none_obj },
335
335
};
336
336
337
- //| connections: tuple
337
+ //| connections: Tuple[Connection]
338
338
//| """Tuple of active connections including those initiated through
339
339
//| :py:meth:`_bleio.Adapter.connect`. (read-only)"""
340
340
//|
0 commit comments