Diffo - TMF Service and Resource Management with a difference
Speeds type for NBN domain
Summary
Functions
Returns a tuple of maximum downstream and upstream speeds in Mbps given the bandwidth_profile and technology, or :error
Functions
Returns a tuple of maximum downstream and upstream speeds in Mbps given the bandwidth_profile and technology, or :error
Examples
iex> DiffoExample.Nbn.Speeds.speeds(:D12_U1, :Satellite) {12, 1} iex> DiffoExample.Nbn.Speeds.speeds(:home_fast, :FTTP) {500, 50} iex> DiffoExample.Nbn.Speeds.speeds(:home_hyperfast, :HFC) {2000, 100} iex> DiffoExample.Nbn.Speeds.speeds(:home_fast, :FixedWireless) :error