From 386074fd3ffd04ae21cb914dc84969c9fd981c5e Mon Sep 17 00:00:00 2001 From: kutayboz Date: Fri, 9 Jun 2023 02:02:07 +0300 Subject: Overhaul. Created bg96 lib. --- include/bg96.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 include/bg96.h (limited to 'include/bg96.h') 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 -- cgit v1.3