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.
11 years, 3 months ago.
how to know if the vodafone modem connection is 3G
Hi guys I was wondering how is it possible to know by code if the vodafone modem is connected on 3G or GPRS. I know the light on the modem already indicates this, but I was wondering if there's some kind of function that provides this information. Thanks
2 Answers
11 years, 3 months ago.
The Vodafone USB Modem library has a function getLinkState
11 years, 3 months ago.
nvm. I understand the function now. I'll just put this as a reference for others who have a problem. The information lies in the arguments that you pass as they are pointers. The LinkMonitor::BEARER variable does the job