Souci Sigfox / MKRFox

Bonjour,
cela fait un bon moment que j'utilise ma carte Arduino Mkrfox 1200, j'ai téléversé pas mal de donnée dans mon back end Sigfox, par contre je voulais hier renvoyer des données mais j'arrive pas, (j'ai déjà vérifier si la vitesse dans preference.txt est la même que dans le code).
on m'affiche :

Le croquis utilise 45972 octets (17%) de l'espace de stockage de programmes. Le maximum est de 262144 octets. Les variables globales utilisent 3388 octets (10%) de mémoire dynamique, ce qui laisse 29380 octets pour les variables locales. Le maximum est de 32768 octets. Erreur d'ouverture du port série « COM3 ». (Port busy) Erreur d'ouverture du port série « COM3 ». (Port busy)

post déplacé, il n'a rien à faire dans le topic des présentation des membres

Lire les recommandations listées dans "Les bonnes pratiques du Forum Francophone” pour savoir quoi fournir comme info et comment


il y a un bug ligne 42 et le fil rouge n'est pas bien branché...

.... postez votre code (avec les balises)

normalement j'utilise un autre code mais j'ai vérifié avec l'exemple d'Arduino pour le PAC et l'ID, et j'ai toujours le même problème.

#include <SigFox.h>
#include <ArduinoLowPower.h>

void setup() {
  Serial.begin(9600);
  while (!Serial) {};

  // Uncomment this line and comment begin() if you are working with a custom board
  //if (!SigFox.begin(SPI1, 30, 31, 33, 28, LED_BUILTIN)) {
  if (!SigFox.begin()) {
    Serial.println("Shield error or not present!");
    return;
  }
  // Enable debug LED and disable automatic deep sleep
  // Comment this line when shipping your project :)
  SigFox.debug();

  String version = SigFox.SigVersion();
  String ID = SigFox.ID();
  String PAC = SigFox.PAC();

  // Display module information
  Serial.println("MKR Fox 1200 Sigfox first configuration");
  Serial.println("SigFox FW version " + version);
  Serial.println("ID  = " + ID);
  Serial.println("PAC = " + PAC);

  Serial.println("");

  Serial.print("Module temperature: ");
  Serial.println(SigFox.internalTemperature());

  Serial.println("Register your board on https://buy.sigfox.com/activate with provided ID and PAC");
  Serial.println("The displayed PAC is the factory value. It is a throw-away value, which can only be used once for registration.");
  Serial.println("If this device has already been registered, you can retrieve the updated PAC value on https://backend.sigfox.com/device/list");  
  Serial.println("Join the Sigfox Builders Slack community to exchange with other developers, get help .. and find new ideas! https://builders.iotagency.sigfox.com/");
  delay(100);

  // Send the module to the deepest sleep
  SigFox.end();

  Serial.println("Type the message to be sent");
  while (!Serial.available());

  String message;
  while (Serial.available()) {
    message += (char)Serial.read();
  }

  // Every SigFox packet cannot exceed 12 bytes
  // If the string is longer, only the first 12 bytes will be sent

  if (message.length() > 12) {
    Serial.println("Message too long, only first 12 bytes will be sent");
  }

  Serial.println("Sending " + message);

  // Remove EOL
  message.trim();

  // Example of message that can be sent
  // sendString(message);

  Serial.println("Getting the response will take up to 50 seconds");
  Serial.println("The LED will blink while the operation is ongoing");

  // Example of send and read response
  sendStringAndGetResponse(message);
}

void loop()
{
}

void sendString(String str) {
  // Start the module
  SigFox.begin();
  // Wait at least 30mS after first configuration (100mS before)
  delay(100);
  // Clears all pending interrupts
  SigFox.status();
  delay(1);

  SigFox.beginPacket();
  SigFox.print(str);

  int ret = SigFox.endPacket();  // send buffer to SIGFOX network
  if (ret > 0) {
    Serial.println("No transmission");
  } else {
    Serial.println("Transmission ok");
  }

  Serial.println(SigFox.status(SIGFOX));
  Serial.println(SigFox.status(ATMEL));
  SigFox.end();
}

void sendStringAndGetResponse(String str) {
  // Start the module
  SigFox.begin();
  // Wait at least 30mS after first configuration (100mS before)
  delay(100);
  // Clears all pending interrupts
  SigFox.status();
  delay(1);

  SigFox.beginPacket();
  SigFox.print(str);

  int ret = SigFox.endPacket(true);  // send buffer to SIGFOX network and wait for a response
  if (ret > 0) {
    Serial.println("No transmission");
  } else {
    Serial.println("Transmission ok");
  }

  Serial.println(SigFox.status(SIGFOX));
  Serial.println(SigFox.status(ATMEL));

  if (SigFox.parsePacket()) {
    Serial.println("Response from server:");
    while (SigFox.available()) {
      Serial.print("0x");
      Serial.println(SigFox.read(), HEX);
    }
  } else {
    Serial.println("Could not get any response from the server");
    Serial.println("Check the Sigfox coverage in your area");
    Serial.println("If you are indoor, check the 20 dB coverage or move near a window");
  }
  Serial.println();

  SigFox.end();
}

Est-ce que votre souscription est toujours active?

Sinon pour cette histoire de port essayez un double click sur le bouton reset juste avant le téléchargement, rebootez votre PC etc…

Bonjour,

Mon abonnement est actif, j'ai aussi essayé vos recommandations. Mais, quand j'envoie un message, ça compile mais je n'ai rien sur le backend.

avez vous essayé un exemple de base pour voir si ça fonctionne? (j'avais posté un tuto il y a un petit code qui fonctionnait à l'époque)

Bonsoir
Probléme découlant de la situation de RJ de Sigfox ?

oui j'ai essayé les exemples de base présents sur Arduino, mais je reçois rien.

Ah bon vous croyez que c'est à cause de ça ?

Aucune idée
il y a qq utilisateurs de sigfox ici il me semble
@J-M-L @al1fch , je crois
à voir déjà si c'est toujours/encore intègre chez eux ?

Bonsoir

En principe Sigfox fonctionne encore, et il est toujours possible d'y souscrire de la connectivité..

Pour ce qui me concerne je n'ai pas renouvelé mes 2 souscriptions annuelles suite au passage sur The Thing Networks l'été dernier (réseau LoRaWAN collaboratif)

S'ils veulent trouver un acquéreur pour leur réseau en France comme, ils ont pu le faire en Allemagne, ils ont intérêt à maintenir un certain niveau de clientèle

Renouveler en tant que particulier était galère j’ai laissé tomber aussi et LoRa / LoraWan me conviennent très bien et présentent un certain nombre d’avantages technique et pratique

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