Closed WhistleMaster closed 8 years ago
Add Network API functions such as:
tingbot.is_connected() returns True if tingbot is connected to the Internet otherwise False. tingbot.get_ip_address(interface) returns the IP interface IP address if available otherwise None.
tingbot.is_connected()
True
False
tingbot.get_ip_address(interface)
None
tingbot.hardware.get_ip_address will give an IP address or None if offline.
tingbot.hardware.get_ip_address
Add Network API functions such as:
tingbot.is_connected()
returnsTrue
if tingbot is connected to the Internet otherwiseFalse
.tingbot.get_ip_address(interface)
returns the IP interface IP address if available otherwiseNone
.