-
Notifications
You must be signed in to change notification settings - Fork 132
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
Packet Size of Reply Packet #61
Comments
If you want a fixed packet size, you can directly change the code in |
Hello @DvdMgr I have been modifying EndDeviceStatus.cc file for my convenience and I am facing some issue in it.
Above I am changing the attaching the payload with Setreplypayload() but still I can see output as below It is creating an empty packet instead of creating a packet with size I have already stated. My idea is to emulate handshake between NS and end device and so I want to create reply packet according to the size of uplink packet. Thanks and Regards |
In that case, you have two ways to go about it:
The code you mentioned above does not work because you are creating new |
Hello, Thanks for responding to this issue. I am trying to solve minor error, I want to create a packet replyPacket = Create (1200); I suppose this is due to range of Unsigned integer which is 0-255 so tried to change data-type in source file. Still no luck. |
Keep in mind that the maximum size for the payload of a LoRaWAN packet is
from 50 to 200 bytes, depending on the spreading factor! Sending packets
1200 bytes long just is not possible with this technology
…On Thu, Dec 19, 2019, 9:04 PM Prapi123 ***@***.***> wrote:
Hello,
Thanks for responding to this issue.
I could emulate TLS handshake with above recommended process.
I am trying to solve minor error, I want to create a packet replyPacket =
Create (1200);
if gives an error "large integer implicitly truncated to unsigned type
[-Woverflow] "
I suppose this is due to range of Unsigned integer which is 0-255 so tried
to change data-type in source file. Still no luck.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#61?email_source=notifications&email_token=AATSICPANHPO2S2KEEH2OEDQZPHUZA5CNFSM4JYJOSPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHKYQMY#issuecomment-567642163>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATSICLDXOGNWJCBULNDM63QZPHUZANCNFSM4JYJOSPA>
.
|
Hello,
When I set MType :: Confirmed Data,
I want to send packets to end devices with a particular packet size.
It would be helpful for me if you suggest how can I achieve this.
Thanks and Regards
The text was updated successfully, but these errors were encountered: