Replies: 3 comments 6 replies
-
@zafersn FYI, regarding a previous discussion, it seems that the keyword is 'MQTT Offloading.' |
Beta Was this translation helpful? Give feedback.
-
@zafersn in my experience the TLS stack in the HL78xx is very limiting. It can only support a small amount of certificates and the certificate size they support is limiting. Cons:
|
Beta Was this translation helpful? Give feedback.
-
I have been looking into something similar for the bg95. I noticed that zephyr has the following definitions within
These appear to allow for externally defined functions to be defined within the application and it simply passes the responsibility to the application/user space to define where these functions point to. I'd assume that means I can define something like Does anyone see any downsides etc from this? |
Beta Was this translation helpful? Give feedback.
-
Apologies for asking this question here as well, as it was already raised on Discord. However, I wanted to have this question here for easier reference without cluttering other discussions.
I’m working on the HL7812 cellular modem, which provides built-in HTTP, MQTT, and LwM2M stacks. My goal is to use the modem’s stacks instead of Zephyr’s stacks to reduce code size and complexity. From my understanding, including AT commands should be sufficient to utilize these modem stacks.
However, That said, I came across a comment on Discord where someone mentioned that we “shouldn’t need to send MQTT-specific commands because the networking stack should handle all networking calls as long as an interface is up and available.”. This has left me a bit confused, and I’m not entirely sure what it means in practice.
I’m aware of the existing code for the HL7800 modem, which is similar to the HL7812. While it’s a useful reference for basic communication, it doesn’t seem to cover much functionality, and I’m unsure if it’s the best starting point.
Additionally, from a video shared on Discord (https://discord.com/channels/720317445772017664/905450375677636649/1325406611619188787), it seems the HL7800 driver uses offloaded networking rather than offloaded sockets. For my use case, it looks like I need to use offloaded sockets instead.
Overall, I’m not entirely sure where to start. Could anyone clarify the earlier comment regarding MQTT-specific commands and networking calls? Also, could you provide guidance on what I need to know, where to start, and whether there’s a similar modem driver I could look at? Finally, do you think it’s a good idea to rely on the modem’s built-in stacks instead of Zephyr’s stacks? What are the pros and cons of using the modem’s stacks vs Zephyr’s?
From my perspective, the pros seem to outweigh the cons, especially when considering the complexity of Zephyr’s MQTT, TLS stacks, and certificate management implementation, so these are the heavy implementations it requires on a host mcu.
What are your thoughts on this, and are there specific cases where Zephyr’s stacks might be more advantageous than the modem’s built-in stacks?
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions