PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <stdlib.h>
#include <stdbool.h>
#include <lib/cdev/CDev.hpp>
#include <drivers/drv_hrt.h>
#include <uORB/Publication.hpp>
#include <uORB/PublicationQueued.hpp>
#include <uORB/topics/iridiumsbd_status.h>
#include <uORB/topics/subsystem_info.h>
Go to the source code of this file.
Classes | |
class | IridiumSBD |
The driver for the Rockblock 9602 and 9603 RockBlock module for satellite communication over the Iridium satellite system. More... | |
Macros | |
#define | SATCOM_TX_BUF_LEN 340 |
#define | SATCOM_MAX_MESSAGE_LENGTH 50 |
#define | SATCOM_RX_MSG_BUF_LEN 270 |
#define | SATCOM_RX_COMMAND_BUF_LEN 50 |
#define | SATCOM_SIGNAL_REFRESH_DELAY 20000000 |
Enumerations | |
enum | satcom_status { SATCOM_OK = 0, SATCOM_NO_MSG = -1, SATCOM_ERROR = -255 } |
enum | satcom_uart_status { SATCOM_UART_OK = 0, SATCOM_UART_OPEN_FAIL = -1 } |
enum | satcom_read_status { SATCOM_READ_OK = 0, SATCOM_READ_TIMEOUT = -1, SATCOM_READ_PARSING_FAIL = -2 } |
enum | satcom_result_code { SATCOM_RESULT_OK, SATCOM_RESULT_ERROR, SATCOM_RESULT_SBDRING, SATCOM_RESULT_READY, SATCOM_RESULT_HWFAIL, SATCOM_RESULT_NA } |
enum | satcom_state { SATCOM_STATE_STANDBY, SATCOM_STATE_CSQ, SATCOM_STATE_SBDSESSION, SATCOM_STATE_TEST } |
Functions | |
__EXPORT int | iridiumsbd_main (int argc, char *argv[]) |
#define SATCOM_MAX_MESSAGE_LENGTH 50 |
Definition at line 89 of file IridiumSBD.h.
Referenced by IridiumSBD::ioctl().
#define SATCOM_RX_COMMAND_BUF_LEN 50 |
Definition at line 91 of file IridiumSBD.h.
#define SATCOM_RX_MSG_BUF_LEN 270 |
Definition at line 90 of file IridiumSBD.h.
#define SATCOM_SIGNAL_REFRESH_DELAY 20000000 |
Definition at line 92 of file IridiumSBD.h.
Referenced by IridiumSBD::standby_loop().
#define SATCOM_TX_BUF_LEN 340 |
Definition at line 88 of file IridiumSBD.h.
Referenced by IridiumSBD::ioctl(), IridiumSBD::poll_state(), and IridiumSBD::write().
enum satcom_read_status |
Enumerator | |
---|---|
SATCOM_READ_OK | |
SATCOM_READ_TIMEOUT | |
SATCOM_READ_PARSING_FAIL |
Definition at line 58 of file IridiumSBD.h.
enum satcom_result_code |
Enumerator | |
---|---|
SATCOM_RESULT_OK | |
SATCOM_RESULT_ERROR | |
SATCOM_RESULT_SBDRING | |
SATCOM_RESULT_READY | |
SATCOM_RESULT_HWFAIL | |
SATCOM_RESULT_NA |
Definition at line 64 of file IridiumSBD.h.
enum satcom_state |
Enumerator | |
---|---|
SATCOM_STATE_STANDBY | |
SATCOM_STATE_CSQ | |
SATCOM_STATE_SBDSESSION | |
SATCOM_STATE_TEST |
Definition at line 79 of file IridiumSBD.h.
enum satcom_status |
Enumerator | |
---|---|
SATCOM_OK | |
SATCOM_NO_MSG | |
SATCOM_ERROR |
Definition at line 47 of file IridiumSBD.h.
enum satcom_uart_status |
Enumerator | |
---|---|
SATCOM_UART_OK | |
SATCOM_UART_OPEN_FAIL |
Definition at line 53 of file IridiumSBD.h.
__EXPORT int iridiumsbd_main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 1148 of file IridiumSBD.cpp.
References OK, IridiumSBD::start(), IridiumSBD::status(), IridiumSBD::stop(), and IridiumSBD::test().