Quantcast
Channel: MultiTech Developer Resources » All Posts
Viewing all articles
Browse latest Browse all 7111

Reply To: Creating and Updating LORA Device Groups.

$
0
0

So the groups page completely errors out or is blank if the deveuis is set to null via code. An example JSON for which the UX is completely broken is as shown below and I see the following error in the browser console.

vendor.7e69a35f0ea1812ae2da.js:1 TypeError: Cannot read property ‘length’ of null
at 60.cfe321709b14c865ceb5.js:1
at a.kt [as _l] (vendor.7e69a35f0ea1812ae2da.js:1)
at a.render (60.cfe321709b14c865ceb5.js:1)
at a.t._render (vendor.7e69a35f0ea1812ae2da.js:6)
at a.r (vendor.7e69a35f0ea1812ae2da.js:1)
at za.get (vendor.7e69a35f0ea1812ae2da.js:6)
at za.run (vendor.7e69a35f0ea1812ae2da.js:6)
at Ee (vendor.7e69a35f0ea1812ae2da.js:1)
at Array.<anonymous> (vendor.7e69a35f0ea1812ae2da.js:1)
at ct (vendor.7e69a35f0ea1812ae2da.js:1)

{
   "code" : 200,
   "result" : {
      "lora_groups" : [
         {
            "deveuis" : [ "00:80:00:00:00:01:96:cd" ],
            "groupeui" : "00-80-00-88-21-09-23-24",
            "groupname" : "FOTA_HIGHER_DR"
         },
         {
            "deveuis" : null,
            "groupeui" : "00-80-00-bb-cf-fe-6f-83",
            "groupname" : "FOTA_LOWER_DR"
         }
      ]
   },
   "status" : "success"
}

Thanks,
Ajay.


Viewing all articles
Browse latest Browse all 7111

Trending Articles