modem_cellular: ability to launch chat script from application space. #64293
-
Is there a way to execute a chat script directly on a modem interface based on modem cellular? For example, sometimes I would initiate a QCSQ command to get network health status, from application space to a specific device and I didn't find a better way than add a specific command reachable from application space: Do you have a better idea? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 21 replies
-
@bjarki-trackunit It could require a generic function to get information on network signals.
I don't know if net_mgmt is the right place for that or a new one shall be implemented (more cellular network specific) Data could be:
Maybe a RFC could be more appropriate for that but I would have your opinion. |
Beta Was this translation helpful? Give feedback.
-
@bjarki-andreasen Hi bjarki, is there any way to change the cmds sent to the modem in runtime? |
Beta Was this translation helpful? Give feedback.
The modem_cellular driver is an MVP intended as a base implementation for other drivers. It demonstrates how the modem modules work, and provides network connectivity.
We do not have a proper cellular modem API in zephyr yet, so custom APIs must be implemented out-of-tree for now. this includes setting APN and other credentials, selecting radio access tech, sending sms'es etc. In short, copy paste modem_cellular.c out of tree, create an API that fits your needs out-of-tree, then implement it in your out-of-tree driver
This is taken from the modem_cellular driver line 1487: