Quantcast
Channel: MultiTech Developer Resources » All Posts
Viewing all articles
Browse latest Browse all 7111

Reply To: mDot reliability

$
0
0

Andrew,

I tested on a mDot with vanilla AT firmware revision 11:

https://developer.mbed.org/teams/MultiTech/code/mDot_AT_firmware/

I wasn’t able to reproduce the issue. When I joined the network in OTA mode and went to sleep, I didn’t see any evidence of anything getting saved to flash.


at+join
Successfully joined network

OK
at+sleep=0

OK
at+sleep=0

OK
at+sleep=1

OK

[DEBUG] mDotEvent - JoinAccept
[TRACE] Event: OK
[TRACE] Flags Tx: 0 Rx: 0 RxData: 0 RxSlot: 0 LinkCheck: 0 JoinAccept: 1
[TRACE] Info: Status: 0 ACK: 0 Retries: 0 TxDR: 0 RxPort: 0 RxSize: 0 RSSI: 0 SNR: 0 Energy: 0 Margin: 0 Gateways: 0
[INFO] Packet RSSI: -79 dB SNR: 67 cB
[DEBUG] mDotEvent - RxDone
[TRACE] configuring RTC Alarm A to wakeup 10 seconds from now
[TRACE] save timers: 0 0 0 0 0 0 0
[INFO] entering deepsleep (standby) mode 00000037[INFO] mDot Ready
[TRACE] configuring RTC Alarm A to wakeup 10 seconds from now
[TRACE] save timers: 0 0 0 0 0 0 0
[INFO] entering deepsleep (standby) mode 00000037[INFO] mDot Ready
[TRACE] configuring RTC Alarm A to wakeup 10 seconds from now
[INFO] entering sleep (stop) mode 00000037��

However when I set my join mode to AUTO_OTA, the session gets saved and restored.


at+join=1
Successfully joined network

OK
at+sleep=0

OK

Joining network... Network Joined

OK
at+sleep=0

OK

Joining network... Network Joined

OK
at+sleep=1

OK

[DEBUG] mDotEvent - JoinAccept
[TRACE] Event: OK
[TRACE] Flags Tx: 0 Rx: 0 RxData: 0 RxSlot: 0 LinkCheck: 0 JoinAccept: 1
[TRACE] Info: Status: 0 ACK: 0 Retries: 0 TxDR: 4 RxPort: 0 RxSize: 0 RSSI: 0 SNR: 0 Energy: 0 Margin: 0 Gateways: 0
[INFO] Packet RSSI: -79 dB SNR: 67 cB
[DEBUG] mDotEvent - RxDone
[DEBUG] Session saved to flash
[DEBUG] wrote 256 bytes
[DEBUG] file size: 256 bytes
[TRACE] configuring RTC Alarm A to wakeup 10 seconds from now
[TRACE] save timers: 0 0 0 0 0 0 0
[INFO] entering deepsleep (standby) mode 00000037[INFO] mDot Ready
[TRACE] Initiating join...
[TRACE] Join Network - Auto OTA
[INFO] Restoring network session..
[DEBUG] Session restored from flash
[DEBUG] set mask 0 0000
[DEBUG] set mask 1 0000
[DEBUG] set mask 2 0000
[DEBUG] set mask 3 0000
[DEBUG] set mask 4 0020
[DEBUG] Session saved to flash
[DEBUG] wrote 256 bytes
[DEBUG] file size: 256 bytes
[TRACE] configuring RTC Alarm A to wakeup 10 seconds from now
[TRACE] save timers: 0 0 0 0 0 0 0
[INFO] entering deepsleep (standby) mode 00000037[INFO] mDot Ready
[TRACE] Initiating join...
[TRACE] Join Network - Auto OTA
[INFO] Restoring network session..
[DEBUG] Session restored from flash
[DEBUG] set mask 0 0000
[DEBUG] set mask 1 0000
[DEBUG] set mask 2 0000
[DEBUG] set mask 3 0000
[DEBUG] set mask 4 0020
[DEBUG] Session saved to flash
[DEBUG] wrote 256 bytes
[DEBUG] file size: 256 bytes
[TRACE] configuring RTC Alarm A to wakeup 10 seconds from now
[INFO] entering sleep (stop) mode 00000037��[DEBUG] Session restored from flash
[DEBUG] set mask 0 0000
[DEBUG] set mask 1 0000
[DEBUG] set mask 2 0000
[DEBUG] set mask 3 0000
[DEBUG] set mask 4 0020

I wonder if the issue was related to the corrupted flash. Can you reproduce the issue on a unit with functional flash?

Cheers,

Mike


Viewing all articles
Browse latest Browse all 7111

Trending Articles