Tinyfox SigFox Library

Hi,
I am having a problem running the Tiny_UNO_SoftwareSerial example of the Tinyfox Library.
If anyone is familiar with this library, please have a look at my code for any errors.

#include "Tinyfox.h"
#include <SoftwareSerial.h>

#define btn   2
#define SIGFOX_PIN (6)

SoftwareSerial mySerial(8, 9); // RX, TX

Tiny<SoftwareSerial, HardwareSerial> wisol(&mySerial, &Serial, 3, true);

String txMessage;

void setup() {
  pinMode(btn, INPUT_PULLUP);

  pinMode(SIGFOX_PIN, OUTPUT); // SIGFOX PIN
  digitalWrite(SIGFOX_PIN, LOW);//SIGFOX ON

  Serial.begin(9600);
  Serial.println("");
  Serial.println("boot");
  wisol.begin(9600);

  while (!Serial); //comentar si usará una fuente de energía externa

  Serial.println("-Presione botón 2-");
}

void loop() {

  if (digitalRead(btn) == 0) {

    Serial.println("Tx");
    wisol.RST();

    uint32_t valor = 10;
    txMessage = "03f20153044cc2450002";

    Serial.println(wisol.SEND(txMessage));
    wisol.SLEEP();
    delay(3000);
    Serial.println("-Presione botón 2-");
  }

}

Log of above code:

boot
-Presione botón 2-
Tx
env:> AT$GI?

I do not understand the "AT$GI?"

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.