Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove this line to get MqttClient_Hello to work #137

Open
helpme1 opened this issue Aug 18, 2016 · 2 comments
Open

Remove this line to get MqttClient_Hello to work #137

helpme1 opened this issue Aug 18, 2016 · 2 comments
Labels

Comments

@helpme1
Copy link

helpme1 commented Aug 18, 2016

I tried out the sample app MqttClient_Hello. At first, ESP8266 keeps resetting itself. To finally get it to work, the following line in init() has to be commented out.

commandHandler.registerSystemCommands();

I am not sure why exactly. Perhaps the experts can advise.

@helpme1
Copy link
Author

helpme1 commented Aug 18, 2016

The MQTT sample code seems puzzlingly fragile. I made simple changes such as WIFI_SSID and WIFI_PWD. After download, the constant resetting returns. Below are the sample error.

 ets Jan  8 2013,rst cause:4, boot mode:(3,7)

wdt reset

load 0x40100000, len 27284, room 16 

tail 4

chksum 0x3f

load 0x3ffe8000, len 944, room 4 

tail 12

chksum 0x4f

ho 0 tail 12 room 4

load 0x3ffe83b0, len 5032, room 12 

tail 12

chksum 0x3a

csum 0x3a

f r-1, Fatal exception (9): 

epc1=0x401061d9

epc2=0x00000000

epc3=0x40100110

epcvaddr=0x00000001

depc=0x00000000

rtn_add=0x4020ac24


@hreintke
Copy link
Collaborator

@helpme1 :
I retested the mqtt_client and had no issues at all using it.
Are you sure your powersupply is OK as these kind of resets cab also be caused by that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants