In ArduCAM_Mini_OV2640_websocket_server.ino habe ich den SPI-check
geändert.
//Check if the ArduCAM SPI bus is OK
myCAM.write_reg(ARDUCHIP_TEST1, 0x35);
temp = myCAM.read_reg(ARDUCHIP_TEST1);
Serial.println(temp); <--- hier gibt er 53 aus
if (temp != 0x35)
{
Serial.println("SPI1 interface Error!");
//while(1);
}
- aber im log kein error, wie zu erwarten!
Ob nun das vorzeitige Schliessen des Websockets(im Browser) damit
zusammenhängt, oder Firefox 42 garnicht dafür tauglich ist ??
Im Log(ser. Ausgabe) erscheint nach der Fehlermeldung im Browser:
Websocket established
Und hier das ganze log:
ArduCAM Start!
53
OV2640 detected.
Connecting to FRITZ!Box 7312
.....
WiFi connected
Server started
192.xxx.xxx.xxx
Client connected
Analyzing request headers
Got Line: GET / HTTP/1.1
Got Line: Host: 192.xxx.xxx.xxx
Got Line: User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:42.0)
Gecko/20100101 Firef
ox/42.0
Got Line: Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.
8
Got Line: Accept-Language: de,en-US;q=0.7,en;q=0.3
Got Line: Accept-Encoding: gzip, deflate
Got Line: DNT: 1
Got Line: Sec-WebSocket-Version: 13
Got Line: Origin: null
Got Line: Sec-WebSocket-Extensions: permessage-deflate
Got Line: Sec-WebSocket-Key: YHE/9AP6fLf2GTomXxYBIQ==
Got Line: Connection: keep-alive, Upgrade
Got Line: Pragma: no-cache
Got Line: Cache-Control: no-cache
Got Line: Upgrade: websocket
Got Line:
Websocket established