Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3923

General • Re: [Docu]: Connecting to the internet with picoW.pdf

$
0
0
Part of the issue here is that the IP support isn't part of the SDK itself, it's provided by a separate (open source) package - LWIP.
The SDK does integrate this for you, but the interface (and hence the documentation) is LWIP, not PicoSDK.

If you already have experience of LWIP from elsewhere, this is fairly straightforward. If not, it's quite a steep learning curve.

Then there's the fact that most internet applications will need some level of asynchronous operation (unlike many simple SDK-based applications). There are then multiple ways of achieving that: you can use FreeRTOS, which lets you use the sockets-based API to LWIP, but now you've got FreeRTOS to learn as well. Or you can use the lower-level API to LWIP - which works fine, and is more in line with typical SDK-based applications, but will be an unfamiliar network API to many people.

Couple that with the fact that a lot of people only have a sketchy idea of how TCP/IP works and just want to get on with higher-layer protocols and it is easy to see why the documentation favours the Python approach (where someone else has done most of this tricky stuff for you).

Statistics: Posted by arg001 — Wed Jul 24, 2024 5:09 pm



Viewing all articles
Browse latest Browse all 3923

Trending Articles