Computing datarate given packet metadata

Computing datarate given packet metadata

I've connected my Actility device to Datacake, and I want to store the uplink packet's data rate. The difficulty is that this is not part of the packet metadata. Below is an example of the metadata.

For US915, you can determine the data rate from the spreading factor (SpFact field) and the bandwidth. But unfortunately, the bandwidth of the channel isn't given. I'm wondering if that information could be embedded in the "Channel" field. They have strange names like "LC10" or "LC133," etc. Is there a magic decoder ring for this field?
  1.     
  2. [
  3.   [
  4.     {
  5.       "DevEUI_uplink": {
  6.         "ADRbit": 1,
  7.         "AckRequested": 0,
  8.         "BaseStationData": {
  9.           "doms": [],
  10.           "name": "david-home-test1"
  11.         },
  12.         "Channel": "LC10",
  13.         "CustomerData": {
  14.           "alr": {
  15.             "pro": "LORA/Generic",
  16.             "ver": "1"
  17.           },
  18.           "doms": [],
  19.           "loc": null,
  20.           "name": "A9000",
  21.           "tags": []
  22.         },
  23.         "CustomerID": "100037732",
  24.         "DevAddr": "04000871",
  25.         "DevEUI": "0080E11505EB471C",
  26.         "DevLrrCnt": 1,
  27.         "DriverCfg": {
  28.           "app": {
  29.             "mId": "etrees-tag",
  30.             "pId": "eplant",
  31.             "ver": "1"
  32.           },
  33.           "id": "custom:etrees-tag:1",
  34.           "mod": {
  35.             "mId": "lora",
  36.             "pId": "generic",
  37.             "ver": "1"
  38.           }
  39.         },
  40.         "DynamicClass": "A",
  41.         "FCntDn": 2,
  42.         "FCntUp": 7,
  43.         "FPort": 4,
  44.         "Frequency": 904.3,
  45.         "InstantPER": 0,
  46.         "Late": 0,
  47.         "LostUplinksAS": 0,
  48.         "Lrcid": "000000CB",
  49.         "LrrESP": -58.710819,
  50.         "LrrLAT": 37.484356,
  51.         "LrrLON": -121.915146,
  52.         "LrrRSSI": -58,
  53.         "LrrSNR": 7.5,
  54.         "Lrrid": "1000165C",
  55.         "Lrrs": {
  56.           "Lrr": [
  57.             {
  58.               "Chain": 0,
  59.               "LrrESP": -58.710819,
  60.               "LrrRSSI": -58,
  61.               "LrrSNR": 7.5,
  62.               "Lrrid": "1000165C"
  63.             }
  64.           ]
  65.         },
  66.         "MType": 2,
  67.         "MeanPER": 0,
  68.         "ModelCfg": "1:TPX_eb324ec5-de26-4857-b253-e772a0e36e16",
  69.         "NbTrans": 1,
  70.         "SpFact": 7,
  71.         "SubBand": "G0",
  72.         "Time": "2024-07-10T00:09:50.608+00:00",
  73.         "TxPower": 8,
  74.         "downlinkUrl": ",[object Object],",
  75.         "mic_hex": "74351136",
  76.         "payload": [],
  77.         "payload_hex": "143caafd907037ff5800ba017f402ff01fe037f01af602fe8048fe02ff015f8097f015f80bfc04ff808afc04bf80",
  78.         "rawMacCommands": ""
  79.       }
  80.     }
  81.   ]
  82. ]