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

20 Commits

Author SHA1 Message Date
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