pico-stuff/lib/usb_network_stack
Luigi F. Cruz 7225eef9dc
Update network core.
2023-01-28 22:16:01 -08:00
..
CMakeLists.txt Add RNDIS helper library for PiccoloSDR. 2021-03-12 01:21:43 -03:00
README.md Add RNDIS helper library for PiccoloSDR. 2021-03-12 01:21:43 -03:00
lwipopts.h Replace TCP with UDP. (#1) 2021-05-03 00:36:21 -03:00
tusb_config.h Update network core. 2023-01-28 22:16:01 -08:00
usb_descriptors.c Update network core. 2023-01-28 22:16:01 -08:00
usb_network.h Update network core. 2023-01-28 22:16:01 -08:00

README.md

USB Network Stack

This is a helper library utilizing the TinyUSB RNDIS protocol to create a network interface via the USB port of the Pico. The network speed is between 6-10 Mbps. This is a limitation imposed by the Full Speed USB present on the RP2040. A good example of how to use this helper library is the tcp_server app.

Dependencies

Apps Using This Library

  • PiccoloSDR: A primitive direct-sampling SDR.
  • Iperf Server: A tool to measure the performance of the TinyUSB's TCP/IP stack over USB.
  • TCP Server: A TCP server example to send high-frequency data to the host computer.

Usage

#include "usb_network.h"

int main() {
    network_init();

    while (1) {
        network_step();
    }
}