Add Timestamped Nodes support to Send Operation at Client side
See original GitHub issueFollowing #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:
- Created a year ago
- Comments:73 (73 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
@sbernard31 OK, in 00baa08 I added
DataCollector
as an interface to client core andTemperatureDataCollector
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 tosendData
inLeshanClient
just to be able to send it to the server. Having said that, I though about proper control over data collectors:Map<LwM2mPath, DataCollector>
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 userLet me know what you think about my code and the ideas 🙂