1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

40 Commits

Author SHA1 Message Date
Mihai Renea
5a7d553b8e drivers/at: expose some internal API 2024-05-28 12:20:54 +02:00
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Mihai Renea
63e057cb50 drivers/at: Fix sync URC handling. at_send_cmd_get_lines() keeps EOL. 2024-03-20 14:32:09 +01:00
Mihai Renea
218d79fee5 drivers/at: refactor for better unit testing of parsing methods 2024-03-20 12:50:07 +01:00
Mihai Renea
b40c9a0366 drivers/at: removed async URC handling. 2024-03-20 12:49:56 +01:00
Mihai Renea
c58b71b899 drivers/at: parse +CME/+CMS responses and save error value 2024-02-22 12:21:25 +01:00
Mihai Renea
e99cafba33 drivers/at: fix URC collision with command response 2023-11-10 15:26:47 +01:00
Vitor Batista
607cbc606c drivers/at: rename urc_isr_low pseudomodule to lowest 2023-03-21 15:46:35 +01:00
Vitor Batista
32781f3c51 drivers/at: fixed faulty event prio name 2023-03-21 14:55:50 +01:00
Kees Bakker
94474236f1 drivers/at: add a function read a response plus the OK
There are many modem commands for which you get a line of response followed
by an OK. Take for example the AT+CGSN command to get the IMEI of a Ublox
G350.
  >> AT+CGSN
  << 004999010640000
  << OK
2022-10-16 14:05:31 +02:00
37bc47e21c
drivers/at: remove deprecated AT_SEND_ECHO define 2022-01-14 09:06:17 +01:00
22d9040211
drivers/at: declare pseudomodules at driver level 2021-10-05 11:48:53 +02:00
Leandro Lanzieri
024b70cbe1
drivers/at: add modules to Kconfig 2020-11-18 18:38:48 +01:00
Bas Stottelaar
92b1dfc703 drivers/*: realign ENABLE_DEBUG 2020-10-23 01:26:09 +02:00
Bas Stottelaar
4bdfe9a254 drivers/*: add missing include of assert.h 2020-10-22 11:13:08 +02:00
Leandro Lanzieri
d25fc243c4
treewide: change prefix for generated Kconfig symbols.
This changes the prefixes of the symbols generated from USEMODULE and
USEPKG variables. The changes are as follow:

   KCONFIG_MODULE_ => KCONFIG_USEMODULE_
   KCONFIG_PKG_ => KCONFIG_USEPKG_
   MODULE_ => USEMODULE_
   PKG_ => USEPKG_
2020-08-31 09:37:09 +02:00
304bce3724
drivers: configure per driver dependency resolution 2020-07-20 14:32:16 +02:00
Leandro Lanzieri
955efd85ff
drivers/at: Add at_urc_isr module to process URCs upon arrival 2020-06-30 11:41:13 +02:00
Akshai M
e672ca2010 drivers/at : Expose to Kconfig
Expose configurations to Kconfig:
Model choice for CONFIG_AT_SEND_EOL
Allow value to be configured as exponent for AT_BUF_SIZE
2020-06-17 14:52:21 +05:30
Akshai M
f9741b3ed5 drivers/at : Add CONFIG_
Add CONFIG_ prefix to AT_SEND_EOL,  AT_SEND_SKIP_ECHO,
CONFIG_AT_RECV_OK, CONFIG_AT_RECV_ERROR
2020-06-17 14:52:21 +05:30
Toon Stegen
331c0db5cf driver/at: add return code for CME/CMS errors
in case of CME or CMS errors, the error codes or human readable strings
are in the response buffer. We want to indicate to the AT driver user
that when tihs case occurrs so he can extract the error codes.
2019-06-25 09:59:27 +02:00
Martine Lenders
8cf4bc178c at: adapt for isrpipe API type change 2019-06-05 18:16:32 +02:00
Leandro Lanzieri
5b04fb1713 drivers/at: Add function to receive until string 2019-05-16 14:45:53 +02:00
Martine Lenders
db8954fe60
Merge pull request #11267 from cladmi/pr/isrpipe/separate_read_timeout
isrpipe: split isrpipe_read_timeout to isolate xtimer dependency
2019-03-26 22:27:15 +01:00
Gaëtan Harter
29fc58bc79
drivers/at: remove the direct dependency to xtimer
`at` is not using the `xtimer` module directly but only through
'isrpipe_read_timeout'.
2019-03-26 21:36:24 +01:00
Gaëtan Harter
b07eecd619
isrpipe: split isrpipe_read_timeout to isolate xtimer dependency
This defines a new 'isrpipe_read_timeout' module that should be used when using
the timeout based function of isrpipe.

This fix the implicit dependency to 'xtimer' that is only needed for the
'_timeout' functions.

It prevents 'stdio_uart' that uses 'isrpipe' to need to depend on xtimer.
This was silently solved at link time for most platforms but not for the
'esp32' for example.

'drivers/at' needed to be updated at the same time to follow the api change.
2019-03-26 21:36:24 +01:00
Ran Berant
59416fc6ce drivers/at: make at_dev_init() return uart initialize status
in case there's an error uart_init() returns an error value,
this value indicates the reason for the error thus we should
return it from at_dev_init() so the user will be able to identify
whether the init succeded or failed.
2019-01-23 19:02:14 +02:00
Martine Lenders
e13bc4285b
Merge pull request #10191 from fedepell/at_recv_bytes_1
drivers/at: add function to read raw data bytes from modem
2018-12-28 12:09:35 +01:00
Federico Pellegrin
e34d46e096 drivers/at: add function to read raw data bytes from modem 2018-11-30 14:59:00 +01:00
Juan Carrano
53de520619 drivers/at: fix invalid function pointer cast. 2018-10-31 10:58:43 +01:00
Toon Stegen
021ab9764a at driver: fix at_send_cmd_get_lines bug
When reusing the same buffer for the at command and response, no command
would be sent because the buffer was cleared. This is fixed by only
clearing the buffer after the command has been sent.
2018-09-18 12:16:09 +02:00
Vincent Dupont
21867b2867 drivers/at: ad poweron/off functions 2018-07-17 10:02:36 +02:00
Vincent Dupont
3393888cea drivers/at: add URC registering and parsing feature 2018-06-26 10:03:10 -07:00
ceb9710b3e drivers/at: make OK and ERROR replies configurable 2018-06-13 09:49:13 +02:00
Vincent Dupont
3f620d582d at: make receive EOL configurable 2018-05-29 17:30:55 +02:00
Vincent Dupont
3f94bd20f4 drivers/at: add option to keep CR char 2018-05-29 17:30:55 +02:00
0199f36bb3 drivers: at: many improvements 2018-05-23 16:08:28 +02:00
Vincent Dupont
7340e77328 drivers/at: add at_send_cmd_wait_prompt and at_send_bytes 2018-05-23 16:08:28 +02:00
Vincent Dupont
ee29b76c89 drivers/at: make EOL char configurable 2018-05-23 16:08:28 +02:00
9c9fad6da5 drivers: initial commit of generic AT parser module 2018-05-23 16:08:28 +02:00