Sample Code for the Xkit. The perfect way to get started with Sigfox, the Thinxtra devkit Xkit boasts a full suite of features and accessories to empower anyone to set up an IoT solution, even with very little hardware experience. Perfect for start-ups, design houses, universities and schools, the kit has everything you need to hit the ground running using the globally available Sigfox network.
Hi,
When trying to build the code getting the below error messages, can anyone guide me what's wrong with the code?
Arduino: 1.8.8 (Windows Store 1.8.19.0) (Windows 10), Board: "Arduino/Genuino Uno"
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::configIO(pinIO)'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::setZone()'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::strCmp(char, char, int)'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::getZone()'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::Buffer_Init()'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::ASCII2Hex(unsigned char, int, char)'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::goDeepSleep()'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::wakeDeepSleep()'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::getRecvMsg(_recvMsg*, int)'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::getdownlinkMsg(_recvMsg*)'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::clearBuffer()'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::initSigfox()'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::setPublicKey()'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::setPrivateKey()'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::resetMacroChannel()'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::printRecv(char*, int)'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::testComms()'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::sendMessage(char, unsigned char, _recvMsg)'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::checkChangeZone()'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::prepareZone()'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::sendPayloadProcess(unsigned char, unsigned char, int, _recvMsg)'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::sendPayload(unsigned char, unsigned char, int, _recvMsg)'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Isigfox\WISOL.cpp.o (symbol from plugin): In function `WISOL::configIO(pinIO)':
(.text+0x0): multiple definition of `WISOL::sendPayload(unsigned char*, unsigned char, int)'
sketch\WISOL.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `stableReed()'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `lasttimeReed'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `ReedService'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `Tsensors::configIO()'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `Tsensors::getACK(unsigned char)'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `Tsensors::getPhoto()'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `Tsensors::InitialiseInterrupt()'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `Tsensors::setButton(void ()())'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `ButtonService'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `__vector_4'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `lasttimeButton'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `Tsensors::setReed(void ()())'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `Tsensors::read16(unsigned char, unsigned char)'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `Tsensors::read16_LE(unsigned char, unsigned char)'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `Tsensors::readS16_LE(unsigned char, unsigned char)'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `Tsensors::readCoefficients()'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `Tsensors::readS16(unsigned char, unsigned char)'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `Tsensors::read24(unsigned char, unsigned char)'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `Tsensors::write8(unsigned char, unsigned char, unsigned char)'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `Tsensors::getTemp()'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `Tsensors::getPressure()'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `Tsensors::read8(unsigned char, unsigned char)'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `Tsensors::initSensors()'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `Tsensors::getAccXYZ(acceleration_xyz*)'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `Tsensors::getAccX()'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `Tsensors::getAccY()'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Tsensors\Tsensors.cpp.o (symbol from plugin): In function `stableReed()':
(.text+0x0): multiple definition of `Tsensors::getAccZ()'
sketch\Tsensors.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\SimpleTimer\SimpleTimer.cpp.o (symbol from plugin): In function `SimpleTimer::SimpleTimer()':
(.text+0x0): multiple definition of `SimpleTimer::SimpleTimer()'
sketch\SimpleTimer.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\SimpleTimer\SimpleTimer.cpp.o (symbol from plugin): In function `SimpleTimer::SimpleTimer()':
(.text+0x0): multiple definition of `SimpleTimer::SimpleTimer()'
sketch\SimpleTimer.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\SimpleTimer\SimpleTimer.cpp.o (symbol from plugin): In function `SimpleTimer::SimpleTimer()':
(.text+0x0): multiple definition of `SimpleTimer::findFirstFreeSlot()'
sketch\SimpleTimer.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\SimpleTimer\SimpleTimer.cpp.o (symbol from plugin): In function `SimpleTimer::SimpleTimer()':
(.text+0x0): multiple definition of `SimpleTimer::setTimer(long, void (*)(), int)'
sketch\SimpleTimer.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\SimpleTimer\SimpleTimer.cpp.o (symbol from plugin): In function `SimpleTimer::SimpleTimer()':
(.text+0x0): multiple definition of `SimpleTimer::setInterval(long, void (*)())'
sketch\SimpleTimer.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\SimpleTimer\SimpleTimer.cpp.o (symbol from plugin): In function `SimpleTimer::SimpleTimer()':
(.text+0x0): multiple definition of `SimpleTimer::setTimeout(long, void (*)())'
sketch\SimpleTimer.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\SimpleTimer\SimpleTimer.cpp.o (symbol from plugin): In function `SimpleTimer::SimpleTimer()':
(.text+0x0): multiple definition of `SimpleTimer::deleteTimer(int)'
sketch\SimpleTimer.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\SimpleTimer\SimpleTimer.cpp.o (symbol from plugin): In function `SimpleTimer::SimpleTimer()':
(.text+0x0): multiple definition of `SimpleTimer::run()'
sketch\SimpleTimer.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\SimpleTimer\SimpleTimer.cpp.o (symbol from plugin): In function `SimpleTimer::SimpleTimer()':
(.text+0x0): multiple definition of `SimpleTimer::restartTimer(int)'
sketch\SimpleTimer.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\SimpleTimer\SimpleTimer.cpp.o (symbol from plugin): In function `SimpleTimer::SimpleTimer()':
(.text+0x0): multiple definition of `SimpleTimer::isEnabled(int)'
sketch\SimpleTimer.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\SimpleTimer\SimpleTimer.cpp.o (symbol from plugin): In function `SimpleTimer::SimpleTimer()':
(.text+0x0): multiple definition of `SimpleTimer::enable(int)'
sketch\SimpleTimer.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\SimpleTimer\SimpleTimer.cpp.o (symbol from plugin): In function `SimpleTimer::SimpleTimer()':
(.text+0x0): multiple definition of `SimpleTimer::disable(int)'
sketch\SimpleTimer.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\SimpleTimer\SimpleTimer.cpp.o (symbol from plugin): In function `SimpleTimer::SimpleTimer()':
(.text+0x0): multiple definition of `SimpleTimer::toggle(int)'
sketch\SimpleTimer.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\SimpleTimer\SimpleTimer.cpp.o (symbol from plugin): In function `SimpleTimer::SimpleTimer()':
(.text+0x0): multiple definition of `SimpleTimer::getNumTimers()'
sketch\SimpleTimer.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1 Error compiling for board Arduino/Genuino Uno.
This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.