1 #ifndef _TWR_MODULE_SIGFOX_H 2 #define _TWR_MODULE_SIGFOX_H 4 #include <twr_td1207r.h> 5 #include <twr_wssfm10r1at.h> 49 typedef struct twr_module_sigfox_t twr_module_sigfox_t;
51 struct twr_module_sigfox_t
134 #endif // _TWR_MODULE_SIGFOX_H bool twr_module_sigfox_is_ready(twr_module_sigfox_t *self)
Check if modem is ready for commands.
bool twr_module_sigfox_read_device_id(twr_module_sigfox_t *self)
Read device ID command.
RF frame transmission finished event.
RF frame transmission started event.
struct twr_td1207r_t twr_td1207r_t
TD1207R instance.
twr_module_sigfox_event_t
Callback events.
bool twr_module_sigfox_get_device_id(twr_module_sigfox_t *self, char *buffer, size_t buffer_size)
Get device ID (can be called only in TWR_WSSFM10R1AT_EVENT_READ_DEVICE_ID event)
bool twr_module_sigfox_read_device_pac(twr_module_sigfox_t *self)
Read device PAC command.
bool twr_module_sigfox_continuous_wave(twr_module_sigfox_t *self)
Generate continuous wave command.
struct twr_wssfm10r1at_t twr_wssfm10r1at_t
WSSFM10R1AT instance.
Device ID has been read event.
void twr_module_sigfox_set_event_handler(twr_module_sigfox_t *self, void(*event_handler)(twr_module_sigfox_t *, twr_module_sigfox_event_t, void *), void *event_param)
Set callback function.
void twr_module_sigfox_init(twr_module_sigfox_t *self, twr_module_sigfox_revision_t revision)
Initialize HARDWARIO SigFox Module.
twr_module_sigfox_revision_t
SigFox Module hardware revision.
bool twr_module_sigfox_send_rf_frame(twr_module_sigfox_t *self, const void *buffer, size_t length)
Send RF frame command.
bool twr_module_sigfox_get_device_pac(twr_module_sigfox_t *self, char *buffer, size_t buffer_size)
Get device PAC (can be called only in TWR_WSSFM10R1AT_EVENT_READ_DEVICE_ID event) ...
Device PAC has been read event.