These are chat archives for SmingHub/Sming

21st
Mar 2017
Pieter Hollants
@pfhllnts_twitter
Mar 21 2017 21:53
greetings! I'm trying to get my delegate called whenever someone connects to my AP, registering it like this: WifiEvents.onAccessPointConnect(wifi_ap_connect); while the delegate is declared as void wifi_ap_connect(uint8_t mac[6], uint8_t aid) { }
but as soon as I do that, even if wifi_ap_connect is an empty function, I get crashes leading to watchdog resets
is there some kind of secret to using these WifiEvents delegates?
Pieter Hollants
@pfhllnts_twitter
Mar 21 2017 22:23
happens with both SDK 1.5.4 and 2.0, btw
Pieter Hollants
@pfhllnts_twitter
Mar 21 2017 23:02
ahhh there's abug in WifiEvents
Pieter Hollants
@pfhllnts_twitter
Mar 21 2017 23:12
for reference: SmingHub/Sming#1043