Arduino SigFox for MKRFox1200 - SigFox.statusCode()

Description

Returns the protocol status code

Syntax

SigFox.statusCode(protocol);

Parameters

protocol: can be one of either:

  • SSM
  • ATMEL
  • SIGFOX

Returns

the status code of the chosen protocol:

SSM

TBD

Atmel

Bit0: PA on/off indication Bit6: System ready to operate (system ready event) Bit5: Frame sent (frame ready event) Bit4 to Bit1: Error code

  • 0000: no error
  • 0001: command error / not supported
  • 0010: generic error
  • 0011: frequency error
  • 0100: usage error
  • 0101: opening error
  • 0110: closing error
  • 0111: send error

SIGFOX

0x00: No error 0x01: Manufacturer error 0x02: ID or key error 0x03: State machine error 0x04: Frame size error 0x05: Manufacturer send error 0x06: Get voltage/temperature error 0x07: Close issues encountered 0x08: API error indication 0x09: Error getting PN9 0x0A: Error getting frequency 0x0B: Error building frame 0x0C: Error in delay routine 0x0D: callback causes error 0x0E: timing error 0x0F: frequency error