fix 2nd address scanning bug, add some comments

code merge from arska/libmbus without debug