puneet-tm / wirelessone-support

WirelessOne Support
1 stars 0 forks source link

Modification in OID for Link Distance Service for Cambium100SS, Cambium450i & Cambium450mSM #150

Open sarveshreddy-tm opened 4 years ago

sarveshreddy-tm commented 4 years ago

New OID for calculating link distance which we can run directly on connected SM to get Air Delay value in ns.

OLD : Air Delay (bits) : .1.3.6.1.4.1.161.19.3.2.2.4.0
 New : Air Delay (ns)   : .1.3.6.1.4.1.161.19.3.2.2.64.0

Note : 1) The above new OID is applicable for 100 as well as 450 platform. 2) The earlier provided OID was AP specific. 3)Formula for calculation is as below:

e.g. o/p(airDelayns)=4000

Distance(in feet) = float(((airDelayns * 983) / 1000) / 2)

                        = Float(((4000*983)/1000)/2)

                        = 1966 

Distance(in Km) = Distance(in feet)/3280.8

Distance(in Miles) = Distance(in feet)/5280

                          = 1966 /5280

                          = 0.372348485
sarveshreddy-tm commented 4 years ago

Tested on UAT and deployed on Production, result working fine.