Guest drmad Posted May 29, 2013 Report Posted May 29, 2013 (edited) lens have you tried to use cm9 metal as a modem for windows? I tried: windows is able to use cm9 metal as a modem, go on the internet using AT commands, I put this string in the modem properties + CGDCONT = 1, "IP", "apn" and I call * 98 * 1 # result:windows connection is activeandroid connection does not work why? how can we make the modem to use Android? I need the string to be sent from Android terminal and, maybe, the connection is made! Edited May 29, 2013 by drmad
Guest Lens_flare Posted May 29, 2013 Report Posted May 29, 2013 have you tried to use cm9 metal as a modem for windows? nop, as without actual connection it won't connect. windows connection is active really? Could pc connect to any site using the only connection from device?android connection does not work why?[cos you are using AT command to phone your pc, not mobile device how can we make the modem to use Android?no way without real connection. I need the string to be sent from Android terminal and, maybe, the connection is made! you possibly found it: AT+CGDCONT = 1, "IP", "apn"
Guest drmad Posted May 29, 2013 Report Posted May 29, 2013 (edited) really? Could pc connect to any site using the only connection from device? Yess, now i'm writiting using only device with cm9!! Edited May 29, 2013 by drmad
Guest drmad Posted May 29, 2013 Report Posted May 29, 2013 i can send from terminal AT+ CGDCONT = 1, "IP", "apn" but how i made the call * 98 * 1 # from terminal?
Guest Lens_flare Posted May 29, 2013 Report Posted May 29, 2013 Yess, now i'm writiting using only device with cm9!! how strange..i can send from terminal AT+ CGDCONT = 1, "IP", "apn" but how i made the call * 98 * 1 # from terminal? maybe it could at last send you a "right" response for command without call..
Guest drmad Posted May 29, 2013 Report Posted May 29, 2013 how strange why strange? Maybe windows active the modem through AT commands and cm9 to do, now now we have to see if the cm9 active the modem with at commands
Guest drmad Posted May 29, 2013 Report Posted May 29, 2013 then i can send: #echo AT+ CGDCONT = 1, "IP", "myapn" > /dev/smd [port] how do I know the port?
Guest Lens_flare Posted May 29, 2013 Report Posted May 29, 2013 how do I know the port? for example dzo used /dev/smd0.
Guest drmad Posted May 29, 2013 Report Posted May 29, 2013 i send this command from adb shell #echo AT+CGDCONT=1,"IP","internet.wind" > /dev/smd0 no error device but no connection, surely must command the modem calls * 98 * 1 #
Guest Lens_flare Posted May 29, 2013 Report Posted May 29, 2013 no error device but no connection, surely must command the modem calls * 98 * 1 # uhm, as you sent command now try to call * 98 * 1 # on dialer.
Guest drmad Posted May 29, 2013 Report Posted May 29, 2013 In the Qualcomm manual "AT command set in Gobi" i have found this: command D: Dial (request Packet Domain Service or Packet Domain IP Service); values per specifications; support *98# and *99#; optional connection parameter validated against defined PDP contexts (see +CGDCONT command) what do u think Lens?
Guest drmad Posted May 29, 2013 Report Posted May 29, 2013 uhm, as you sent command now try to call * 98 * 1 # on dialer. i tried but nothing
Guest Lens_flare Posted May 29, 2013 Report Posted May 29, 2013 command D: Dial (request Packet Domain Service or Packet Domain IP Service); values per specifications; support *98# and *99#; optional connection parameter validated against defined PDP contexts (see +CGDCONT command) it seems what we need, a pair of commands to send apn request and dial on. The only thing is quite strange: there are many other requests like RAT switch, query available networks, and other that appear to be called just after connection done, maybe they should be also called. Possibly they needed only for framework..
Guest drmad Posted May 29, 2013 Report Posted May 29, 2013 We're thinking about what we have seen on windows but also that we can give right instructions to connect to the modem and the framework does not realize that you are connected perhaps the whole system will not be able to use the data ...
Guest Lens_flare Posted May 29, 2013 Report Posted May 29, 2013 the framework does not realize that you are connected perhaps the whole system will not be able to use the data ... that's why you need to integrate such command to libril source.. but first somebody need to find this out..
Guest drmad Posted May 29, 2013 Report Posted May 29, 2013 Ok but the D command how we can use it in our syntax #echo AT+CGDCONT=1,"IP","internet.wind" > /dev/smd0 ??
Guest Lens_flare Posted May 29, 2013 Report Posted May 29, 2013 Ok but the D command how we can use it in our syntaxissue #echo AT+D:[number] >/dev/smd0[/CODE] just after previous one
Guest Lens_flare Posted May 29, 2013 Report Posted May 29, 2013 nothing! then seems the only way is source mod.
Guest drmad Posted May 29, 2013 Report Posted May 29, 2013 But it is strange, the modem connects, windows can take advantage of the network but no android. There is no way to set up system to use the network for example through proxy
Guest Lens_flare Posted May 29, 2013 Report Posted May 29, 2013 But it is strange, the modem connects, windows can take advantage of the network but no android. different API-different result.There is no way to set up system to use the network for example through proxy I don't think so.
Guest drmad Posted May 29, 2013 Report Posted May 29, 2013 We have discovered a new feature of your rom, can be used as a modem!
Guest Lens_flare Posted May 29, 2013 Report Posted May 29, 2013 We have discovered a new feature of your rom, can be used as a modem! it also can accept bluetooth tether connection and connect to some other device's internet, as well as wifi.
Guest drmad Posted May 29, 2013 Report Posted May 29, 2013 I am reminded that sometimes in your miui 4 3g connection icon appears ... in that case the framework thought to be connected, do you think it can work to activate the modem with at commands?
Guest Lens_flare Posted May 29, 2013 Report Posted May 29, 2013 I am reminded that sometimes in your miui 4 3g connection icon appears ... in that case the framework thought to be connected, do you think it can work to activate the modem with at commands?I'm not sure why it happens, just try out that.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now