DSWifi
Loading...
Searching...
No Matches
DSWifi documentation

Introduction

A library written in C to use the WiFi hardware of the Nintendo DS.

Features:

  • It supports accessing the Internet using IPv4 and IPv6.
    • Open networks and WEP-encrypted networks are supported.
    • In DSi mode, WPA2-encrypted networks are also supported.
    • TCP and UDP supported.
  • It supports local multiplayer mode:
    • Up to 15 consoles can connect to the host (the limit can be adjusted).
    • It supports direct host <-> client transfers or optimized group transfers.
    • Client connections to the host are handled by the ARM7 automatically.

It uses the following hardware resources of the ARM7:

  • DMA channel 3 in DS mode.
  • NDMA channel 3 in DSi mode.
  • Hardware timer number LIBNDS_DEFAULT_TIMER_WIFI.

It uses the following hardware resources of the ARM9:

  • Hardware timer number LIBNDS_DEFAULT_TIMER_WIFI.

This library contains code of two other open source libraries:

  • lwIP: It contains the IP stack, the code that interprets the data packets sent and received over the network.
  • Mbed TLS: It contains code to handle cryptographic operations. This is used in DSi mode to handle WPA2 encryption.

Usage guides

Technical documentation

API documentation