Hi,
I still have password problems
i cant connect to joy-reef with the arduino and when i try to connect to the arduino using the code from base64
The format show be:
http://local_IP:port/?cmd=password_in_base64,0,Ki get response":"000
If i use the serial monitor theres no response
i made all others configurations according to new tutorial, i changed the part of "Funções do ethernet shield" in the sketch so its like in the new ferduino code with the username and API key.
boolean Ethernet_Shield = true; // Altere para "false" caso não tenha um Ethernet Shield conectado ao Arduino.
char *Username = "nederlof"; // Coloque aqui o nome de usuário cadastrado no joy-reef.com
char *APIKEY = "xxxxxx"; // Cole aqui a ApiKey gerada pelo joy-reef.com
byte maxima_tentativa = 3; // Número máximo de tentativas de autenticação.
unsigned long intervalo_tentativa = 15; // Tempo de espera (em minutos) para novas tentativas.
byte mac[] = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; // Este MAC deve ser único na sua rede local.
byte ip[] = {x, x, x, x}; // Configure o IP conforme a sua rede local.
IPAddress dnsServer(8, 8, 8, 8); // Configure o IP conforme a sua rede local. Este é o DNS do Google, geralmente não é necessário mudar.
IPAddress gateway(x,x,x,x); // Configure o "Gateway" conforme a sua rede local.
IPAddress subnet(255, 255, 255, 0); // Configure a máscara de rede conforme a sua rede local.
EthernetServer server(80); // Coloque aqui o número da porta configurada no seu roteador para redirecionamento.
// O número da porta deverá ser obrigatóriamente um destes: 80, 5000, 6000, 7000, 8000, 8080 ou 9000.
unsigned long intervalo = 0;
char *inParse[25];
boolean web_teste = false;
byte tentativa = 0;
boolean web_dosage = false;
unsigned long millis_dosagem = 0;
unsigned long millis_enviar = 0;
boolean web_calibracao = false;
char *token = ":";
char Auth1[50];
unsigned long teste_led_millis = 0;
and i changed the part on the webserver tab so its like in the new ferduino code,this becausse ther wher compilling error and the now fixed.
Kind regards Len