summaryrefslogtreecommitdiff
path: root/include/bg96.h
diff options
context:
space:
mode:
authorkutayboz <kutayboz@gmail.com>2023-06-09 02:02:07 +0300
committerkutayboz <kutayboz@gmail.com>2023-06-09 02:02:07 +0300
commit386074fd3ffd04ae21cb914dc84969c9fd981c5e (patch)
tree4e48a10607a75c09fb253b275b3048908a686fa9 /include/bg96.h
parent05a602d2abd9716af6707d5b31c0e8beee707634 (diff)
downloadcelnetmon-386074fd3ffd04ae21cb914dc84969c9fd981c5e.tar.gz
Overhaul. Created bg96 lib.
Diffstat (limited to 'include/bg96.h')
-rw-r--r--include/bg96.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/bg96.h b/include/bg96.h
new file mode 100644
index 0000000..116b4ab
--- /dev/null
+++ b/include/bg96.h
@@ -0,0 +1,16 @@
+#ifndef __INCLUDE_BG96__
+#define __INCLUDE_BG96__
+
+int powerOn(char *pathToPort, char *pathToChip, int statusPin, int pwrKeyPin);
+
+int powerOff(char *pathToPort, char *pathToChip, int statusPin, int pwrKeyPin);
+
+int setupPublicConnection(char *pathToPort);
+
+int waitForConnection(char *pathToPort, int waitTimeSeconds);
+
+int tcpipInit(char *pathToPort);
+
+int tcpipClose(char *pathToPort);
+
+#endif