-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Another question #16
Comments
This mixture would mean to completely change the parsing and so reimplement stuff from libmbus. Don‘t like that and is a very special use case. I could imaging to offer methods to just read a mbus message and return that raw message. Additionally offer a method that receives raw data (from wherever) and parse it. Then you could read the message on the device and also parse it (completely) for the check but only submit the raw data to your server and parse there (again). What you think of that? But all in all because of other priorities and 2 week vacation I have no time for that before mid June earliest ... |
You're absolutely right... I already got the id's from the white-list, so I'd just need to call something like this: var response = [];
whitelist.forEach(function(id){
mbusMaster.getRawData(id, function(err, data) {
response.push(data);
});
}): btw... not asking you to change your library (or libmbus for that matter). I'm happy to reimburse for a working sample or just pointers of where to get started... PS... As you've been answering so quickly I thought I found someone with the same work ethics as myself. Then I had a look at your number of contributions on your profile and realized you're on a different level ;) |
Also thought about that. As pointer where to start: In at the end we need to transfer those binary data between nodejs and the "native c++" space ... Buffer should work ... So far the theory. So you need to go into c++ and not possible without changes to the library to allow these two new functions |
Hello again,
Our requirements have changed and I lack both skill and time to develop it. I was wondering if you were up for a short consult gig as you clearly have the skill (but perhaps not the time ;) ).
Should you choose to accept this mission (hopefully not impossible):
It has been decided the parsing and decryption of messages should be done in a cloud application rather than on the IoT device, so we need to submit raw mbus data readings.
The problem is that I still need to parse the data on the device to compare it to the white-list (received from the cloud application).
So.. in short... create a reader that returns the header and the raw data Eg.
I totally understand if you're not up for it, but I though I'd check with you first as you know this stuff :)
Cheers
The text was updated successfully, but these errors were encountered: