Skip to content

Commit b0800ee

Browse files
committed
updated doc string on stations_ap
1 parent d0bfd3d commit b0800ee

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

shared-bindings/wifi/Radio.c

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -662,14 +662,10 @@ STATIC mp_obj_t wifi_radio_get_ap_info(mp_obj_t self) {
662662
MP_DEFINE_CONST_FUN_OBJ_1(wifi_radio_get_ap_info_obj, wifi_radio_get_ap_info);
663663

664664
//| stations_ap: None
665-
//| """In AP mode, returns list of objects (read-only)
666-
//| mac: bytearray
667-
//| rssi: int
668-
//| ipv4_address: ipv4_address (0.0.0.0 if station connected but no address assigned yet or self-assigned address)
669-
//|
670-
//| .. note::
671-
//|
672-
//| The raspberrypi port (RP2040 CYW43) does not report rssi, so the value will be None"""
665+
//| """In AP mode, returns list of named tuples, each of which contains:
666+
//| mac: bytearray (read-only)
667+
//| rssi: int (read-only, None on Raspberry Pi Pico W)
668+
//| ipv4_address: ipv4_address (read-only, None if station connected but no address assigned yet or self-assigned address)"""
673669
STATIC mp_obj_t wifi_radio_get_stations_ap(mp_obj_t self) {
674670
return common_hal_wifi_radio_get_stations_ap(self);
675671
}

0 commit comments

Comments
 (0)