|
enum | Instance : uint8_t { Main = 0,
Secondary,
Count
} |
| The GPS allows to run multiple instances.
|
|
|
| GPS (const char *path, gps_driver_mode_t mode, GPSHelper::Interface interface, bool fake_gps, bool enable_sat_info, Instance instance, unsigned configured_baudrate) |
|
void | run () override |
|
int | print_status () override |
| Diagnostics - print some basic information about the driver.
|
|
void | schedule_reset (GPSRestartType restart_type) |
| Schedule reset of the GPS device.
|
|
void | reset_if_scheduled () |
| Reset device if reset was scheduled.
|
|
§ custom_command()
int GPS::custom_command |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
|
static |
§ instantiate()
GPS * GPS::instantiate |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
|
static |
§ print_usage()
int GPS::print_usage |
( |
const char * |
reason = nullptr | ) |
|
|
static |
§ run()
- See also
- ModuleBase::run()
§ task_spawn()
int GPS::task_spawn |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: