Sigfox APIs implementation for the Sens'it.
More...
Sigfox APIs implementation for the Sens'it.
◆ RADIO_API_init()
Initialize Sens'it radio & Sigfox library.
- Return values
-
RADIO_ERR_NONE | No error |
RADIO_ERR_CONFIGURE_RADIO | Failed to configure Sens'it radio |
RADIO_ERR_OPEN | Failed to open Sigfox library |
RADIO_ERR_SET_STD_CONFIG | Failed to configure Sigfox library |
◆ RADIO_API_send_message()
Send a Sigfox message.
- Parameters
-
[in] | color | Color of led toggle during transmission |
[in] | data | Data to transmit |
[in] | size | Size of data to transmit |
[in] | downlink | True to required a downlink |
[out] | response_ptr | Pointer to get downlink data (max: 8 bytes) |
- Return values
-
RADIO_ERR_NONE | No error |
RADIO_ERR_SWITCH_ON | Failed to switch radio ON |
RADIO_ERR_DUTY_CYCLE | Transmission not allowed, duty cycle limit reach (RC1 only) |
RADIO_ERR_NO_CHANNEL | Transmission not allowed, no available channel (RC2 & RC4 only) |
RADIO_ERR_LBT | Transmission not allowed, channel occupied (RC3 only) |
RADIO_ERR_SEND | SIGFOX_API_send_frame internal error |
RADIO_ERR_RECEIVE | No downlink message received |
RADIO_ERR_NVMEM | Error during NVMEM storage |