Problems sending message with MKRFox1200

Hi everyone,

During the last month, i succeeded to send message with my mkrfox1200. However, it's broken now and i search why.

Here is my code:

#include <SigFox.h>
#define TIMEOFF 1*60*1000

int debug = true;
char buf[12]="801211221";
void setup() 
{
  if (!SigFox.begin())
  {
    reboot(); 
  }
  SigFox.end();
  if (debug) {
    SigFox.debug();
    Serial.begin(9600);
    while(!Serial){};
  }
  delay(10000);
}
void reboot()
{
  NVIC_SystemReset();
  while(1);
}
void error()
{
  Serial.println(SigFox.statusCode(SIGFOX));
}
void loop() 
{
    Serial.println("before beginning");
    if(!SigFox.begin())
    {
      Serial.println("rip");
      return;
    }
    error();
    delay(100);
    SigFox.beginPacket();
    SigFox.print(buf);
    error();
    if(SigFox.endPacket(true))
    {
      Serial.println("rip end");
      return;
    }
    error();
    SigFox.end();
    Serial.println("ending");
    error();
    delay(TIMEOFF);
    Serial.println("end delay");
}

I check the error after each function called but it's return 0 every time when i use SigFox.endPacket().
With SigFox.endPacket(true), the program wait a response and fail. At the next iteration of the loop, StatusCode return 62 but i didn't find what is the meaning of this error.

Have you some idea of the meaning of this error and what is the cause of it ?

Sincerely,
V.mulet

Hi Vmulet,
I Know that it has passed so many time, but did you resolve it?
I've exactly your problem: return code 62.

thanks in advance
Giuseppe