Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years ago.
use generic_modem_driver with mbed online compiler
Hi,
I'm currently developing an application with nucleo with a sim808 module, which uses standard AT command for the communication. I use mbed online compiler, so I found this official API for my mission: https://docs.mbed.com/docs/mbed-os-api-reference/en/latest/APIs/communication/cellular/ .
But when I tried to import the example project (https://github.com/ARMmbed/mbed-os-example-cellular) to my online compiler and build it, I got an error "identifier "OnboardCellularInterface" is undefined". The "OnboardCellularInterface.h" is included in the example, and compiler did show class info.
And add full path #include "features/netsocket/cellular/generic_modem_driver/OnboardCellularInterface.h" didn't solve it.
Anyone know how to solve this problem? Sorry for this beginner question.
Thanks
1 Answer
7 years ago.
Hi there,
Here's the updated documentation for cellular with Mbed OS 5: https://os.mbed.com/docs/latest/reference/cellular-api.html
Try the example on that page and see if that solves your issue. Please let me know how it goes!
- Jenny, team Mbed