Related
Hello All,
Is it possible to send AT commands directly to PPC and If Yes How?
Thanks & Regards,
Usha
Send AT commands from where? From the serial port of an attached computer? In that case, use the Wireless modem feature present in the latest ROMs: the Qtek 4.16.52 ROM, O2 XDA 4.17.03 or our own XDA-developers Special Edition ROM v1.1 (based on O2's 4.17.03 with lots of extras).
Hi
Do you want to have connections both through the gprs and dial-up to an isp from within your stand-alone XDA. In other words using the pocket internet explorer you want choose between GPRS and Dial-Up connection.
GPRS is expensive for large downloads and Dial-Up is expension for extended connections with low activity.
Cheers
Ian Bennetts
Thanks for the replies, but.,
Hello again,
XDA developer Peter Poelman
Yes, I want to send AT commands from the serial port of an attached computer. Will you please elaborate on the wireless modem feature(remember I am new to PPC) and how do I send AT commands such as CSIM, CRSM using Hyper Terminal to XDA?
Ian Bennetts
No Ian, I am not interested in 'having connections through the gprs and dial-up to an isp from within the stand-alone XDA'. As I have mentioned above, I am interested in talking to SIM with AT interface and want to know how its done.
Thanks & Regards,
Usha
Hmmm, talking to the SIM...
First of all: modern ROMs for the XDA come with an application installed in 'Programs' called 'Wireless Modem'. It allows you to 'disconnect' the internal phone application and talk to the modem directly from a connected PC, using either wired RS-232 or infrared. Contrary to the built-in connectivity, this seems to somehow be limited to 9600, as recently reported in another thread here.
But as far as talking to the SIM: I'm not sure whether these commands are implemented, and you'd need to figure out for yourself if the modem will do what you want. I'm not aware of anyone that has talked to the SIM through the Wireless Modem app.
Do let us know how things turn out...
At least on the SPV, I'd say that only restricted SIM commands are exposed through the RIL, which makes the complexity of the call pretty useless (ie we can't do more than what's exported in cellcore, no raw APDU exchanges) - I may be a total newbie at handsets design but I'd have expected (in my dreams) to have SIM1: being a handle to access the card reader and not some virtualization above the RIL :roll:
note that I'm not completly satisfied by this and still investigating - I'd really like a full SIM control, I can be satisfied with envelopes for the moment, but the more the better :wink:
Having been absent from the forum for a while (other handheld projects) I came back just in time to discover the renaissance period for Crossbow . I am completely in love with the Rom (despite the criticisms), its incredible how much faster it is than my last custom WM5 rom. Anyhow, my only issue is that I can't sync with my Vista RTM installation! I plug in my Exec, WMDC says connecting, and I briefly see the Make new partnership window morph in, then it disappears and the device is "disconnected" from wmdc, however there is still a usb connection. (Windows Media Player is also launched). Not sure what the issue is, I’m using Midget’s rom. Plenty of people in the forum seem to be using wm6 and vista fine together, so I wonder if there's something I’m not doing properly or if this is a known issue with a possible fix. Forum searching has yielded Nuclear pvt'ing a vista fix to someone. Appreciate any help/advice. Its not the end of the world, as I sync with an exchange server as well, but I would certainly like to have my laptop sync'ed with my Uni as well as be able to install apps off the PC instead of using a card reader or mailing cabs to myself.
take a look here :
http://forum.xda-developers.com/showthread.php?t=291268
install Windows Mobile Device Center Beta
appreciate the link, I went through that thread already too. First thing I did was install beta 3 so that I could sync my universal when I was using WM5. Since the upgrade, I can't sync. The initial connection screen pops up for a second, as I stated recognizing the pocketpc, but all of a sudden the connection terminates. I wonder if Its an old USB driver issue or something residual from being stuck at the bootloader until I ran the bootloaderfix.
Vista Sync Issues
Are you using the OneCare Beta Program for Vista? If so then you will need to edit the OneCare (not windows) firewall to use WMDC correctly, this is a known issue with OneCare.
see http://forums.microsoft.com/WindowsOneCare/ShowPost.aspx?PostID=815195&SiteID=2
Steps to enable WMDC for OneCare.
1 - Disconnect the device.
2- Launch the One Care Control Panel:
Click on "Change One Care Settings".
Click on the Firewall Tab.
3 - Open the following ports for all programs in the OneCare firewall:
port990: open inbound TCP
port999: open inbound TCP
port5678: open inbound TCP
port5679: open outbound UDP
port5721: open inbound TCP
port26675: open inbound TCP
4- Open the following programs in the OneCare firewall:
C:\Windows\WindowsMobile\wmdc.exe
C:\Windows\WindowsMobile\wmdHost.exe
C:\Windows\WindowsMobile\wmdsyncman.dll
5 - Reconnect the device.
I hope this helps, let us know if you still have issues.
-Jwrightmcps
I am trying to get my laptop running linux to use my hermes as a modem over bluetooth. So far I am not succeeding, I have paired the phone and the laptop, but no services show up to share. I have sent files over bluetooth to the laptop and that is just fine.
Has anyone else done this? I really don't want to change my laptop back to windows just so I can surf the net using my phone.
Thanks
What distribution of linux and what window manager do you use?
And does the file transfer work both ways? (to the phone and from it).
I might help you a little
Using Ubuntu - Edgy Eft and Gnome.
I don't have a way for files to be sent from the latop, I am using the blue tooth file sharing program - which seems to be one way only.
I did this a long time ago, so I might have forgot something, but let's give it a try.
First check if you have a rfcomm device in /dev/, there should be something like rfcomm0.
And this is there if you have edited and paired your phone correctly!
(you should add your device to /etc/bluetooth/rfcomm.conf)
Try Gnome-PPP, it's a very good program for dialup rutines ^^
Code:
sudo apt-get install gnome-ppp
The gnome-ppp should be run in root mode because rfcomm device has no privileges, or then you could just chmod it.
But anyways, I've made a script for myself to turn on BT and start gnome-ppp, to run it with root privileges with the following command
Code:
gksudo -u root gnome-ppp
after that you see a window with username password etc.
press setup and put in the following config..
Setup
Now we need a init string! I have no idea what is your provider and what init string is needed for it.
In the Setup window press Init Strings...
And in the first place you set the string.
With Saunalahti as a provider I have a init string of:
AT+CGDCONT=1,"IP","internet.saunalahti"
notice that internet.saunalahti is the APN name for my providers internet gprs connections! So replace this with yours, or then contact your provider and ask for that info
Now back to the first window.
My ISP doesn't require any username but you can't connect without them so put in whatever you like for example
username: none and password: none
or
if you need username and password for your providers GPRS, then add them here
For the phonenumber set the number: *99#
Nothing else, that should be it then if I got it all and remember correct
Then just connect (notice that on TyTN there isn't any "connecting to GPRS" popups when you use a PPP from linux).
in WM6, the phone internet sharing no longer behaves like a modem. not sure how to get it working with Linux
joej said:
in WM6, the phone internet sharing no longer behaves like a modem. not sure how to get it working with Linux
Click to expand...
Click to collapse
what do you mean, the "Wireless Modem" program that you can find in the Programs folder?
I never used that, there's no need of it.
In fact, don't use it, propably wont work with it.
StewartG said:
I am trying to get my laptop running linux to use my hermes as a modem over bluetooth. So far I am not succeeding, I have paired the phone and the laptop, but no services show up to share. I have sent files over bluetooth to the laptop and that is just fine.
Has anyone else done this? I really don't want to change my laptop back to windows just so I can surf the net using my phone.
Click to expand...
Click to collapse
I've been successfully using my Wizard and Hermes as BT modems for GPRS/EDGE/UMTS connections, but only with WM5 (check out my tutorial here: http://klamstwo.org/evad/archives/20 ). After upgrading Hermes to WM6 I am no longer able to create rfcomm device, and I don't know why.
However, it is still possible to use GPRS/UMTS connection under Linux! I've managed to get it working through Bluetooth PAN profile. I'm planning to write some kind of tutorial on my blog pretty soon, but in meanwhile have a look here: http://bluez.sourceforge.net/contrib/HOWTO-PAN - this HOWTO describes quite comprehensively BT PAN usage under Linux.
Basically, you need to set up Internet Sharing via BT on your Hermes, and then connect from your Linux using pand daemon. Check out HOWTO, give it a try, if nothings comes up - feel free to ask here. Good luck.
Btw, my distro is FC6.
gvoima said:
what do you mean, the "Wireless Modem" program that you can find in the Programs folder?
I never used that, there's no need of it.
In fact, don't use it, propably wont work with it.
Click to expand...
Click to collapse
In WM5 it didn't work even with Windows (or I didn't know how to set it up properly). WM6 brings completely new Internet Sharing application which is accessible from Linux without big problems via Bluetooth PAN profile - check out my post above.
I'm planning to try connecting to internet through Hermes/WM6 via USB cable. I guess it's just a matter of installing some usb-driver. It's worth to try, as UMTS/HSDPA connection together with BT drains battery really (I mean REALLY) fast, and also - USB cable offers higher speeds than BT...
Nice to know, i'm using WM5 atm, waiting the official WM6 release from sweden (I live in finland and tried to contact finnish HTC regarding that matter), then I might look into it more.
eva_d said:
I've been successfully using my Wizard and Hermes as BT modems for GPRS/EDGE/UMTS connections, but only with WM5 (check out my tutorial here: http://klamstwo.org/evad/archives/20 ). After upgrading Hermes to WM6 I am no longer able to create rfcomm device, and I don't know why.
However, it is still possible to use GPRS/UMTS connection under Linux! I've managed to get it working through Bluetooth PAN profile. I'm planning to write some kind of tutorial on my blog pretty soon, but in meanwhile have a look here: http://bluez.sourceforge.net/contrib/HOWTO-PAN - this HOWTO describes quite comprehensively BT PAN usage under Linux.
Basically, you need to set up Internet Sharing via BT on your Hermes, and then connect from your Linux using pand daemon. Check out HOWTO, give it a try, if nothings comes up - feel free to ask here. Good luck.
Btw, my distro is FC6.
Click to expand...
Click to collapse
I see your point now, I upgraded to a new ROM and AKU, now the wireless modem is gone and I cannot connect to a rfcomm device anymore. But there is the Internet Sharing application, I'm going to try your tutorial in a moment
What about USB modem?
eva_d said:
[...]I'm planning to try connecting to internet through Hermes/WM6 via USB cable. I guess it's just a matter of installing some usb-driver. It's worth to try, as UMTS/HSDPA connection together with BT drains battery really (I mean REALLY) fast, and also - USB cable offers higher speeds than BT...
Click to expand...
Click to collapse
Hi all,
It's my first post on this forum. But I'm looking forward to finding a way to use my HTC Wizard has a USB modem...
I've seen on another forum that configuring this device as an USB modem can be quite easy done on Windows. So it would be nice to have this working for Linux
joej said:
in WM6, the phone internet sharing no longer behaves like a modem. not sure how to get it working with Linux
Click to expand...
Click to collapse
You can get it working as modem the same way you could do it in WM5 - using the "internet sharing " application.
The problem described here is that when you do
$ sdptool browse <bluetooth_mac_address>
you see no services.
I have the same problem with ubuntu.
When I browse the services of another phone - a nokia for example - I see all of them .
However I had this problem with ubuntu even before upgrading to WM6.
So it seems the problem is in the bluez version delivered with ubuntu.
What I am going to try the next few days is to uninstall the ubuntu release of bluez and build the source code and install.
I had an issue with synce also with ubuntu - not working. So I downloaded synce 's sources and everything works now.
deyanmf said:
You can get it working as modem the same way you could do it in WM5 - using the "internet sharing " application.
The problem described here is that when you do
$ sdptool browse <bluetooth_mac_address>
you see no services.
I have the same problem with ubuntu.
When I browse the services of another phone - a nokia for example - I see all of them .
However I had this problem with ubuntu even before upgrading to WM6.
So it seems the problem is in the bluez version delivered with ubuntu.
What I am going to try the next few days is to uninstall the ubuntu release of bluez and build the source code and install.
I had an issue with synce also with ubuntu - not working. So I downloaded synce 's sources and everything works now.
Click to expand...
Click to collapse
This is mainly because the connection method has changed in WM6.
In WM5 it was done via DUN (Dialup Networking Profile). WM6 Internet Connection Sharing does not utilise or advertise this profile when in place, but sets up a PUNU (Personal Area Network) profile, basically turning the Hermes into a router with dhcp services.
I followed the referenced howto and was able to get my laptop running FC6 connected to the Hermes and auto-assigning an IP address. Unfortunately, though, the connection was not stable and disconnects not long after it was established.
I'll have another read at the howto as I've noticed persistent connection flags that should force reconnection, however if I'm connected to the Company VPN, then I suspect that will continually drop also.
Can anyone post any success stories and configuration/command output that they used to create a stable connection?
Ta
Darren
numanoids said:
Can anyone post any success stories and configuration/command output that they used to create a stable connection?
Click to expand...
Click to collapse
Check out my solution: http://klamstwo.org/evad/archives/40
It actually works stable, however I have never used single connection for more than like 30-60 minutes, yet - I guess.
Btw, works also with Fedora 7.
Is there a way with an HTC Dash / Excalibur running WM6 Standard to access network resources on a LAN through the WIFI? I've tried looking for an option in Total Commander, and I installed the Resco Explorer 2007 trial. It seems that Resco's PocketPC version supports mapping drives, but not for the WM6 Standard. I've seen screenshots of what is available in Resco Explorer. That option is omitted for the WM6 Standard version.
I've tried ORB and Soonr. Those seem to be the only methods, but I was hoping for a more native method.
Any suggestions or advice?
Thank you,
Tim
Mapping to Home Network Share
Is this not possible on an HTC S620/S621 ? I would like to be able to map to my network shares. I could then even use Hamachi VPN to connect even if I'm away from home.
But first things first. There seems to be no way to map a drive letter, or even connect via a UNC statement of \\abc\123 ... etc.
So far the only methods I've seen are soonr and orb. I suppose it's a work around, but I was hoping for a more windows native method.
From my research, it seems that those running touch screen / windows mobile professional can do this. If they add Resco Explorer 2007 it has that option. I installed the Windows Smartphone Standard trial version, and the option doesn't exist.
Nor does it exist with Total Commander.
Thank you,
- Tim
Not possible with WM6 Standard Devices?
Haven't received an answer. I've been googling for a response, but everything I've read seem to indicate that the network mapping thing is a real crippling part of these phones.
I've noticed that this seems to be a major difference between WM6 devices with touch screens, therefore running WM6 professional versus the WM6 Standard Devices.
Touchscreen WM6 Devices can map drives, use remote connectivity software, and even have more advance function in pocket office.
Non-touchscreen WM6 devices can't perform drive mappings, or use remote connectivity software like RDP or VNC.
I'd like to be able to map a drive to my network, and transfer files that way, rather than through activesync. I can't understand how I can obtain an IP using my HTC Dash's WIFI over my wireless router, but yet, not connect in any manner to the network that I have shared drives on.
If someone knows of a way, then please let me know.
Thank you,
Tim
no one has ever mapped a drive w/ the excalibur??
i have tried for months...it seems as if the phone is the big proble. it doesnt support netbios from what i have seen. on my network i can ping it by netbios name and everything from the pc end of things..but from the phone i cant see the computer by anything but ip which is fine. but i cannot acces a share or network drive via \\ip.address. no idea how you would create a share on the phone either
gixxum said:
i have tried for months...it seems as if the phone is the big proble. it doesnt support netbios from what i have seen. on my network i can ping it by netbios name and everything from the pc end of things..but from the phone i cant see the computer by anything but ip which is fine. but i cannot acces a share or network drive via \\ip.address. no idea how you would create a share on the phone either
Click to expand...
Click to collapse
Maybe Microsoft's Live Mesh technology will help this. Apparently there will be a client for mobiles and could give you a way to access your files on the go. (I know this doesn't quite answer your question, but maybe helps solve the problem)
See http://channel9.msdn.com/Showpost.aspx?postid=399577 for some details
How to map a network Drive with Built in WM software.
Hey guys. I have to say the solution is so simple it is Genious.
Simply open up internet explorer on your device and type in \\SHARENAME\
IE will translate this into file://\\sharename\ and if it is password protected it will ask you for the user name and password. You will then be sent to Windows File Explorer, and Viola you are surfing your network resources. You can even save them as a favorite for later use.
I hope this helps.
That doesn't seem to do anything?? Did you get this to work in IE for wm6.1?
First let me apologize for spamming the forums with some similar threads... each time I overcame a hurdle and a new one presented itself, I just began a new thread to discuss that. From now on I will append the initial thread... thanks for your patience.
1. WM6.1 and WMDC 6.1 (vista x64) are not too friendly... as the interface, though designed to be intuitive.... is anything but. I am sure it will get worked out in the future... but now it is one tough SOB to conquer
2. From doing enough reading on the web, though recently updated (12-17-07)... the Toshiba BT stack also does not play nicely with WM6.1 ... as numerous smartphone and PPC users are experiencing issues across multiple mobile platforms.
3. In Vista x64 (this is my personal experience) the only way for me to sync via bluetooth is to drop the Toshiba BT stack and use the generic M$ drivers. However... doing so I lose the stereo and serial port services
4. For whatever reason, it seems that activesync locks up STK (R08). When I disable STK, I can establish a connection infintely quicker. Alternatively... when I have activesync disabled, STK is much snappier and its failure/crash rate drops substantially
If anyone has had similar and/or different/"better" experiences with similar hardware... I'd love to hear about it
OS: Vista ultimate x64
ROM: Kavana/Rickwyatt .18
BT adapter: Kensington Micro USB (toshiba rebadge)
HTC: s620
Poser said:
First let me apologize for spamming the forums with some similar threads... each time I overcame a hurdle and a new one presented itself, I just began a new thread to discuss that. From now on I will append the initial thread... thanks for your patience.
1. WM6.1 and WMDC 6.1 (vista x64) are not too friendly... as the interface, though designed to be intuitive.... is anything but. I am sure it will get worked out in the future... but now it is one tough SOB to conquer
2. From doing enough reading on the web, though recently updated (12-17-07)... the Toshiba BT stack also does not play nicely with WM6.1 ... as numerous smartphone and PPC users are experiencing issues across multiple mobile platforms.
3. In Vista x64 (this is my personal experience) the only way for me to sync via bluetooth is to drop the Toshiba BT stack and use the generic M$ drivers. However... doing so I lose the stereo and serial port services
4. For whatever reason, it seems that activesync locks up STK (R08). When I disable STK, I can establish a connection infintely quicker. Alternatively... when I have activesync disabled, STK is much snappier and its failure/crash rate drops substantially
If anyone has had similar and/or different/"better" experiences with similar hardware... I'd love to hear about it
OS: Vista ultimate x64
ROM: Kavana/Rickwyatt .18
BT adapter: Kensington Micro USB (toshiba rebadge)
HTC: s620
Click to expand...
Click to collapse
Never thought of STK being the culprit of activesync issues. Since i didnt have these issues with WM 6.0 . Now i also use the toshiba bluetooth stack but i use winXP and there was a way that i could get activesync to work. (not sure how this would translate to WMDC) here it goes. Basically i created another bluetooth COM port with the toshiba BT configurator. then made sure that COM port # was selected in connection settings under activesync then i opened activesnc on my phone searched for new bluetooth devices and when it found my PC and connected, activesync was one of the options. Trying to go the other way around by pairing the phone starting with toshibas program did not yield the same results, in fact i could never get it to paired the other way around.
very interesting...
I will try the technique with today... usually my issue comes about when the devices cant exchange passkeys... although they are identical.
pudge.... should I set the com port as server or client?
Poser said:
pudge.... should I set the com port as server or client?
Click to expand...
Click to collapse
Do what? the com port needs to be a serial COM port. not a bluetooth DUN or PAN com port
pudgedaddy said:
Do what? the com port needs to be a serial COM port. not a bluetooth DUN or PAN com port
Click to expand...
Click to collapse
I gotcha... when I use the BT com port utility it asks whether I want to create a client-side or server-side port
since its serial it needs to be "server" side...
I tried, but still no luck, it pairs.... lists stereo and activesync in the services, but then refuses to sync
I think this is a flaw in WMDC 6.1
Poser said:
I gotcha... when I use the BT com port utility it asks whether I want to create a client-side or server-side port
since its serial it needs to be "server" side...
I tried, but still no luck, it pairs.... lists stereo and activesync in the services, but then refuses to sync
I think this is a flaw in WMDC 6.1
Click to expand...
Click to collapse
the only other thing you might try is in bluetooth settings -->security on your device. disable (temporarily) the OBEX security option and try again.
You can also try and create a COM port on your device. When you're on the screen where you add a new bluetooth device. press right soft key and select COM ports. right soft key again and then select new outgoing port. then select your PC (or laptop) on the list of devices that shows up. then add a com port . and it will let you pick com 6 or com 7. Then try again
pudgedaddy said:
the only other thing you might try is in bluetooth settings -->security on your device. disable (temporarily) the OBEX security option and try again.
You can also try and create a COM port on your device. When you're on the screen where you add a new bluetooth device. press right soft key and select COM ports. right soft key again and then select new outgoing port. then select your PC (or laptop) on the list of devices that shows up. then add a com port . and it will let you pick com 6 or com 7. Then try again
Click to expand...
Click to collapse
already been down that road, trying to set up a new outgoing com port (6,7) no dice.
I think the deal is WMDC6.1 ... it makes me sad
Poser said:
already been down that road, trying to set up a new outgoing com port (6,7) no dice.
I think the deal is WMDC6.1 ... it makes me sad
Click to expand...
Click to collapse
sorry to hear that. Well since i have the same drivers, i will not be using vista anytime soon (not that i needed this as an excuse to begin with)
I was thinking of perhaps looking for some compatable drivers to replace the Toshiba stack. The generic MS drivers allow me to connect via activesync... but thats all, I lose all serial services (including object push, file transfer, stereo etc....)
I'll be honest though, I have been an XP guy for a long time... but after learning how to tweak, hack and optimize my vista install, I love it.