class Dovado::Router::Info::Signal

Signal Strength object

@since 1.0.3

Attributes

network[R]

Network type

One of:

  • 2G

  • 3G

  • 4G

@return [String] current network type

noise[R]

Signal noise level in dBm

@return [Integer] noise level (dBm)

strength[R]

Strength as a percentage

@return [Integer] an integer from 0 to 100

Public Class Methods

new(args) click to toggle source
# File lib/dovado/router/info/signal.rb, line 29
def initialize(args)
  @strength = args[:strength].to_i
  @noise = args[:noise].to_i
  @network = args[:network]
end