Downlink - UnaBiz/unabiz-arduino GitHub Wiki

You can now write code like this to get Sigfox downlink data:

  transceiver.sendMessageAndGetResponse("0102030405060708090a0b0c", response);
  Serial.print(F("Downlink response is "));  Serial.println(response);

or

  if (msg.sendAndGetResponse(response)) {
    Serial.print(F("Downlink response is "));  Serial.println(response); 

and the output looks like:

Downlink response is 0123456789ABCDEF

Check the sample code in https://github.com/UnaBiz/unabiz-arduino/blob/master/examples/downlink/downlink.ino

If you're looking for a server that supports downlink, check out the latest sigfox-gcloud code. The downlink response is hardcoded for now:

function getResponse(req, device0, body /* , msg */) {
  //  Compose the callback response to Sigfox Cloud and return as a promise.
  //  If body.ack is true, then we must wait for the result and return to Sigfox as the downlink data.
  //  Else tell Sigfox we will not be returning any downlink data.
...
  //  Wait for the result.  Must be 8 bytes hex.
  //  TODO: We hardcode the result for now.
  const result = '0123456789abcdef';

from https://github.com/UnaBiz/sigfox-gcloud/blob/master/sigfoxCallback/index.js