Midnight Sun Firmware
Loading...
Searching...
No Matches
FotaRx

Public Member Functions

None __init__ (self, str port, int baudrate=115200, float timeout=1)
 
def __del__ (self)
 
bytes recieve (self)
 
def close (self)
 

Public Attributes

 ser
 

Detailed Description

@brief Fota receive class to receive acknowledgments over XBee

Constructor & Destructor Documentation

◆ __init__()

None __init__ (   self,
str  port,
int   baudrate = 115200,
float   timeout = 1 
)
@brief Initialize FotaRx with a serial connection

◆ __del__()

def __del__ (   self)
@brief Close serial connection when object is deleted or program exits

Member Function Documentation

◆ close()

def close (   self)
@brief Closes any serial connection

◆ recieve()

bytes recieve (   self)
@brief Setups up receieving the bytes from the designated serial port

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