Hello,
I'am starting use SimpleNB to implement SIM7080G Narrowband Modem.
[Edited]
I am aware that is a standard C library, that may not be supported in Arduino implementation of C.
But the author publish the library as an "Arduino" library. That makes me confused.
When compiling the examples I get this error:
In file included from d:\AsusCloud\Electronica\Arduino\Development\libraries\SimpleNB\src/SimpleNBClient.h:34:0,
from C:\Users\horac\AppData\Local\Temp\.arduinoIDE-unsaved2023920-12928-lwaj3x.1oo8p\http_post\http_post.ino:21:
d:\AsusCloud\Electronica\Arduino\Development\libraries\SimpleNB\src/SimpleNBClientSIM7080.h:25:10: fatal error: ctime: No such file or directory
#include <ctime>
^~~~~~~
compilation terminated.
The file that has the include line is:
/**
* @file SimpleNBClientSIM7080.tpp
* @author Volodymyr Shymanskyy
* @author Henry Cheung
* @license LGPL-3.0
* @copyright Copyright (c) 2016 Volodymyr Shymanskyy.
* @copyright Copyright (c) 2021 Henry Cheung.
* @date Nov 2016
*/
#ifndef SRC_SIMPLE_NB_CLIENTSIM7080_H_
#define SRC_SIMPLE_NB_CLIENTSIM7080_H_
// #define SIMPLE_NB_DEBUG Serial
// #define SIMPLE_NB_USE_HEX
#define SIMPLE_NB_MUX_COUNT 12
#define SIMPLE_NB_BUFFER_READ_AND_CHECK_SIZE
#include "SimpleNBClientSIM70xx.h"
#include "SimpleNBTCP.tpp"
#include "SimpleNBSSL.tpp"
#include "SimpleNBGPS.tpp"
#include "SimpleNBGSMLocation.tpp"
#include <ctime>
class SimpleNBSim7080 : public SimpleNBSim70xx<SimpleNBSim7080>,
public SimpleNBTCP<SimpleNBSim7080, SIMPLE_NB_MUX_COUNT>,
SimpleNB is documented by the author as a strepped down version of TinyGSM, removing phased out modems.
Thanks for your help, and best regards!