|
|
|
@ -34,6 +34,9 @@ public:
@@ -34,6 +34,9 @@ public:
|
|
|
|
|
|
|
|
|
|
AP_Beacon(AP_SerialManager &_serial_manager); |
|
|
|
|
|
|
|
|
|
// get singleton instance
|
|
|
|
|
static AP_Beacon *get_singleton() { return _singleton; } |
|
|
|
|
|
|
|
|
|
// external position backend types (used by _TYPE parameter)
|
|
|
|
|
enum AP_BeaconType { |
|
|
|
|
AP_BeaconType_None = 0, |
|
|
|
@ -102,6 +105,8 @@ public:
@@ -102,6 +105,8 @@ public:
|
|
|
|
|
|
|
|
|
|
private: |
|
|
|
|
|
|
|
|
|
static AP_Beacon *_singleton; |
|
|
|
|
|
|
|
|
|
// check if device is ready
|
|
|
|
|
bool device_ready(void) const; |
|
|
|
|
|
|
|
|
@ -138,3 +143,7 @@ private:
@@ -138,3 +143,7 @@ private:
|
|
|
|
|
uint8_t boundary_num_points; // number of points in boundary
|
|
|
|
|
uint8_t boundary_num_beacons; // total number of beacon points consumed while building boundary
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
namespace AP { |
|
|
|
|
AP_Beacon *beacon(); |
|
|
|
|
}; |
|
|
|
|