Skip to content
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

Fix CBOR data encoding #23

Merged
merged 2 commits into from
Dec 11, 2019
Merged

Fix CBOR data encoding #23

merged 2 commits into from
Dec 11, 2019

Conversation

dborovcanin
Copy link
Contributor

For compactness, CBOR representation uses integers for labels, as described here. For that reason, SenML records are transformed to map[int]interface{} before encoding to CBOR.

@dborovcanin
Copy link
Contributor Author

@fluffy Can you, please, review this PR?

@dborovcanin
Copy link
Contributor Author

Closed due to inactivity.

@dborovcanin dborovcanin closed this Dec 4, 2019
@fluffy
Copy link
Member

fluffy commented Dec 11, 2019

Probably Carsten is right person to review this but it looks about right to me. Why did you close it ?

@dborovcanin
Copy link
Contributor Author

Probably Carsten is right person to review this but it looks about right to me. Why did you close it ?

@fluffy I closed this PR because I thought this repo is not maintained anymore. Also, we created a lightweight SenML lib because it was easier to maintain our code. Feel free to reopen, but the merge of #24 will resolve this issue. Also, please note that #23 is probably duplicate #2.

@fluffy fluffy reopened this Dec 11, 2019
@fluffy fluffy merged commit d5a3c66 into cisco:master Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants