Commit Graph

11 Commits

Author SHA1 Message Date
Peter Harper
86496336c1 Add tls_client example (#305)
* Add tls_client example

This requires pico_mbedtls in the pico-sdk
Connects to worldtimeapi.org and retrieves a web page
Originally written by Floris Bos @maxnet
2023-02-04 16:41:44 -06:00
Brian Cooke
5d9f227d71 fix typos in pico-w examples (#236)
* fix typo in iperf example

* fix type in ping example
2023-02-02 19:23:54 +00:00
Peter Harper
566ce86a6e Improve ap example (#233)
* Add dns server

The access point example is a bit complicated to use as you have to open
a browser and enter a url with the IP address of the device

Add a simple dns server that can be used to make the access point behave
like a captive portal. All DNS requests point back to the gateway IP.

* Improve AP example

The web page /ledtest gives you a web page with an option to turn the
led on and off

Start the DNS server and redirect all HTTP requests to this page.

Improve the code so it can handle more than one request at a time.

Fixes: #232
2023-01-23 08:35:33 -06:00
Peter Harper
a605c65774 ping example app throws lwip assert (#309)
Now LWIP_PLATFORM_ASSERT has been fixed we're seeing an assert for the
ping example app.
It sets the SO_RCVTIMEO socket option which is not enabled.

Fixes #308
2023-01-04 12:58:44 -06:00
Peter Harper
c80026dbed Add UDP transmitter example (#306)
Co-authored-by: Andrew McDonnell <bugs@andrewmcdonnell.net>
2022-12-22 17:20:35 -06:00
Peter Harper
5bb4f7f6cb Fix issues building examples with LWIP_IPV6 (#268)
Fixes https://github.com/raspberrypi/pico-examples/issues/265
2022-12-06 18:49:18 -05:00
Mücahit KURTLAR
f31966d69d Add Python test scripts and rename MicroPython scripts (#246) 2022-12-06 18:48:11 -05:00
Wenzel
75c6a5e9db Fix missing TCP_PORT for printf in TCP server example (#270)
Also replace `%d` with `%u`

Co-authored-by: Viacheslav Lotsmanov <lotsmanov89@gmail.com>
2022-10-12 20:09:04 -05:00
Peter Harper
5555037e78 Load WIFI_SSID and WIFI_PASSWORD from environment (#274)
Fixes #273
2022-09-11 07:31:06 -05:00
David Christensen
15e7d06abd README and comment change for pico-w examples (#242) 2022-07-16 16:14:49 -05:00
graham sanderson
01e8128953 Add Pico W examples 2022-06-29 23:12:10 -05:00