Chat freely about anything...

User avatar
By rudy
#57333 Sorry about this.


I am : Received from 111 msg=Hi from 111 Stations connected = 2 FFA0F40F
I am : Received from 103 msg=Hi from 103 Stations connected = 2 FFAEC5F7
I am : Received from 111 msg=Hi from 107 Stations connected = 2 FFB536F0
I am : Received from 110 msg=Hi from 110 Stations connected = 2 FFBD3FEC
I am : Received from 111 msg=Hi from 102 Stations connected = 2 FFDB01C3

Exception (29):
epc1=0x40206bdb epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: cont
sp: 3fff0ba0 end: 3fff0e60 offset: 01a0

>>>stack>>>
3fff0d40: 3fff0d20 3fff0d90 3fff3d08 40206bdb
3fff0d50: 3fff16fc 0000003f 0000003c 00d8a536
3fff0d60: 00d8a536 00000008 00000a54 00000008
3fff0d70: 3fff0e20 3fff3d08 3ffefb4c 40206e44
3fff0d80: 3fffb56c ff000000 3fff0dc0 3ffefdec
3fff0d90: 3fff3ed4 0000003f 0000003c 4010053d
3fff0da0: 00d8a536 00000000 00000000 0005aa38
3fff0db0: 00000008 3fffb56c fffe5edc 00000000
3fff0dc0: 3fff0e20 00000008 3ffefb4c 40206f36
3fff0dd0: 00aa47a5 3ffefb24 3ffefc5c 402058f1
3fff0de0: 3fff3d08 ff000000 3fff0e20 3fffb56c
3fff0df0: 00ff0000 ff000000 3ffefc5c 001c3338
3fff0e00: 00aa47a5 3fff0e20 3ffefb4c 4020693a
3fff0e10: 00000001 3ffefb24 3ffefb4c 40202d97
3fff0e20: 3fffb56c 0000000f 0000000b feefeffe
3fff0e30: 00000000 00000000 00000001 3ffefe38
3fff0e40: 3fffdad0 00000000 3ffefe31 40205ea4
3fff0e50: feefeffe feefeffe 3ffefe40 40100718
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(1,6)


ets Jan 8 2013,rst cause:4, boot mode:(1,6)

wdt reset


I had only seen your new version this morning. I have been running it for an hour. It really looks good. It was working how I hoped.

Just before the data above I was working at my desk and I noticed that the node count had dropped on a couple of units in front of me. :( But that happened before the rollover. It took a few more seconds before that and the reset. Or that is what I think happened. The one unit reset and the remaining six all rejoined and are working. :)

I'm going to add some additional information to the serial output that I hope might be more informative.
User avatar
By sfranzyshen
#57340
rudy wrote:Sorry about this.


I am : Received from 111 msg=Hi from 111 Stations connected = 2 FFA0F40F
I am : Received from 103 msg=Hi from 103 Stations connected = 2 FFAEC5F7
I am : Received from 111 msg=Hi from 107 Stations connected = 2 FFB536F0
I am : Received from 110 msg=Hi from 110 Stations connected = 2 FFBD3FEC
I am : Received from 111 msg=Hi from 102 Stations connected = 2 FFDB01C3

Exception (29):
epc1=0x40206bdb epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: cont
sp: 3fff0ba0 end: 3fff0e60 offset: 01a0

>>>stack>>>
3fff0d40: 3fff0d20 3fff0d90 3fff3d08 40206bdb
3fff0d50: 3fff16fc 0000003f 0000003c 00d8a536
3fff0d60: 00d8a536 00000008 00000a54 00000008
3fff0d70: 3fff0e20 3fff3d08 3ffefb4c 40206e44
3fff0d80: 3fffb56c ff000000 3fff0dc0 3ffefdec
3fff0d90: 3fff3ed4 0000003f 0000003c 4010053d
3fff0da0: 00d8a536 00000000 00000000 0005aa38
3fff0db0: 00000008 3fffb56c fffe5edc 00000000
3fff0dc0: 3fff0e20 00000008 3ffefb4c 40206f36
3fff0dd0: 00aa47a5 3ffefb24 3ffefc5c 402058f1
3fff0de0: 3fff3d08 ff000000 3fff0e20 3fffb56c
3fff0df0: 00ff0000 ff000000 3ffefc5c 001c3338
3fff0e00: 00aa47a5 3fff0e20 3ffefb4c 4020693a
3fff0e10: 00000001 3ffefb24 3ffefb4c 40202d97
3fff0e20: 3fffb56c 0000000f 0000000b feefeffe
3fff0e30: 00000000 00000000 00000001 3ffefe38
3fff0e40: 3fffdad0 00000000 3ffefe31 40205ea4
3fff0e50: feefeffe feefeffe 3ffefe40 40100718
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(1,6)


ets Jan 8 2013,rst cause:4, boot mode:(1,6)

wdt reset


I had only seen your new version this morning. I have been running it for an hour. It really looks good. It was working how I hoped.

Just before the data above I was working at my desk and I noticed that the node count had dropped on a couple of units in front of me. :( But that happened before the rollover. It took a few more seconds before that and the reset. Or that is what I think happened. The one unit reset and the remaining six all rejoined and are working. :)

I'm going to add some additional information to the serial output that I hope might be more informative.


This was not caused by the rollover ... this is a malloc error ... I made a small change in easyMeshSTA to memset the station_config before trying to write to it ... hope this was the cause of this one ... but can you add more setDebugMsgTypes to your code so that we can see what (underling) control messages are being generated ...
Code: Select allmesh.setDebugMsgTypes( ERROR | MESH_STATUS | CONNECTION | SYNC | COMMUNICATION );


Thanks for the feedback :D

BTW I've been running this code with the testHere example with two nodes for over 16 hours without a single hiccup ... compared to the original code ... we are miles ahead of where we were ... so lets keep on this until we have all working !!
User avatar
By danbicks
#57342 Guys keep up the amazing work, this has been long coming, hopefully you will nail a stable mesh network very soon and then create a simple example for us plebs to follow :)

Well done

Dans
User avatar
By rudy
#57344
sfranzyshen wrote:This was not caused by the rollover ... this is a malloc error ... I made a small change in easyMeshSTA to memset the station_config before trying to write to it ... hope this was the cause of this one ... but can you add more setDebugMsgTypes to your code so that we can see what (underling) control messages are being generated ...
Code: Select allmesh.setDebugMsgTypes( ERROR | MESH_STATUS | CONNECTION | SYNC | COMMUNICATION );


Thanks for the feedback :D

BTW I've been running this code with the testHere example with two nodes for over 16 hours without a single hiccup ... compared to the original code ... we are miles ahead of where we were ... so lets keep on this until we have all working !!


I have used some of that enableable debug information but it was too much to go through. What I'm now doing when a message comes in is show the node count, how many stations connected. I would like to add the station numbers connected to an AP or for a station to show who it is connected to.

" ... this is a malloc error ... " OK. I was surprised to see it.

There still are some reconnection difficulties but I have to say that this has been a lot more stable that what was there before. I feel very positive about this.