diff options
| author | kutayboz <kutayboz@gmail.com> | 2023-06-12 00:16:46 +0300 |
|---|---|---|
| committer | kutayboz <kutayboz@gmail.com> | 2023-06-12 00:16:46 +0300 |
| commit | 15b34952c44f19e6e31d81096c6ee43b6f1a201d (patch) | |
| tree | 2c3096e72bc3a6de20757d67185a0e7cbdbb9671 /include/bg96.h | |
| parent | c516904d94603631a1abccc7525e00c9c35533f8 (diff) | |
| download | celnetmon-15b34952c44f19e6e31d81096c6ee43b6f1a201d.tar.gz | |
Working MQTT publishing
Diffstat (limited to 'include/bg96.h')
| -rw-r--r-- | include/bg96.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/bg96.h b/include/bg96.h index 116b4ab..b304479 100644 --- a/include/bg96.h +++ b/include/bg96.h @@ -5,12 +5,13 @@ 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 cfgPublicNetwork(char *pathToPort); -int waitForConnection(char *pathToPort, int waitTimeSeconds); +int waitForNetwork(char *pathToPort, int waitTimeSeconds); -int tcpipInit(char *pathToPort); +int mqttDisc(char *pathToPort); -int tcpipClose(char *pathToPort); +int mqttConn(char *pathToPort, char *hostURL, int hostPort, char *username, + char *password); #endif |
