I’m working on some ESP32 based sensor node using ttn-esp32 library.
I would like to use google protocol buffers for manage many time related sensor data.
Now I would like to send more than 51bytes by lorawan (and chirpstack suite).
I read about LoRaWAN Fragmented Data Block Transport specification and a @brocaar implementation (https://github.com/brocaar/lorawan/tree/master/applayer/fragmentation).
Can you help me managing segmenting payload data through chirpstack architecture?
The ChirpStack Application Server doesn’t handle the fragmentation for you (currently). This means that the same payload you enqueued, is transmitted to the device (given it fits within the max payload size). What you need to do is implement the payload fragmentation in your own application, and then enqueue these fragments as it were normal payloads
I need to send a large payload from nodes to application server so on app side I have to recognize that payload have to be de-fragmented and activate the routine, it isn’t? I read that default port value for fragmentation is 201, have I to use it to understand when activate de-fragmentation routine?
Thank you for your work and your support!!
You can use any port you like. For the ChirpStack Application Server these payloads will be just regular payloads. What matters is that your application knows how to deal with this data