Page 1 of 1

A new way to check integration status in netgear devices

Posted: Sat Aug 19, 2023 4:27 am
by hkm2030
To know the status of integration available to you in your area very accurately
Click on this link and go down to the penultimate one, and it will become clear to you the status of the merge and what frequency is connected to it

192.168.1.1/model.json

Re: A new way to check integration status in netgear devices

Posted: Sat Aug 19, 2023 10:59 am
by Hogwild
Thanks for that. For those of us less knowledgeable, what is "integration status"?

Re: A new way to check integration status in netgear devices

Posted: Sun Aug 20, 2023 1:33 am
by hkm2030
It means integrating the available frequency bands into your communication tower

Re: A new way to check integration status in netgear devices

Posted: Fri Aug 25, 2023 7:16 am
by Renate
I didn't know how much this stuff is universal across NetGear models.
NetGear uses templates, like "wwanadv.json.tmpl" to generate json.
The templates are goofy with control characters and character counts.
They are not really possible to generate with a text editor.

192.168.???.1/model.json is actually 192.168.???.1/api/model.json through a rewrite rule.
This tells you what you want to know in JSON but it's a big pig and has lots of junk that you don't care about.
Moreover, it takes 200-300 milliseconds to serve.
It's better to make your own template that has just what you need.
I want to "cherry pick" from wwan.json and wwanadv.json.
I made a template for my LM1200 called modem.json.tmpl that serves in 30 milliseconds.

Code: Select all

{
   "wwan":
   {
      "connection":"Connected",
      "dataUsage":
      {
         "generic":
         {
            "billingCycleLimit":107374182400,
            "dataTransferred":16567206752
         }
      },
      "IP":<redacted>
   },
   "wwanadv":
   {
      "cellId":<redacted>,
      "chanId":5230,
      "chanIdUl":23230,
      "country":"USA",
      "curBand":"LTE B13",
      "LAC":<redacted>,
      "MCC":"311",
      "MNC":"480",
      "MNCFmt":3,
      "plmnSrvErrBitMask":0,
      "primScode":-1,
      "RAC":0,
      "radioQuality":68,
      "rxLevel":-93,
      "srvCellInfo":"",
      "txLevel":-50
   }
}
Then there is the next issue. Most of this info is not available unless you are logged in. If you want to have an Android app that polls this you'll either have to have it log in or else change the permissions for the variables. You can patch NetgearWebApp to loosen the permissions.