From 4fe95cc1e7412e309d026e53cd44239bd3ef031d Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 16 Sep 2017 16:11:15 -0400 Subject: Wii can now send a POST request to a website The extractor now uses libfat to read a config file off the root of the SD card, a model for which is included in the repository. The extractor is capable of negotiating an HTTPS connection, but it requires a download of the target site's root CA certificate to be on the SD card and pointed at by the config file. TLS/SSL functionality is provided by wolfSSL. I had to make a couple of minor changes to wolfSSL for it to work properly, and those changes are located in the devkitpro branch of my fork, hatkirby/wolfssl. The Wii program now arranges some of the information that the GBA sends it into a JSON object, which is then sent off (along with some authentication information from the config file) to the endpoint defined in the config file. The code used to maintain the network connection is from the WiiTweet project, which was licensed under the GPL. Some of the code used to send the HTTP request also comes from said project. --- gen3uploader.cfg | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 gen3uploader.cfg (limited to 'gen3uploader.cfg') diff --git a/gen3uploader.cfg b/gen3uploader.cfg new file mode 100644 index 0000000..2d987d0 --- /dev/null +++ b/gen3uploader.cfg @@ -0,0 +1,6 @@ +{ + "url": "", + "username": "", + "password": "", + "certificate": "" +} \ No newline at end of file -- cgit 1.4.1