I wonder if you can help me. I am trying to do a Wifi Scan using the lr1110fieldtest program but it's not working.
> {
> "infinite_loops": true,
> "jobs": [
> {
> "name": "WiFi Scan",
> "n_iterations": 1,
> "reset_before_job_start": false,
> "wifi_channels": [
> "CHANNEL_1",
> "CHANNEL_6",
> "CHANNEL_11"
> ],
> "wifi_types": [
> "TYPE_B"
> ],
> "wifi_nbr_retrial": 10,
> "wifi_max_result_per_scan": 5,
> "wifi_timeout": 110,
> "wifi_mode": "beacon_and_packet",
> "wifi_api": "wifi_scan"
> }
> ]
> }
[2020-11-19 14:03:40.040955] Start
[2020-11-19 14:03:40.043955] Job filename: WiFiScan.json
[2020-11-19 14:03:40.045953] Log filename: testresults\fieldTests_20201119-140339\logging.log
[2020-11-19 14:03:40.047952] Result filename: testresults\fieldTests_20201119-140339\results.res
[2020-11-19 14:03:40.263818] [JobExecutor] Command: CommandGetAlmanacDates: b''
[2020-11-19 14:03:40.264817] [JobExecutor] Response: Almanacs:
0: 574;1: 574;2: 574;3: 574;4: 574;5: 574;6: 574;7: 574;8: 574;9: 574;10: 574;11: 574;12: 574;13: 0;14: 574;15: 574;16: 574;17: 574;18: 574;19: 574;20: 574;21: 574;22: 574;23: 574;24: 574;25: 574;26: 574;27: 574;28: 574;29: 574;30: 574;31: 574;32: 0;33: 0;34: 0;35: 574;36: 0;37: 574;38: 0;39: 574;40: 574;41: 0;42: 574;43: 574;44: 574;45: 574;46: 0;47: 0;48: 574;49: 574;50: 574;51: 0;52: 0;53: 0;54: 0;55: 0;56: 0;57: 0;58: 0;59: 0;60: 0;61: 0;62: 0;63: 0;64: 574;65: 574;66: 574;67: 574;68: 574;69: 574;70: 574;71: 574;72: 574;73: 574;74: 574;75: 574;76: 574;77: 574;78: 0;79: 574;80: 0;81: 0;82: 574;83: 574;84: 574;85: 574;86: 574;87: 574;88: 574;89: 574;90: 574;91: 574;92: 574;93: 574;94: 0;95: 574;96: 574;97: 574;98: 574;99: 574;100: 574;101: 0;102: 0;103: 0;104: 0;105: 0;106: 0;107: 0;108: 0;109: 0;110: 0;111: 0;112: 0;113: 0;114: 0;115: 0;116: 0;117: 0;118: 0;119: 0;120: 0;121: 0;122: 0;123: 0;124: 0;125: 0;126: 0;127: 0
[2020-11-19 14:03:40.267816] [JobExecutor] Almanac ages: {0: 574, 1: 574, 2: 574, 3: 574, 4: 574, 5: 574, 6: 574, 7: 574, 8: 574, 9: 574, 10: 574, 11: 574, 12: 574, 13: 0, 14: 574, 15: 574, 16: 574, 17: 574, 18: 574, 19: 574, 20: 574, 21: 574, 22: 574, 23: 574, 24: 574, 25: 574, 26: 574, 27: 574, 28: 574, 29: 574, 30: 574, 31: 574, 32: 0, 33: 0, 34: 0, 35: 574, 36: 0, 37: 574, 38: 0, 39: 574, 40: 574, 41: 0, 42: 574, 43: 574, 44: 574, 45: 574, 46: 0, 47: 0, 48: 574, 49: 574, 50: 574, 51: 0, 52: 0, 53: 0, 54: 0, 55: 0, 56: 0, 57: 0, 58: 0, 59: 0, 60: 0, 61: 0, 62: 0, 63: 0, 64: 574, 65: 574, 66: 574, 67: 574, 68: 574, 69: 574, 70: 574, 71: 574, 72: 574, 73: 574, 74: 574, 75: 574, 76: 574, 77: 574, 78: 0, 79: 574, 80: 0, 81: 0, 82: 574, 83: 574, 84: 574, 85: 574, 86: 574, 87: 574, 88: 574, 89: 574, 90: 574, 91: 574, 92: 574, 93: 574, 94: 0, 95: 574, 96: 574, 97: 574, 98: 574, 99: 574, 100: 574, 101: 0, 102: 0, 103: 0, 104: 0, 105: 0, 106: 0, 107: 0, 108: 0, 109: 0, 110: 0, 111: 0, 112: 0, 113: 0, 114: 0, 115: 0, 116: 0, 117: 0, 118: 0, 119: 0, 120: 0, 121: 0, 122: 0, 123: 0, 124: 0, 125: 0, 126: 0, 127: 0}
[2020-11-19 14:03:40.269814] [JobExecutor] Command: CommandGetVersion: b''
[2020-11-19 14:03:40.270813] [JobExecutor] Response: Version: software: v1.3.0, LR1110 HW: 0x22, LR1110 FW: 0x0303, almanac crc: 0xa607aeff, chip uid: 00-16-c0-01-f0-00-3e-c5
[2020-11-19 14:03:40.272814] [JobExecutor] Software version: v1.3.0
[2020-11-19 14:03:40.272814] [JobExecutor] LR1110 Hardware version: 0x22
[2020-11-19 14:03:40.273812] [JobExecutor] LR1110 Firmware version: 0x0303
[2020-11-19 14:03:40.277813] [LOG] Execute job #1: [Job WiFi Scan [[WiFi: ['CHANNEL_1', 'CHANNEL_6', 'CHANNEL_11'], ['TYPE_B']]]]
[2020-11-19 14:03:40.278809] [JobExecutor] Configuring...
[2020-11-19 14:03:40.278809] [JobExecutor] Starting...
[2020-11-19 14:03:40.281807] [JobExecutor] Command: CommandStartWifiScan: b'\x01!\x04\x01\n\x05n\x00\x02'
[2020-11-19 14:03:40.281807] [JobExecutor] Response: ResponseStartAck (b'\x01\x00'): Ok
[2020-11-19 14:03:40.282806] [JobExecutor] Waiting for event (timeout: 3.3000000000000003 second(s))...
[2020-11-19 14:03:41.053330] [JobExecutor] Received event. Waited 0:00:00.770524 second(s)
[2020-11-19 14:03:41.053330] [JobExecutor] Fetching results...
[2020-11-19 14:03:41.056330] [JobExecutor] Command: CommandFetchResults: b''
[2020-11-19 14:03:41.138278] [JobExecutor] Response: 5 result(s) to be fetched
[2020-11-19 14:03:41.138278] [EXCEPTION] Communication failure: Unknown command: [2020-11-19 14:03:41.056330] - b'\x81\x00': b"\x0c\xf9\xc0\x03\xbcf\x01\x00\xa9\x00\x00\x00\x00\x8e'\x02\x00\x1a)\x00\x00\xbb_\x00\x00"
[2020-11-19 14:03:41.139279] Remaining message in FIFO: [2020-11-19 14:03:41.059326] - b'\x81\x00': b"\xd8G2\x03na\x06\x00\xde\x00\x00\x00\x00\x8e'\x02\x00\x1a)\x00\x00\xbb_\x00\x00"
[2020-11-19 14:03:41.140277] Remaining message in FIFO: [2020-11-19 14:03:41.060327] - b'\x81\x00': b"4\x8a\xae\x98\x11\xb7\x06\x00\xaf\x00\x00\x00\x00\x8e'\x02\x00\x1a)\x00\x00\xbb_\x00\x00"
[2020-11-19 14:03:41.141278] Remaining message in FIFO: [2020-11-19 14:03:41.062325] - b'\x81\x00': b" G\xed\xd5Q.\x06\x00\xa2\x00\x00\x00\x00\x8e'\x02\x00\x1a)\x00\x00\xbb_\x00\x00"
[2020-11-19 14:03:41.142277] Remaining message in FIFO: [2020-11-19 14:03:41.064324] - b'\x81\x00': b"\xd0X\xfc\x9fH\xfe\x0b\x00\xa7\x00\x00\x00\x00\x8e'\x02\x00\x1a)\x00\x00\xbb_\x00\x00"
[2020-11-19 14:03:42.142659] [LOG] Attempting reset
[2020-11-19 14:03:42.143659] [JobExecutor] Command: CommandReset: b''
[2020-11-19 14:03:42.143659] [JobExecutor] Response: ResponseReset (b'\x04\x00'): Ok
[2020-11-19 14:03:42.145660] [LOG] Terminate job: Job WiFi Scan [[WiFi: ['CHANNEL_1', 'CHANNEL_6', 'CHANNEL_11'], ['TYPE_B']]]
Could someone explain what might be causing the Communication failure exception when the results are being fetched? (The same method for GNSS sniffs is working fine).
Thank you.