-
this should work with
var wifi = require("ESP8266WiFi_0v25").connect(Serial2, function(err) {
i guess?Not sure how it differs from ESP8266 AT commands. The list of RTL8720DN AT commands is referenced in this post https://forum.amebaiot.com/t/resources-bw16-troubleshooting-guide/678#references-23 and looks like the AT firmware is part of official SDK so (same?) AT commands are also described here https://github.com/ambiot/ambd_sdk/tree/master/doc and the source code is https://github.com/ambiot/ambd_sdk/tree/master/component/common/api/at_cmd and https://github.com/ambiot/ambd_sdk/tree/master/component/common/example/uart_atcmd
Also SeedStudio did some work here https://github.com/Seeed-Studio/Seeed_Arduino_rpcWiFi to unify development using esp32 and RTL8720DN so same code can use both, however this is not using AT commands so not easily usable from Espruino.
It looks interesting, ordered BW16 kit and bare module from https://www.aliexpress.com/item/1005001320366011.html just in case. Total price below $10 including VAT and shipping for both.
I have also just found the RTL8720DN.
looks like its fairly new.
this should work with
var wifi = require("ESP8266WiFi_0v25").connect(Serial2, function(err) {
i guess?
I don't really need it for speed, but for the limited channels on the 2.4 GHz network.
I am currently looking for an alternative to wifi for my IoT devices,
maybe something like Zigbee or I just read about EspruinoHub.
Sooner or later I want to separate my normal stuff from the IoT stuff.