744 def hasWifi(self): |
744 def hasWifi(self): |
745 """ |
745 """ |
746 Public method to check the availability of WiFi. |
746 Public method to check the availability of WiFi. |
747 |
747 |
748 @return tuple containing a flag indicating the availability of WiFi |
748 @return tuple containing a flag indicating the availability of WiFi |
749 and the WiFi type (picow or pimoroni) |
749 and the WiFi type (circuitpython) |
750 @rtype tuple of (bool, str) |
750 @rtype tuple of (bool, str) |
751 @exception OSError raised to indicate an issue with the device |
751 @exception OSError raised to indicate an issue with the device |
752 """ |
752 """ |
753 command = """ |
753 command = """ |
754 def has_wifi(): |
754 def has_wifi(): |