Supplies application layer support for our custom network in CP341
This C project establishes the application layer for the custom CP341 network.
nic_app.c
is the library file that should be imported to provide sending and receiving functions for an app.nic_app.h
is the header file for the above module.
Keeping with the standards of the class, this code should be built and run on a Raspberry Pi 3B+ with pigpio installed.
To build the CLI, run gcc -pthread -o chat chat.c nic_app.c -lpigpiod_if2
in the src
directory.
To run the CLI, then call ./chat
.
Note: in order to make network calls, the router from nic_net must be running on the computer you wish to run the application on. Follow the instructions in that repository for message organization.
The following code was written by Jessica Hannebert, Dylan Chapell, and Tony Mastromarino.