Project

General

Profile

Feature #877

Dump all-link database

Added by Luke Murphey over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
11/01/2014
Due date:
% Done:

100%


Description

Page 77 of the Modem Developer's Guide points out how to dump the all-link database records using 0x69 and 0x6A records. This may be necessary to enable the app to make sense out of commands like leak sensor reports.


Subtasks

Task #883: Add timing code for defining how often to dump all-link recordsClosedLuke Murphey

Task #884: Create search to dump all-link records to a lookupClosedLuke Murphey

Task #885: Create lookup for identifying all-link recordsClosedLuke Murphey

History

#2 Updated by Luke Murphey over 9 years ago

To accomplish this, support would need to exist for 0x69, 0x6A and 0x57 commands.

#3 Updated by Luke Murphey over 9 years ago

I'm not sure what the link data section contains. This would need to be determined to make sense out of it.

#4 Updated by Luke Murphey over 9 years ago

From some reason, errors cause this lock acquisition to fail:

self.__commandLock.acquire()

#5 Updated by Luke Murphey over 9 years ago

Adding debugging code, I see this:

2014-10-30 01:34:23,025 DEBUG acquiring lock...
2014-10-30 01:34:23,025 DEBUG got lock
2014-10-30 01:34:23,025 DEBUG releasing lock...
2014-10-30 01:34:23,025 DEBUG lock released
2014-10-30 01:34:23,494 DEBUG Queued 17a3abc6657183970dac91cb2bac2f1a
2014-10-30 01:34:23,526 DEBUG acquiring lock...
2014-10-30 01:34:23,526 DEBUG got lock
2014-10-30 01:34:23,529 DEBUG releasing lock...
2014-10-30 01:34:23,529 DEBUG lock released
2014-10-30 01:34:24,030 DEBUG acquiring lock...
2014-10-30 01:34:24,030 DEBUG got lock
2014-10-30 01:34:24,030 DEBUG releasing lock...
2014-10-30 01:34:24,030 DEBUG lock released
2014-10-30 01:34:25,495 DEBUG Timed out for 17a3abc6657183970dac91cb2bac2f1a - Requeueing (already had 0 retries)
2014-10-30 01:34:27,496 DEBUG Timed out for 17a3abc6657183970dac91cb2bac2f1a - Requeueing (already had 1 retries)
2014-10-30 01:34:27,496 DEBUG Interesting.  timed out for 17a3abc6657183970dac91cb2bac2f1a, but there is no pending command details

#6 Updated by Luke Murphey over 9 years ago

The problem is that the run() loop was throwing an exception. I need to detect this and re-initialize the connection.

#7 Updated by Luke Murphey over 9 years ago

HouseLinc seems to use the 0x75 command to dump the link tables. It appears that the other commands don't dump all of the information.

#8 Updated by Luke Murphey over 9 years ago

  • % Done changed from 0 to 20

#9 Updated by Luke Murphey over 9 years ago

  • Target version set to 0.5
  • % Done changed from 20 to 50

#10 Updated by Luke Murphey over 9 years ago

Upon completion, a NAK will be returned alone in the 0x6a response:

[TX] - 02 6A 
[RX] - 02 6A 06 02 57 A2 01 04 F7 EE 01 00 22 
[TX] - 02 6A 
[RX] - 02 6A 15

#11 Updated by Luke Murphey over 9 years ago

  • Status changed from New to Closed

Also available in: Atom PDF