Hello,
Up to now I have used an Arduino Uno Wifi to receive httprequest from a smartphone. The target is to guide a robotic platform. Sample of httprequest : 192.168.0.99/FWD > FWD = the command to move forward.
I want to replace this Arduino Wifi by X-Link Wifi Module V3
The module seems to work, I can connect to its interface and assign a static IP adress.
Of course the code used for the Arduino Uno Wifi doesn't work. I don't find any sample, library for this module. I understand I did not make the right choice when when I bought this board. But is it still possible to make it work or the best choice is to send it back ?
Thanks for your suggestions.
This is the code used for Arduino Uno Wifi :
#include <SoftwareSerial.h>
#include <stdio.h>
#include <stdlib.h>
#include <Wire.h>
#include <ArduinoWiFi.h>
char txc[20];
String readString;
void setup()
{ //======= Pour réception commandes en WIFI =============================
Serial.begin(9600);
Serial.println("Setup");
Wifi.begin();
readString = "";
Serial.println("Arduino Wifi Started");
}
void loop()
{
while(Wifi.available()){proc1(Wifi);}
}
void proc1(WifiData client) {
String command = client.readStringUntil('/');
readString = client.readStringUntil('/');
Serial.print("String received : ");
Serial.println(readString);
client.println("Status: 200 OK\n");
}