Comments (4)
RUISensorDataDecoder_GPS6digitPrecison_for_TTN.txt
Here is my fixed js File just changed the str = str.substring(28); to str = str.substring(22); and now it works.
BTW your Payload is not 100% openmobilealliance.org compliant I would believe - I would change this, this can help the customer to implement it with different libraries etc.
08 02 01 66 - is not the correct standard for Voltage transmission
According to openmobilealliance voltage should be send as this bytestream:
08 74 01 66
In my last project I used this Library for the CayenneLPP Payload - https://github.com/ElectronicCats/CayenneLPP
and here is the link for the official definition of Cayenne LPP Payload - http://openmobilealliance.org/wp/OMNA/LwM2M/LwM2MRegistry.html#extlabel
from rui_lora_node_payload_decoder.
RUISensorDataDecoder_GPS6digitPrecison_for_TTN.txt
Here is my fixed js File just changed the str = str.substring(28); to str = str.substring(22); and now it works.
BTW your Payload is not 100% openmobilealliance.org compliant I would believe - I would change this, this can help the customer to implement it with different libraries etc.
08 02 01 66 - is not the correct standard for Voltage transmission
According to openmobilealliance voltage should be send as this bytestream:
08 74 01 66In my last project I used this Library for the CayenneLPP Payload - https://github.com/ElectronicCats/CayenneLPP
and here is the link for the official definition of Cayenne LPP Payload - http://openmobilealliance.org/wp/OMNA/LwM2M/LwM2MRegistry.html#extlabel
Hi,dardrai
Thanks for your advice.
- The GPS6digitPrecision script is used for the scene that user change the payload size of GPS at Node with AT command. If you didn't execute the Corresponding AT command, you should use the normal script.
- I will read the openmobilealliance.org documents and discuss with my team to change the script to be compatible with openmobilealliance.org.
from rui_lora_node_payload_decoder.
1. The GPS6digitPrecision script is used for the scene that user change the payload size of GPS at Node with AT command. If you didn't execute the Corresponding AT command, you should use the normal script.
Oh thank you for your replay but then I have to ask, which AT command I should use there? Because I did not see any AT Commands that would improve the precison on the GPS Readouts in your Commands list: https://doc.rakwireless.com/rak7200-lora-tracker/configuring-the-rak7200-lora-tracker-using-at-commands
Thank you for considering the changes to be more compliant to the openmobilealliance.org - formerly IPSO. Just to give you and your team a good reason to do this - and yes I know it will be a lot of work :) - You can maybe also reduce the payload size of each message - with the usage of "better encoded" values - and thus reduce the air time needed to transmit the messages. And this can then also improve the battery performance.
My example of this reduction in payload size would be the coulor object - lpp.addColour(1 , 64, 128, 255); -- which I provided in to the library mention above. This allowed me in my project to reduce the payload from: 00 01 40 01 01 80 02 01 FF to just 01 87 40 80 FF - so from 9 Bytes to 5 Bytes. It is a small improvement but it is nearly for "free", if you think about the additional advantiges that it will have.
from rui_lora_node_payload_decoder.
1. The GPS6digitPrecision script is used for the scene that user change the payload size of GPS at Node with AT command. If you didn't execute the Corresponding AT command, you should use the normal script.
Oh thank you for your replay but then I have to ask, which AT command I should use there? Because I did not see any AT Commands that would improve the precison on the GPS Readouts in your Commands list: https://doc.rakwireless.com/rak7200-lora-tracker/configuring-the-rak7200-lora-tracker-using-at-commands
Thank you for considering the changes to be more compliant to the openmobilealliance.org - formerly IPSO. Just to give you and your team a good reason to do this - and yes I know it will be a lot of work :) - You can maybe also reduce the payload size of each message - with the usage of "better encoded" values - and thus reduce the air time needed to transmit the messages. And this can then also improve the battery performance.
My example of this reduction in payload size would be the coulor object - lpp.addColour(1 , 64, 128, 255); -- which I provided in to the library mention above. This allowed me in my project to reduce the payload from: 00 01 40 01 01 80 02 01 FF to just 01 87 40 80 FF - so from 9 Bytes to 5 Bytes. It is a small improvement but it is nearly for "free", if you think about the additional advantiges that it will have.
You can use command “at+set_config=device:gps_format:1” to change gps precise.
Thans for your advice. But I have a question: Can the "better encoded" values can be recognized by the Cyenne platform? Could you tell me where I can find the document. I want to have a look.
Thank you in advance.
from rui_lora_node_payload_decoder.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rui_lora_node_payload_decoder.