~aleteoryx/muditaos

ref: 32c6769cb684b99d6154c41fa72a421ce1e23c0c muditaos/module-cellular/modem/doc/ATStream.md -rw-r--r-- 1.1 KiB
32c6769c — Lefucjusz [BH-1657][BH-1833][BH-1854] Add WFI and SDRAM self-refresh mode 2 years ago

#Channel implementation

#Table of contents

  1. History
  2. Scope
  3. Current implementation

#History

Authors Change description Status Modification date
Bartosz Reichel Initial version Draft 2021.02.10

#Scope

Description of dependencies for channel and ATStream usage

#Current implementation

alt text

When initializing the modem, communication is direct via the UART channel through the ATParser channel (AT commands). At CMUX configuration, the channel for AT commands is represented by DLC_Channel (see Channel::Commands and also Channel::Notifications and Channel::Data).

Both ATParser and DLC_Channel use ATStream (in Channel) for parsing AT command. ATStream parse AT commands in terms of correctness /return (not the selected command)

below way of how ATStream parse command (especially such strange like QPING)

alt text