Loom 4 v4.5
Arduino library for Internet of Things Rapid Prototyping in environmental sensing
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
Loom_SDI12 Class Reference

#include <Loom_SDI12.h>

Inheritance diagram for Loom_SDI12:
Inheritance graph
[legend]
Collaboration diagram for Loom_SDI12:
Collaboration graph
[legend]

Public Member Functions

 Loom_SDI12 (Manager &man, const int pinAddr=11)
 
 Loom_SDI12 (const int pinAddr=11)
 
void initialize () override
 
const char * getSensorInfo (char addr)
 
std::vector< char > getInUseAddresses ()
 
void sendCommand (char response[RESPONSE_SIZE], char addr, const char *command)
 
void requestSensorInfo (char response[RESPONSE_SIZE], char addr)
 
void getData (char addr)
 
std::vector< char > scanAddressSpace ()
 
float getTemperature ()
 
float getDielectricPerm ()
 
float getConductivity ()
 
- Public Member Functions inherited from Module
 Module (const char *modName)
 
void setModuleName (const char *modName)
 
virtual const char * getModuleName ()
 
virtual void printModuleName (const char *message)
 
virtual void initialize ()=0
 
virtual void measure ()=0
 
virtual void package ()=0
 
virtual void power_up ()=0
 
virtual void power_down ()=0
 
virtual void display_data ()
 

Protected Member Functions

void measure () override
 
void package () override
 
void power_down () override
 
void power_up () override
 

Additional Inherited Members

- Public Attributes inherited from Module
bool moduleInitialized = true
 
int module_address = -1
 

Detailed Description

Provides both a loomified in addition to a standard reliable library implementation

Author
Will Richards

Member Function Documentation

◆ initialize()

void Loom_SDI12::initialize ( )
overridevirtual

Implements Module.

◆ measure()

void Loom_SDI12::measure ( )
overrideprotectedvirtual

Implements Module.

◆ package()

void Loom_SDI12::package ( )
overrideprotectedvirtual

Implements Module.

◆ power_down()

void Loom_SDI12::power_down ( )
overrideprotectedvirtual

Implements Module.

◆ power_up()

void Loom_SDI12::power_up ( )
overrideprotectedvirtual

Implements Module.


The documentation for this class was generated from the following files: