C SIGFOX CALLBACK  0.0.1
A Sigfox Callback program writtent in C
Data Fields
sigfox_raws_s Struct Reference

Contains all the informations that can be given by the Sigfox backend. More...

#include <frames.h>

Data Fields

unsigned char id_modem [SIGFOX_DEVICE_LENGTH+1]
 device identifier (in hexadecimal – up to 8 characters <=> 4 bytes)
 
time_t timestamp
 the event timestamp (in seconds since the Unix Epoch)
 
unsigned char duplicate
 
double snr
 the signal to noise ratio (in dB – Float value with two maximum fraction digits)
 
unsigned char station [SIGFOX_STATION_LENGTH+1]
 the base station identifier (in hexadecimal – 4 characters <=> 2 bytes)
 
unsigned char data_str [SIGFOX_DATA_STR_LENGTH+1]
 the user data (in string)
 
unsigned char data_hex [SIGFOX_DATA_LENGTH]
 the user data (in hexadecimal)
 
double avg_signal
 
short latitude
 the latitude, rounded to the nearest integer, of the base station which received the message
 
short longitude
 the longitude, rounded to the nearest integer, of the base station which received the message
 
double rssi
 
unsigned int seq_number
 the sequence number of the message if available
 
unsigned char ack
 true if this message needs to be acknowledged, false else
 
unsigned char long_polling
 longPolling : 'true' or 'false'
 

Detailed Description

Contains all the informations that can be given by the Sigfox backend.

Field Documentation

double avg_signal

the average signal to noise ratio computed from the last 25 messages (in dB – Float value with two maximum fraction digits) or «N/A». The device must have send at least 15 messages.

unsigned char duplicate

«true» if the message is a duplicate one, meaning that the backend has already processed this message from a different base station, «false» otherwise. To receive duplicate messages, you have to check the «send duplicate» box in the callback configuration page

double rssi

the RSSI (in dBm – Float value with two maximum fraction digits). If there is no data to be returned, then the value is null.


The documentation for this struct was generated from the following file: