These are chat archives for SmingHub/Sming

29th
Aug 2016
crosofg
@crosofg
Aug 29 2016 13:34
using this does not connect to broker
MqttClient mqtt(IPAddress(162,222,178,188), 17853, onMessageReceived);
is the usage of IPAddress correct
?
This message was deleted
crosofg
@crosofg
Aug 29 2016 14:33
Hi All
ip:192.168.0.109,mask:255.255.255.0,gw:192.168.0.1
I'm CONNECTED
MQTT start connection
TcpConnection::connect result:, 0
timeout updating: 70 -> 65535
subscription 'main/status/#' registered
realloc 103 -> 252
TcpClient request completed
MQTT Broker Unreachable!!
TCP connection closing
MQTT closed previous connection
MQTT start connection
Fatal exception 28(LoadProhibitedCause):
epc1=0x4022b5cf, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000010, depc=0x00000000
How to debug the cause here
xtensa-lx106-elf-objdump.exe -x app_0.out -d
log
attached is the objdump log
How to generally find out the cause
Can someone explain the approach
crosofg
@crosofg
Aug 29 2016 14:41
hreintke
@hreintke
Aug 29 2016 20:38
take epc1 value, find the function which has "the highest start address which is lower than the epc1 value" -> that is the function in which the error occurs
crosofg
@crosofg
Aug 29 2016 21:29
This message was deleted
@hreintke is it this?
                0x4022aca8                wpa_auth_uses_mfp
 *fill*         0x4022acb6        0x2 
 .irom0.text    0x4022acb8     0x14c0 c:/espressif/ESP8266_SDK/lib\libwpa.a(wpa.o)
                               0x16e8 (size before relaxing)
                0x4022bc44                wpa_sm_rx_eapol
                0x4022bdbc                wpa_register
crosofg
@crosofg
Aug 29 2016 22:36
resolved by applying espressif patch
crosofg
@crosofg
Aug 29 2016 23:28
Unable to receive subscription messages when connected to mqtt broker with username and password. is this a known issue