Tapatalk

Sending and receiving dynamic datatypes using The Things Network

Sending and receiving dynamic datatypes using The Things Network

61

PostMay 18, 2022#1

Hi,
I was wondering if anyone had any experience sending and receiving dynamic datatypes using the things network. I want to be able to sync an ID database using a local whisper node with one through the Things network. I plan to use numerical IDs, like a set stored on the whisper node for validation.

Any help would be greatly appreciated.
Thanks

1885
1885

PostMay 18, 2022#2

Hi Alex,

Would you be able to provide more details about what the data would look like or maybe expand the real-life use case?

61

PostMay 18, 2022#3

Hi,
I plan to use a whisper node to log a sensor every 60 seconds for an undetermined number of minutes, and send a report via lorawan to the things network for processing, after having an RFID tag scan and authenticate with a message stored locally. Similarly, I want to send a list of updated IDs each time one gets added to a (likely sql) database via the things network. The server-side database isn't important for this question and can be adapted to send simpler IDs for easier use. I thought that sending a set of shorts or integers would work well and provide enough available numbers for future proofing. Provided the solution works, I'd like to replicate it, which would mean the server should serve the data with an assumption of nothing being stored locally at the time, and there may be more or less valid IDs at the time.

Hopefully this helps

1885
1885

PostMay 18, 2022#4

Hi Alex,

You should be able to send any data to TTN; there's not really a limitation on the data type or format. All gets sent as a binary string that can be a concatenation of multiple variables from your Firmware. I just recommend keeping the packages as short as possible, ideally less than 20 bytes for each transmission.

61

PostMay 27, 2022#5

Hi,
do you know what the largest possible payload size for the whisper node/AU915 while using the things network? If I could get the most out of a once per day transmission, that would be the best.
Thanks

10

PostSep 20, 2023#6

AlexMH wrote:
May 27, 2022
Hi,
do you know what the largest possible payload size for the whisper node/AU915 while using the things network? If I could get the most out of a once per day transmission, that would be the best.
Thanks
Hi. In the past year have you figured out what the maximum payload size is? I'm interested in that question now too.