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

Showing data in the UI again, ignoring timestamps for now #1

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

stlouisweb
Copy link

No description provided.

src/App.js Outdated
@@ -13,16 +13,15 @@ const manifolds = {};
let dirty = false;

function bytesToNumber(buffer) {
// const bytes = new Uint8Array(buffer);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you don't need this commented out line since there is an uncommented copy right below it.

src/App.js Outdated
@@ -117,9 +117,13 @@ class App extends Component {

// If the field in the message is not one we care about ...
if (!prop) return;
// @TODO parse messages.
// At this point a message has been recieved from the message broker
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

recieved => received

@@ -132,7 +136,8 @@ class App extends Component {
client.onMessageArrived = onMessageArrived;

// Documentation on the message object is at
// https://www.eclipse.org/paho/files/jsdoc/symbols/Paho.MQTT.Message.html#duplicate
// https://www.eclipse.org/paho/files/jsdoc/symbols/Paho.MQTT.Message.html
// #duplicate
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does #duplicate mean?

@mvolkmann
Copy link
Owner

mvolkmann commented Jul 1, 2017 via email

@stlouisweb
Copy link
Author

Hi Mark,
No worries, I'm just digging in and trying to make sense of everything in here, so there maybe some erroneous comments and code snippets from my experimentations that need to be cleaned up. I figured a pull request would be a good way to review the code and show (at least some) progress.

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