Is there any update on the potential to binary encode meta data?
We’ve been looking at cellular backhaul usage. Presently, we’re using the UDP semtech packet forwarder with GW’s from: laird, tektelic, and gemteks. The semtech packet forwarder seems to be the most universally available for use with the server stack.
In going through the protocol details and analyzing data using tcpdump I’ve found that there is quite a bit of overhead from GW to/from Server (i.e. cellular portion of the link). I’ve seen that a 9 byte application UL message can turn into a 235 byte UDP packet. Similarly a DevStat request with 0 bytes application payload (i.e. mac only) can turn into a 218 byte UDP packet. Then, the PULL_DATA/PULL_ACK are 40/32 bytes a piece.
Basically, as a GW scales to 1000’s of devices we could be looking at 2-5Gbytes/month for backhaul data for a modest 1 hour UL rate.
So, trying to refresh this link to see if there’s been any further look at compression of metadata.
Thanks. for reference here are some examples for PULL_DATA, PULL_ACK, PULL_RESP, PUSH_DATA:
===============================================================================
17:25:59.824721 IP (tos 0x0, ttl 41, id 19041, offset 0, flags [DF], proto UDP (17), length 40)
XXXXXX.lightspeed.sndgca.sbcglobal.net.44706 > ip-XXXXXX.us-west-2.compute.internal.1700: [udp sum ok] UDP, length 12
0x0000: 4500 0028 4a61 4000 2911 b31d 6327 4013 E…(Ja@.)…c’@.
0x0010: ac1a 04f2 aea2 06a4 0014 1bed 026b f402 …k…
0x0020: 0000 1c49 7bb4 4be0 …I{.K.
17:25:59.825030 IP (tos 0x0, ttl 64, id 17922, offset 0, flags [DF], proto UDP (17), length 32)
ip-XXXXXX.us-west-2.compute.internal.1700 > XXXXXX.lightspeed.sndgca.sbcglobal.net.44706: [bad udp cksum 0x5464 -> 0xffd8!] UDP, length 4
0x0000: 4500 0020 4602 4000 4011 a084 ac1a 04f2 E…F.@.@…
0x0010: 6327 4013 06a4 aea2 000c 5464 026b f404 c’@…Td.k…
17:26:00.453341 IP (tos 0x0, ttl 232, id 48687, offset 0, flags [none], proto UDP (17), length 235)
XXXXXXXX.lightspeed.sndgca.sbcglobal.net.49155 > ip-XXXXXXXXX.us-west-2.compute.internal.1700: [udp sum ok] UDP, length 207
0x0000: 4500 00eb be2f 0000 e811 bf8b 6327 4013 E…/…c’@.
0x0010: ac1a 04f2 c003 06a4 00d7 47ba 02eb 8900 …G…
0x0020: 647f daff fe00 5183 7b22 7278 706b 223a d…Q.{“rxpk”:
0x0030: 5b7b 2274 6d73 7422 3a31 3734 3930 3230 [{“tmst”:1749020
0x0040: 3735 352c 2263 6861 6e22 3a31 2c22 7266 755,“chan”:1,“rf
0x0050: 6368 223a 302c 2266 7265 7122 3a39 3032 ch”:0,“freq”:902
0x0060: 2e35 3030 3030 302c 2273 7461 7422 3a31 .500000,“stat”:1
0x0070: 2c22 6d6f 6475 223a 224c 4f52 4122 2c22 ,“modu”:“LORA”,"
0x0080: 6461 7472 223a 2253 4637 4257 3132 3522 datr":“SF7BW125”
0x0090: 2c22 636f 6472 223a 2234 2f35 222c 226c ,“codr”:“4/5”,“l
0x00a0: 736e 7222 3a31 302e 302c 2272 7373 6922 snr”:10.0,“rssi”
0x00b0: 3a2d 3436 2c22 7369 7a65 223a 3232 2c22 :-46,“size”:22,"
0x00c0: 6461 7461 223a 2251 5062 2f47 6636 4147 data":“QPb/Gf6AG
0x00d0: 7834 4348 734b 5a2b 4c72 597a 4753 4544 x4CHsKZ+LrYzGSED
0x00e0: 3067 4d47 673d 3d22 7d5d 7d 0gMGg==”}]}
17:56:45.783850 IP (tos 0x0, ttl 64, id 54665, offset 0, flags [DF], proto UDP (17), length 218)
ip-XXXXXXXX.us-west-2.compute.internal.1700 > XXXXXXXX.lightspeed.sndgca.sbcglobal.net.46586: [bad udp cksum 0x551e -> 0xaf8e!] UDP, length 190
0x0000: 4500 00da d589 4000 4011 1043 ac1a 04f2 E…@.@…C…
0x0010: 6327 4013 06a4 b5fa 00c6 551e 024b c203 c’@…U…K…
0x0020: 7b22 7478 706b 223a 7b22 696d 6d65 223a {“txpk”:{“imme”:
0x0030: 6661 6c73 652c 2274 6d73 7422 3a31 3433 false,“tmst”:143
0x0040: 3330 3236 3231 322c 2266 7265 7122 3a39 3026212,“freq”:9
0x0050: 3236 2e33 2c22 7266 6368 223a 302c 2270 26.3,“rfch”:0,“p
0x0060: 6f77 6522 3a32 302c 226d 6f64 7522 3a22 owe”:20,“modu”:"
0x0070: 4c4f 5241 222c 2264 6174 7222 3a22 5346 LORA",“datr”:“SF
0x0080: 3742 5735 3030 222c 2263 6f64 7222 3a22 7BW500”,“codr”:"
0x0090: 342f 3522 2c22 6970 6f6c 223a 7472 7565 4/5",“ipol”:true
0x00a0: 2c22 7369 7a65 223a 3133 2c22 6461 7461 ,“size”:13,"data
0x00b0: 223a 2259 487a 4579 2f2b 426c 6745 474a ":“YHzEy/+BlgEGJ
0x00c0: 644b 464e 673d 3d22 2c22 6272 6422 3a30 dKFNg==”,“brd”:0
0x00d0: 2c22 616e 7422 3a30 7d7d ,“ant”:0}}