@@ -339,7 +339,12 @@ MP_DEFINE_CONST_FUN_OBJ_1(wifi_radio_stop_station_obj, wifi_radio_stop_station);
339339//| or exactly 64 hexadecimal characters if it is the hex form of the 256-bit key.
340340//|
341341//| If ``max_connections`` is given, the access point will allow up to
342- //| that number of stations to connect."""
342+ //| that number of stations to connect.
343+ //|
344+ //| .. note::
345+ //|
346+ //| In the raspberrypi port (RP2040 CYW43), ``max_connections`` is ignored.
347+ //| """
343348//| ...
344349STATIC mp_obj_t wifi_radio_start_ap (size_t n_args , const mp_obj_t * pos_args , mp_map_t * kw_args ) {
345350 enum { ARG_ssid , ARG_password , ARG_channel , ARG_authmode , ARG_max_connections };
@@ -559,7 +564,12 @@ MP_PROPERTY_GETTER(wifi_radio_ipv4_subnet_ap_obj,
559564//| ipv4_dns: Optional[ipaddress.IPv4Address],
560565//| ) -> None:
561566//| """Sets the IP v4 address of the station. Must include the netmask and gateway. DNS address is optional.
562- //| Setting the address manually will stop the DHCP client."""
567+ //| Setting the address manually will stop the DHCP client.
568+ //|
569+ //| .. note::
570+ //|
571+ //| In the raspberrypi port (RP2040 CYW43), the access point needs to be started before the IP v4 address can be set.
572+ //| """
563573//| ...
564574STATIC mp_obj_t wifi_radio_set_ipv4_address (size_t n_args , const mp_obj_t * pos_args , mp_map_t * kw_args ) {
565575 enum { ARG_ipv4 , ARG_netmask , ARG_gateway , ARG_ipv4_dns };
0 commit comments