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
Hello everybody,
as described on this link: #48625 when using the muxing off ppp and at commands on my modem I am unable to send my custom AT commands because the gsm_ppp API keeps sending AT commands to the AT channel constantly without locking. That is why I decided to modify the gsm_ppp driver myself. But the problem is that I am not allowed to use functions from that driver in my application code and I don't understand why. I am able to compile the changes in gsm_ppp.c and gsm_ppp.h files and include the gsm_ppp.h file in my application code. But when I try using some of the functions that are declared in the gsm_ppp.h file I get an undefined reference to that function. Has anyone any idea why is that happening? I saw that there is a sample in the zephyr repo which uses that gsm_ppp driver and calls functions from the driver so I guess it must be possible? When trying to build that sample I also get various errors
This discussion was converted from issue #50029 on September 13, 2022 16:34.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everybody,
as described on this link: #48625 when using the muxing off ppp and at commands on my modem I am unable to send my custom AT commands because the gsm_ppp API keeps sending AT commands to the AT channel constantly without locking. That is why I decided to modify the gsm_ppp driver myself. But the problem is that I am not allowed to use functions from that driver in my application code and I don't understand why. I am able to compile the changes in gsm_ppp.c and gsm_ppp.h files and include the gsm_ppp.h file in my application code. But when I try using some of the functions that are declared in the gsm_ppp.h file I get an undefined reference to that function. Has anyone any idea why is that happening? I saw that there is a sample in the zephyr repo which uses that gsm_ppp driver and calls functions from the driver so I guess it must be possible? When trying to build that sample I also get various errors
Beta Was this translation helpful? Give feedback.
All reactions