Anonymous Login
2026-01-15 08:33 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000021HomeAutomation SystemModules, Embedded softwarepublic2012-10-23 19:30
ReporterLars Englund 
Assigned ToLinus Lundin 
PrioritynormalSeverityminorReproducibilitysometimes
StatusclosedResolutionfixed 
Summary0000021: ModuleManager always selects new module ID:s based on the highest sns_power ID
DescriptionSee example in Steps To Reproduce. Same behaviour regardless of node being added. A similar output is shown when deleting a module.
Steps To Reproduce./ModuleManager --add=sns_ds18x20
Trying to add module sns_ds18x20
Added module successfully

Regenerating modules...

Compiling sources.inc...
Creation of sources.inc complete

Compiling new main.c...
Creation of main.c complete

Updating config.inc...
Found id: 0x1 in file: ../nodeMyFirst/config.inc for module: sns_power

New module id set to: 0x2

Update of config.inc complete

Regenerating modules complete
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes
Anders Sandblad

~0000027

Anders Sandblad (administrator)

It's not only if there are sns_power modules, this applies also if adding a sns_counter when there is a sns_ds18x20 module. Seems like this happens if the module name is "less" then the current module name in the same config.
Anders Sandblad

~0000028

Anders Sandblad (administrator)

$ cd Documents/HomeAutomation/EmbeddedSoftware/AVR/personal/
$ svn export template_module/ testBug
$ cd testBug/
$ ./ModuleManager --add=sns_ds18x20
$ ./ModuleManager --add=sns_counter

Output of last command:

Updating config.inc...
Found id: 0x1 in file: ../testBug/config.inc for module: sns_ds18x20

New module id set to: 0x2
Anders Sandblad

~0000029

Anders Sandblad (administrator)

Bug confirmed, steps to reproduce has been provided.
Linus Lundin

~0000032

Linus Lundin (developer)

Fixed in svn rev 2228
Anders Sandblad

~0000033

Anders Sandblad (administrator)

Confirmed fixed.
+Notes

-Issue History
Date Modified Username Field Change
2012-10-19 23:47 Lars Englund New Issue
2012-10-20 09:49 Anders Sandblad Note Added: 0000027
2012-10-20 14:15 Anders Sandblad Note Added: 0000028
2012-10-20 14:16 Anders Sandblad Note Added: 0000029
2012-10-20 14:16 Anders Sandblad Assigned To => Anders Sandblad
2012-10-20 14:16 Anders Sandblad Status new => confirmed
2012-10-20 14:16 Anders Sandblad Assigned To Anders Sandblad =>
2012-10-23 18:29 Linus Lundin Note Added: 0000032
2012-10-23 18:29 Linus Lundin Status confirmed => resolved
2012-10-23 18:29 Linus Lundin Resolution open => fixed
2012-10-23 18:29 Linus Lundin Assigned To => Linus Lundin
2012-10-23 19:30 Anders Sandblad Note Added: 0000033
2012-10-23 19:30 Anders Sandblad Status resolved => closed
+Issue History