User Manual

ip: The IPAddress (https://adafru.it/lGd) to ping.
Returns: The response time in milliseconds if the IP address responded to the ping request, or '0' if the ping failed.
Factory Reset
If you set your WICED Feather modules into an unknown state of encounter unexpected behaviour, you can try to
perform a full factory reset or reset the non-volatile config memory using these helper functions.
void factoryReset ( void )
Performs a full factory reset on the module, with the following consequences:
Erases all config data in non-volatile memory (NVM)
Erases any user code ('Arduino' code) from flash memory
Resets the device to the same state as when it shipped from the factory (although the current FeatherLib will be
kept intact)
Performs a system reset, which will send the device into DFU mode since no user code is present on the device.
Parameters: None
Returns: Nothing
void nvmReset ( void )
Erases the non-volatile config memory on the WICED module, resetting the config settings to factory defaults.
Parameters: None
Returns: Nothing
Hardware Random Number Generator
The STM32F205 includes a HW white-noise random number generator that provides better results than a purely
software based approach.
This can be used to generate random strings or numeric values for security purposes.
bool randomNumber ( uint32_t* random32bit )
Assigns a random unsigned 32-bit integer value to 'random32bit'.
Parameters:
random32bit: A pointer to the variable where the random number should be assigned
Returns: 'True' (1) if the random number generation was successful, otherwise 'false' (0).
Real Time Clock
The STM32F205 includes a real time clock, and as soon as you connect to an AP with internet access it will try to
update the RTC clock based on an NTP server.
The RTC can be read in both Linux Epoch (UTC) (https://adafru.it/lNA) time or ISO8601 (https://adafru.it/lNB) format.
© Adafruit Industries https://learn.adafruit.com/introducing-the-adafruit-wiced-feather-wifi Page 65 of 202