question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add Timestamped Nodes support to Send Operation at Client side

See original GitHub issue

Following #1192 we decide to add Timestamped nodes to Send Operation.

The Server side part was done by #1218.

This issue aims to track / discuss about client side support.

(Here some idea about a DataCollector ? => https://github.com/eclipse/leshan/issues/1192#issuecomment-1022220554)

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:73 (73 by maintainers)

github_iconTop GitHub Comments

1reaction
adamserocommented, Jul 1, 2022

Yeah, I think we can finally close this one now. I’m not sure about Periodic Sender’s priority right now considering #1222, but I might open it as a new issue at some point in the future. At the moment I have some side tasks but after I’m done with them we can think more about the issue.

1reaction
adamserocommented, Apr 22, 2022

@sbernard31 OK, in 00baa08 I added DataCollector as an interface to client core and TemperatureDataCollector as a sample implementation to client demo. You can start and stop periodic read on a resource via an enabler and retrieve collected timestamped data at any time.

Right now there’s no real way to test this in practice, so I had to override send interactive command so that it passes the data collector to sendData in LeshanClient just to be able to send it to the server. Having said that, I though about proper control over data collectors:

  • Add a separate interactive command that starts/stops periodic read on a specified resource (it could also create the collector, although that can be done statically in code)
  • These collectors would be mapped by the resource path, so Map<LwM2mPath, DataCollector>
  • Add an option to send command that causes data to be read from the collector instead of the enabler. Collector would be retrieved by the path provided by the user

Let me know what you think about my code and the ideas 🙂

Read more comments on GitHub >

github_iconTop Results From Across the Web

Query timestamps - DataStax Documentation
Timestamps can be assigned by the driver client or the server-side node coordinating the request. All recent versions of the DataStax drivers use ......
Read more >
Timestamp | JavaScript SDK | Node.js (client) API reference
Reference for Timestamp. ... Node.js API reference ... and learn how Firebase can help you accelerate app development and run your app with...
Read more >
node.js - How to get data from DynamoDB sorted by timestamp
Option 1: Keep Scan; Sort client-side. Works for small tables only. Single Scan call will scan only the first 1 MB of data...
Read more >
Insert data | QuestDB: the database for time series
This page shows how to insert data into QuestDB using different programming.
Read more >
5 Parameters for the sqlnet.ora File - Oracle Help Center
Oracle recommends setting this parameter in both the client-side and server-side ... To specify the buffer space limit for send operations of sessions....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found