vintage_net_mobile v0.1.1 VintageNetMobile.ATParser View Source

Parse AT response

Link to this section Summary

Functions

Parse the at response

Link to this section Functions

Link to this function

parse_at_response(arg)

View Source
parse_at_response(binary()) ::
  {:csq, {rssi :: non_neg_integer(), bit_error_rate :: non_neg_integer()}}

Parse the at response

This returns a two tuple that will contain the response_type() as the first element and the data for that response in the second response

Current this only supports parsing the CSQ AT response