Comments (5)
Hello @Johnn13,
Given that the frame passes the CRC check, it seems that you only send 6 bytes. As the radiohead library adds 4 bytes of addressing and flag in the start of a frame, are ou sending only two bytes? If yes, are those bytes supposed to be printable ASCII characters or have any value?
In this view, the received bytes are printed as ASCII characters and some are not printable (i.e. 0x00 to 0x1F and 0x7F).
If you want to recover the bytes values themselves, you have to use one of the output of the CRC verif
block.
from gr-lora_sdr.
hello, @tapparelj,thank you for your reply.
In my comercial lora node,the contents of the packet I sent are:node1: IOT 20230302 hello word.
But it only outputs the first two bytes: no
In fact, I suspect that there is a problem with the calculation of the length of the Payload in the CRC block.However, I didn't find the payload length calculated in which section during the whole project when I used the explicit header module.
at the end,Could you please be specific about the meaning of your last sentence?If you want to recover the bytes values themselves, you have to use one of the output of the CRC verif block.
Looking forward to your reply~~~
from gr-lora_sdr.
Hello,
The payload length is directly read from the explicit header which, in your case, only mention 6 bytes of payload. Since both the header checksum and the CRC are valid, I would check two things:
- Are the message received in their entirety suing another commercial node as receiver?
- Can you double check that in the transmitter code, that the buffer containing the bytes to transmit is sufficiently large to contain your entire message, before passing it to the function starting the transmission?
Regarding my comment on the utilization of the outputs:
- If instead of transmitting a payload containing printable chars ,as you do know given the payload content, you wanted to send a payload containing as an example the bytes 0x01,0x02,0x02,0x01,.. nothing would get printed in the terminal. However, they would still get output through the output message port or output stream where you can use them however you need.
from gr-lora_sdr.
hihi~ @tapparelj ,thank you for your patience.
Based on your advises, we found that there might be a problem with our lora node‘s registers that prevented the full packet from being sent.As expected, this issue was solved when we used the new lora node.
By the way, under the implicit header module, can the gr-lora-sdr calculated the payload length? if the answer is yes,in which section during the process?
from gr-lora_sdr.
Hello,
I'm glad to hear you could fix it!
In implicit header mode you have to specify the payload length on the receiver side, similarly to commercial LoRa devices.
from gr-lora_sdr.
Related Issues (20)
- Question about timing shift HOT 3
- Dobout about RFM95 Library HOT 3
- SDR With sigfox STM32L0 Discovery kit LoRa as node. HOT 11
- CRC locations HOT 1
- Help me to understand how to input bitstream HOT 8
- Error: "No module named 'gnuradio.blocks.blocks_python" HOT 4
- CRC Error when using USRP N210 HOT 6
- sync word length HOT 8
- Sending join accept packet HOT 12
- Help to understand the "cfo_frac" calculation process HOT 1
- Dynamically changing the SF during runtime TX (modulate block bug) HOT 2
- RX Block Emit payload as binary as alternative to String? HOT 5
- Running example with USRP B210 HOT 9
- about manual binding
- Can I get the symbol sequence? HOT 6
- Print_rx_msg doesn't work HOT 2
- gr-lora_sdr OOT blocks doesn't appear in grc HOT 2
- Error: sched: <block frame_sync (8)> is requesting more input data than we can provide HOT 2
- replace USRP block with RTL SDR HOT 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 gr-lora_sdr.