MWiFi is based on a shield using MRF24WB0MA and MCW10001A controller from Microchip ©. This library comes with HTTP library ( its derived class ). MWiFi communicates with Arduino by 3 pins; two pins for SoftwareSerial and pin 7 for shield startup/reset. TX and RX pins are 3 and 2 at present (software defined). Moreover, shield has 4 LEDs, two of tem (0 and 1) used by library. MWiFi has basic functions for network connection (access point or ad-hoc), and for socket opening and management. SoftwareSerial is a customized version and comes inside the library package. Obviously, you can't use SoftwareSerial when you use MWiFi. HTTP library, moreover, adds the http protocol management. Substantially, HTTP library has functions for managing http request and response. MWiFi function groups:
HTTP function groups (added to MWiFi functions):
N.B. Library policy, in case of connection loss, resets Arduino, at present. (Same policy in case of severe error) |
IntroductionMWiFi FunctionsHTTP Functions
ServerClientExamplesFor other programs see example directory (there is also a WEB server ) |