![]() |
Midnight Sun Firmware
|
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 | |
@brief Fota receive class to receive acknowledgments over XBee
| None __init__ | ( | self, | |
| str | port, | ||
| int | baudrate = 115200, |
||
| float | timeout = 1 |
||
| ) |
@brief Initialize FotaRx with a serial connection
| def __del__ | ( | self | ) |
@brief Close serial connection when object is deleted or program exits
| def close | ( | self | ) |
@brief Closes any serial connection
| bytes recieve | ( | self | ) |
@brief Setups up receieving the bytes from the designated serial port