Please refer utilities_test.c :
> > BTW two of the existing IM-BUS unit tests fail on my machine. I'll
> > give you more info if you want.
> Thanks. You can send imbus related things to imbus discussion group.
1. The function seems to assume that the data stream is ordered
(comment in header says so). Consequently a binary search is used to
find a suitable location.
2. The byte stream handed to function is not sorted.
Dushara