On Fri, 2011-07-29 at 12:00 +0200, Nicolas CARRIER wrote: > Hello, > I share the connection of a blackberry with pppob and I need to know if > the blackberry is ready to tether or not. > The problem is that the blackberry always responds to AT commands sent > via pppob, even if it is not ready, without SIM or even powered off... > What's more, the AT+CPIN commands doesn't work (it always reports CPIN: > READY) > Do you know if there is a way a way to know (programmatically) if the > phone is powered on and the sim is (present and) unlocked ? > It would be preferable for me to do it with pppob directly, but a > solution with libbarry would be ok. >
Well, AT+CLAC will list all of the commands it understands. My first thought would be AT+CSQ. Google will show you what some of these mean. > Thank you ! > ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel