Functions that retrieve depth, speed, temperature, and battery voltage data from the connected black box fish finder.
More...
Functions that retrieve depth, speed, temperature, and battery voltage data from the connected black box fish finder.
These are member functions of the STFishFinder class.
- Note
- The function to retrieve image data is not a member of the STFishFinder class, but is in fact a member of the STFishFinder::ImageColumn class. See STFishFinder::ImageColumn::GetImageData().
- See also
- Getters for Local Settings
-
Getters for Master Settings
-
Getters for Attributes
-
Getters for Limits
#include <STFF-FishFinder.h>
Getter function to provide the current Battery Voltage data.
- Parameters
-
[out] | pBatteryVoltageData | pointer to a location where the requested Battery Voltage data will be stored. The *pBatteryVoltageData value is a struct of type FF_BatteryVoltageData_t. The struct contains a voltage member containing the current voltage of the battery powering the black box, in hundredths of a volt, and a status value that indicates whether the provided battery voltage value is valid, invalid, simulated, or a log playback. The application should not display an invalid value, or should clearly indicate that the displayed value is invalid. If pBatteryVoltageData is a null pointer, then no value will be stored. |
- Return values
-
- Note
- Do not call this function before the API status has reached FF_API_STATUS_READY. See How To Connect to a Black Box Fish Finder for details.
#include <STFF-FishFinder.h>
Getter function to provide the current Depth data.
- Parameters
-
[in] | units | the requested depth units (feet, meters, or fathoms) in which the data value will be provided |
[out] | pDepthData | pointer to a location where the requested Depth data will be stored. The *pDepthData value is a struct of type FF_DepthData_t. The struct contains a units member that will mirror the units parameter in the call to this function, a depth member containing the current depth in hundredths of the specified units, and a status value that indicates whether the provided depth value is valid, invalid, simulated, or a log playback. The application should not display an invalid value, or should clearly indicate that the displayed value is invalid. If pDepthData is a null pointer, then no value will be stored. |
- Return values
-
- Note
- Do not call this function before the API status has reached FF_API_STATUS_READY. See How To Connect to a Black Box Fish Finder for details.
#include <STFF-FishFinder.h>
Getter function to provide the current Speed Through Water data.
- Parameters
-
[in] | units | the requested speed units (knots, mph, or kph) in which the data value will be provided |
[out] | pSpeedData | pointer to a location where the requested Speed data will be stored. The *pSpeedData value is a struct of type FF_SpeedData_t. The struct contains a units member that will mirror the units parameter in the call to this function, a speed member containing the current speed in hundredths of the specified units, and a status value that indicates whether the provided speed value is valid, invalid, simulated, or a log playback. The application should not display an invalid value, or should clearly indicate that the displayed value is invalid. If pSpeedData is a null pointer, then no value will be stored. |
- Return values
-
- Note
- Do not call this function before the API status has reached FF_API_STATUS_READY. See How To Connect to a Black Box Fish Finder for details.
#include <STFF-FishFinder.h>
Getter function to provide the current water temperature data.
The temperature data reported by this function will have already been adjusted by the Temperature Offset master setting.
- Parameters
-
[in] | units | the requested temperature units (Celsius or Fahrenheit) in which the data value will be provided |
[out] | pTemperatureData | pointer to a location where the requested Temperature data will be stored. The *pTemperatureData value is a struct of type FF_TemperatureData_t. The struct contains a units member that will mirror the units parameter in the call to this function, a temperature member containing the current water temperature in hundredths of the specified units, and a status value that indicates whether the provided temperature value is valid, invalid, simulated, or a log playback. The application should not display an invalid value, or should clearly indicate that the displayed value is invalid. If pTemperatureData is a null pointer, then no value will be stored. |
- Return values
-
- Note
- Do not call this function before the API status has reached FF_API_STATUS_READY. See How To Connect to a Black Box Fish Finder for details.