From 80b1b51911e8c4221e918b50039caf7533751e4c Mon Sep 17 00:00:00 2001 From: Ian C Date: Sun, 22 Dec 2024 14:54:20 +0000 Subject: Updates to skeleton and added wifi routine skeletons. --- wifi.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 wifi.c (limited to 'wifi.c') diff --git a/wifi.c b/wifi.c new file mode 100644 index 0000000..eea5b39 --- /dev/null +++ b/wifi.c @@ -0,0 +1,61 @@ +/* + + dload - Dot command for downloading files on the Spectrum Next + + Copyright (C) 2025 Ian Cowburn (ianc@noddybox.co.uk) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + -------------------------------------------------------------------------- + + Wifi interface + +*/ + +#include +#include + +#include "wifi.h" + +/* ---------------------------------------- PRIVATE ROUTINES +*/ + + +/* ---------------------------------------- PUBLIC ROUTINES +*/ +int WifiConnect(void) +{ + return 0; +} + +int ConnectURL(const char *url) +{ + return 0; +} + +int SendByte(unsigned char c) +{ + return 0; +} + +int GetByte(unsigned char *c) +{ + *c = 0; + return 0; +} + + +/* +vim: ai sw=4 ts=8 expandtab +*/ -- cgit v1.2.3