Commit Graph

34575 Commits (9e7e22dd2c3392c2fee68b5ad9bae2b1ce59f3a6)

Author SHA1 Message Date
David Alonso de la Torre 9e7e22dd2c Fix AT_CellularSMS::list_messages breaking in text mode when CRLF is contained in SMS payload text
When parsing SMS, it can happen that we receive CRLF in the SMS payload (happened to me when receiving provider texts).
As an example, we can receive:

"""
Hello <CR><LF>
World!
"""

With previous implementation, second consume_to_stop_tag was stopping in <CR><LF> and rest of the code was failing for obvious reasons.
With this commit we consume the full payload as bytes.
2024-05-11 10:42:46 +02:00
David Alonso de la Torre d676084600 Increase AT timeout to 10s in AT_CellularSMS::get_sms
When SMS list is big and baudrate is not fast enough, with default timeout we can suffer from timeout error while getting a sms because method is parsing the full list and this takes long.
2024-04-05 16:46:05 +02:00
David Alonso de la Torre 5c49f161fb Increase AT timeout to 10s in AT_CellularSMS::send_sms
For some devices sending can be slow (as an example see SIM800, it can be up to 60s), command is being run properly but default timeout is returning an invalid error.
See https://www.elecrow.com/wiki/images/2/20/SIM800_Series_AT_Command_Manual_V1.09.pdf
2024-04-05 16:45:59 +02:00
Martin Kojtal baf6a3022a
Merge pull request #15471 from hallard/LoRaWAN_set_antenna_gain
LoRaWAN allow to adapt antenna gain
2023-12-20 12:43:00 +01:00
Martin Kojtal 61ab4f7f76
Merge pull request #15472 from jtmyz9/jmcloud/STM32-use-more-than-one-fifo
Don't overlap STM32 FDCAN RAM sections
2023-12-19 16:33:14 +01:00
Martin Kojtal 6403ec75c7
Merge pull request #15473 from cyliangtw/master
USBCDC support ZLP
2023-12-19 16:31:04 +01:00
Martin Kojtal dd99580cc5
Merge pull request #15475 from OpenNuvoton/nvt_usbd_zlp
Nuvoton: Bug fix of Nuvoton HUSBD driver's endpoint write
2023-12-14 13:42:15 +01:00
cyliang tw 772c5d3eec Fix NUC472 wrong define of set-zero-packet 2023-12-14 11:18:31 +08:00
cyliang tw 126d767a59 Avoid USBCDC send_nb break the continuation use case 2023-12-13 13:53:27 +08:00
Chris Liang c30af6a7df To judge send ZLP or not in USBCDC::AsyncWrite 2023-12-08 19:39:16 +08:00
cyliang tw 0ecb9bd268 Nuvoton HUSBD support endpoint write ZLP 2023-12-05 19:44:43 +08:00
Chris Liang ca616c865a
Move "send ZLP write start" after last alignment packet sent 2023-12-05 19:31:17 +08:00
Chris Liang e2aed1824c
Update USBCDC.cpp to fulfill A style 2023-12-01 20:43:12 +08:00
Chris Liang 1cccc7e14d
Update USBCDC.cpp to support ZLP 2023-12-01 20:22:47 +08:00
Chris Liang 794ee9704f
Update USBCDC.h to support ZLP 2023-12-01 20:17:06 +08:00
jmcloud 9859c60751 Don't overlap STM32 FDCAN RAM sections 2023-11-30 13:19:29 -08:00
Charles deb09a3a9c allow to override antenna gain 2023-11-30 14:52:19 +01:00
Martin Kojtal 30c2ea2cbc
Merge pull request #15469 from cyliangtw/master
TARGET_M480: Update targets.json to enable IAR support
2023-11-30 10:35:50 +01:00
Chris Liang 2ebe0d5b31
TARGET_M480: Update targets.json to enable IAR support 2023-11-29 13:55:02 +08:00
Martin Kojtal 36045bd4b5
Merge pull request #15464 from hallard/LoRaWAN_sleep_radio_scheduled_tx
LoRaWAN fix over consumption on scheduled tx
2023-11-24 14:35:08 +01:00
Martin Kojtal 08c7171247
Merge pull request #15461 from pavels/master
TARGET_STM: only mask CAN rx interrupt after rx interrupt, not all CAN interrupts
2023-11-23 11:31:54 +01:00
Charles 9c3c88c96e Sleep Radio in between DC scheduled 2023-11-10 11:51:42 +01:00
Martin Kojtal 72f27cee92
Merge pull request #15458 from MultiTechSystems/xdot-max32670
Add target support for XDOT_MAX32670
2023-10-31 12:56:49 +00:00
Pavel Sorejs 47ec87ed35 TARGET_STM: only mask CAN rx interrupt after rx interrupt, not all CAN interrupts 2023-10-26 20:50:37 +02:00
Leon Lindenfelser 4ba13f104d Remove commented out code 2023-10-25 11:36:53 -05:00
Martin Kojtal 7c7d20da65
Merge pull request #15459 from hallard/STM23WL_fix_preamble
STM32WL LoRaWAN set downlink preamble length to 8
2023-10-25 16:55:28 +01:00
Leon Lindenfelser 27ab6d82aa Add missing license header 2023-10-24 09:59:40 -05:00
Charles 394cbeec6b STM32WL fix set preamble length to 8 2023-10-24 10:23:44 +02:00
Leon Lindenfelser ae97837f45 Fix pin validation for target XDOT_MAX32670 2023-10-23 12:16:45 -05:00
Leon Lindenfelser fcda8846f2 Add target support for XDOT_MAX32670 2023-10-19 16:03:17 -05:00
Martin Kojtal 1a036c29fe
Merge pull request #15457 from chrJost/Console_Pin_Checks
STM32: disable CONSOLE_* checks in for serial if no console available
2023-10-18 11:48:44 +01:00
Jost, Chris 738419f6b7 remove stdio checks in serial init if no console is available 2023-10-10 10:52:09 +02:00
Martin Kojtal b3a5d6a473
Merge pull request #15454 from world-direct/feature/cellularevents
make cellular event queue size configurable
2023-09-14 11:23:48 +02:00
Lukas Karel ab46d51253 make cellular event queue size configurable
update unit tests
2023-09-13 15:11:07 +02:00
Martin Kojtal 7049bfcef4
Merge pull request #15453 from MaximIntegrated/fix-spi_glitch
Fix MAX32660, MAX32670 SPI glitch fix
2023-09-13 13:24:35 +01:00
Sadik.Ozer cbe0f73a0e Fix: Do not disable SPI for manual drive mode during transaction setup
It has been reported that disabling SPI module causes glitch for manual SS drive mode

Signed-off-by: Sadik.Ozer <sadik.ozer@analog.com>
2023-09-07 10:15:32 +03:00
Martin Kojtal 67c25e8365
Merge pull request #15448 from hallard/STM32_weak_deepsleep
STM Sleep change dependency func from static to WEAK
2023-08-28 14:27:08 +01:00
Charles 92718337ed Changed static to weak 2023-08-22 12:17:04 +02:00
Martin Kojtal f0d9090940
Merge pull request #15443 from hallard/STM32Cube_FW_WL_V1.3.0
STM32WL update drivers version to CUBE V1.3.0
2023-08-21 15:16:58 +01:00
Martin Kojtal dba734fb70
Merge pull request #15446 from mak22223/master
Add fix for STM32G4 hardfault in sleep mode
2023-08-16 15:33:43 +01:00
Martin Kojtal 3c1f0d56d8
Merge pull request #15438 from OpenNuvoton/nvt_m467_emac
connectivity: drivers: Update Nuvoton M467 EMAC DMA_IE ctl
2023-08-16 15:33:21 +01:00
Martin Kojtal 1720397c7f
Merge pull request #15447 from josephduchesne/stm32g473-fdcan3-irq-crash
Fix crash when using FDCAN3 RX IRQ on STM32G473 (and others)
2023-08-16 15:32:33 +01:00
Joseph Duchesne 02b573793a
Fix crash when using FDCAN3 RX IRQ on STM32G473 (and others) 2023-08-14 11:07:23 -04:00
Maxim Markin 555822558e Add workaround for G474 hardfault 2023-08-14 11:35:00 +03:00
Charles 306c93d268 update drivers STM32WL CUBE V1.3.0 2023-08-11 14:34:06 +02:00
cyliang tw 5837179e78 connectivity: drivers: Update Nuvoton M467 EMAC DMA_IE ctl
In IRQ Handler, to disable some interrupt type of DMA error.
It could avoid unexpected repeated interrupt.The masked bit of
DMA_IE could be recovered in next EMAC IRQ event.

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
2023-07-13 16:21:57 +08:00
Martin Kojtal 13f43cce52
Merge pull request #15435 from chrJost/TCP_reset_flag
add nullpointer check in LWIP::socket_close
2023-07-11 16:32:31 +02:00
Jost, Chris 67d845be32 add nullpointer check in LWIP::socket_close 2023-07-05 11:22:22 +02:00
Martin Kojtal f9c0cd2a94
Merge pull request #15431 from alrvid/patch-1
Handle negative values passed to close()
2023-07-03 16:08:17 +02:00
Saheer Babu 89c1705234
Merge pull request #15433 from saheerb/master
doc: Provide mbed_die example for security considerations
2023-06-30 15:39:46 +01:00