You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I understand the AWS stack correctly, the higher-level libraries (eg. coreMQTT, or the underlying TLS / SSL encryption layers) interface to sockets via the TCP_Sockets interface, which is provided by wrappers to the actual implementation, which can either be
the FreeRTOS TCP (providing TCP/IP stack on MCU) or
the FreeRTOS Cellular Interface (reusing the TCP/IP stack on modem)
The FreeRTOS Cellular TCP_Sockets wrapper provides modem-agnostic blocking receive (handled via event groups and data ready callbacks), thereby allowing the modem implementation only needing to support the non-blocking receive (possibly returning less than the requested number of bytes). The Cellular_SocketRecv() API seems to imply such operation. Some ports (eg. BG96) follow this.
The current sim70x0 implementation has implemented a blocking receive via pSimContext->pdnEvent event group, which is then manipulated in the URC handler and various parser functions.
This can probably be removed without effect on the higher layers, simplifying the port.
The text was updated successfully, but these errors were encountered:
If I understand the AWS stack correctly, the higher-level libraries (eg. coreMQTT, or the underlying TLS / SSL encryption layers) interface to sockets via the
TCP_Sockets
interface, which is provided by wrappers to the actual implementation, which can either beCurrent implementations are available here
The FreeRTOS Cellular
TCP_Sockets
wrapper provides modem-agnostic blocking receive (handled via event groups and data ready callbacks), thereby allowing the modem implementation only needing to support the non-blocking receive (possibly returning less than the requested number of bytes). TheCellular_SocketRecv()
API seems to imply such operation. Some ports (eg. BG96) follow this.The current sim70x0 implementation has implemented a blocking receive via
pSimContext->pdnEvent
event group, which is then manipulated in the URC handler and various parser functions.This can probably be removed without effect on the higher layers, simplifying the port.
The text was updated successfully, but these errors were encountered: