Hi @vipulgarg. I have implemented my own board using the chip and it works fine.
Initially though it would not work and it took me ages to realise I had not connected Vdd-IO pin on Lan8720. Once I fixed that, it worked perfectly. I'd suggest tha…
Right, I've been working on doing this and with some help from Sergey and others on chat, I have it working. I think I can summarise as follows.
Assuming you are using C like me, this should make sense:
You need to subscribe to a group of events …
I really need this too - without the documentation, I have made some assumptions but I am struggling to work out how to register a handler to handle when the shadow state changes. Originally I used mgos_aws_shadow_set_state_handler and that wor…
The simplest solution seems to be to have two flags, eth_connected and wifi_connected which are set in the call back.
I have added a 10 second repeating timer which checks those flags and if it finds both of them are true then it disables the wifi.…
Made some progress on this in case anyone else is interested:
mgos_event_add_group_handler(MGOS_EVENT_GRP_NET, networking_cb, NULL);
allows me to subscribe to network events and using mgos_net_event_data I can determine the interface to which the …
Ah brilliant - that's it!
mgos_aws_shadow_init Device shadow name: esp32_024EC0 (token 746abda8)
however that name is incorrect - I do not have a device with that name.
when building, I am using the command switches:
--aws-iot-thing gwl_00000 --…
Curious - in order to ensure I am looking at the right device, I added:
mgos_mqtt_pub("button", "pressed", 7, 1);
within the button handler.
I then subscribed to topic "button" in AWS-IoT and I can see messages arrive every time I press the butto…
ok, the example builds and flashes ok (on ESP32 DevkitC), I've set up wifi and provisioned with mos_default but I can't seem to get the shadow working.
i.e. changes to the shadow desired state result in a delta as expected but that delta is never a…
Is this what you would expect?
WARNING: skeleton_version is deprecated and will be removed eventually, please rename it to manifest_version
Handling lib "aws"...
The --lib flag was not given for it, checking repository
Prepared local dir: "/home…
Thanks rojer. I've added in RS485 support as you suggest and it is working. I realised that I did not need to disable RX because the DE and nRE pins on the RS485 interface can be tied together so that when transmitting, nothing is received
Ok, great. I'll post one today. Is this the right address:
The Design Tower
Trinity Enterprise Centre
Happy to discuss project offline, can I email you? - is it email@example.com?
Thanks Sergey, Yes, I have ESP-Wroom32 and a couple of Waveshare LAN8720 modules.
I can post you a Waveshare LAN8720 module if that would help?
Alternatively, I'm happy to try stuff out here :-)
Really liking mongoose-os - I need to talk to you ab…