Get RSSI of a known BT device - Tasker Tips & Tricks

Hi, I'm trying to unlock my phone using the bluetooth near feature of tasker, but the problem is that the range in wich the phone unlocks is too big (arround 5 meters +).
So i made a small reasearch on the web looking for another solutions, and i discover that is possible to read the RSSI value of a bluetooth device in order to know the distance between the band and the phone.
I found how to get the RSSI value in a thread on stack overflow (I'm not allowed to post links since i don't have 10 posts yet), but simply search "Get bluetooth signal strength" on Google.
But my programming skills are in the very basics yet, and the code scans all the Bluetooth devices (i think) and i just want to know the RSSI value of a single bluetooth device based on the MAC adress.
So, I would like to ask if anyone knows how to import this code to tasker, or just creating a script to continusly export the RSSI value based on a known MAC adress, to a text file.
BTW, im using Android 6.0 CM13 on a HTC One M8 (in case its needed)
Thanks in adance.

Related

Figuring out ICS(NAT) capabilities for PC-to-GPRS connection

I can successfully use the machine as a modem on 2003SE, but like you, so far it has been a no-go to use it as a modem under WM5.
Then I thought:
Is that the ONLY way to make my PC use the GPRS connection to browse the web?
NO!
Windows can do ICS (Internet Connection Sharing) since windows 98, and windows mobile is a Windows CE tailored for, well, mobiles.
I digged into MSDN looking for info on whether CE had ICS capabilities or not. Turns out YES, it has.
Now, if we can find out how to enable it, we can make a BT PAN to the PC, and use the routing/NAT capabilities of CE/WM5 to browse the web.
Now, look at this, which I got on MSDN, my comments are in italic:
<snip>
Microsoft Windows CE .NET 4.2
Enabling NAT
The following steps show how to enable NAT for a Windows CE-based device using IPv4.
To enable NAT
1. Enable IP forwarding by setting the HKEY_LOCAL_MACHINE\Comm\Tcpip\Parms\IpEnableRouter registry key equal to 1.
2. Set the HKEY_LOCAL_MACHINE\Comm\ConnectionSharing\EnableAddressTranslation registry key equal to a non-zero value.
3. Set the HKEY_LOCAL_MACHINE\Comm\ConnectionSharing\PublicInterface registry key to the public interface on which you want to enable NAT. now, where do I find THIS value?-->This value should contain a string that indicates the adapter instance for a network card, or that indicates the RAS connection name for a dial-up connection.
Now the key is where do we find the 'adapter instance or RAS connection name', so that we can try this solution.
NAT mappings expire after a certain amount of time if the mappings are not used. The default expiration time is 24 hours for TCP connections, and 1 minute for UDP mappings. You can configure these expiration times by setting registry subkeys contained under the HKEY_LOCAL_MACHINE\Comm\IPNat registry key.
The following table shows optional registry subkeys that you can use to configure these expiration times.
Code:
Code:
Subkey Description
TCPTimeoutSeconds_ Specifies the amount of time before TCP mappings expire in the NAT, if the mappings are not used.
UDPTimeoutSeconds Specifies the amount of time before UDP mappings expire in the NAT, if the mappings are not used.
</snip>
Which can be found here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceics/html/ceconEnablingNAT.asp
The advantage of this solution is that we won't have to stop using the PDA and opening a program to make a notebook navigate the web while on the move. In short, we cut off some bureaucracy from our connection management.
Other links:
Enable/disable packet filtering, might be nneded to change...
http://msdn.microsoft.com/library/d.../en-us/wceics/html/_wcecomm_Packet_Filter.asp
ICS:
http://msdn.microsoft.com/library/d...html/_wcecomm_Internet_Connection_Sharing.asp
I'm looking into this now. It's possible the device name needed for the registry is similar to windows naming i.e. a string. For example, on my pc here I have several interfaces listed via "ipconfïg" such as "Ethernet adapter BT". When you manually drop/request an IP using this command, you use this string as a parameter (quoted IIRC). Looking in vxUtil under info we have several possible candidates. The seems to be a naming convention in all of the names listed with a " - " separator and two parts. Some don't have the latter part so it's a possiblity that it's vxUtil that's printing them like that and we only need the alternatives.
However, vxIpConfig has a drop-down list with all of the active connections that may seem like a better candidate for these values. I note that the BT one is "BTPAN1". The number suggests to me that these are unique values.
Here's what I think may be a possibility (from vxIpConfig):
WiFi: tiacxwln1
BT: BTPAN1
GPRS didn't appear in ipconfig even while I was downloading mail. According to vxUtil, the "current IP" listed was the same as the one listed under "Cellular Line". Hmm, not sure about that one.
Using either method, the wifi and BT ones are the same. I'm going to try this first as it should be easier.
Another thing; along with the key "Public Interface" in the registry, there is also a "Private Interface" key that may need set. The unset value may mean "all" however. That probably isn't desirable in the long term.
WRT to the packet filtering, the default on win2000 and pre SP2 XP for the basic network filter is "allow all" as far as I can understand. We probably want to switch that off just now.
I'm experimenting with a setup just now. I've got the laptop connected to a BT pan network to the phone. I've got the phone hooked up to my wifi network which routes to the net. Once ICS is running, all I should need to do is launch a "route add" command on the laptop to instruct it to send traffic to unknown networks (the default route) to make it go via BT.
If I can hit www.google.com's IP we are over the biggest hurdle. Let's see how it goes, will post back after playing around.
Once done, we don't need to bother with a dhcpd as I suggested in the other topic. That's done for us by the BT pan. However, I'm not sure if it deals with DNS so I recommend that if anyone is trying this that they stick to hitting remote ip addresses only. That's the first step that needs to be established. The phone may need a default route set, but I suspect that will be done if you can already route out over the wifi network.
EDIT:
OK, no success yet. Setting IP address manually on the BT PAN allowed me to ping the phone. The default route was set to the BT IP and the pc attempted to connect over that interface. As far as I could tell from the (limited) msdn docs on this topic, I had it enabled. I also tried changing "disabled on boot" to "0" with no success.
With the BT interface on the pc set as DHCP, I could not get an IP. According to http://msdn.microsoft.com/library/d...en-us/wceics/html/_wcecomm_dhcp_allocator.asp , the mini dhcp server is limited but to be honest it seems to have most of the options you'd expect from an ICS one, even going so far as allowing static hostname/ip allocation. Interesting, that's a useful feature. I mention this because I could not get an IP. I suspect that the problem is that I simply haven't enabled ICS at all.
Are there any applications that anyone can think of that use ICS internally? ActiveSync probably does, but it'll be the pc doing the dhcp bit I'd presume. How about someone who has BT/GPRS running on another device? Can they share their related registry settings (while connected) for the keys that joe mentioned? What would be best would be the whole set of keys for:
HKEY_LOCAL_MACHINE\Comm\Tcpip\Parms\
HKEY_LOCAL_MACHINE\Comm\ConnectionSharing\
Re: Figuring out ICS(NAT) capabilities for PC-to-GPRS connec
Brazilian Joe said:
Are there any applications that anyone can think of that use ICS internally? ActiveSync probably does, but it'll be the pc doing the dhcp bit I'd presume.
Click to expand...
Click to collapse
Actually I think it is the other way around: The BA assigning an IP address to the PC.
If I look in the IP config after I connect my BA, I see this:
Code:
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Windows Mobile-based Device #2
Physical Address. . . . . . . . . : 80-00-60-0F-E8-00
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 169.254.2.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 169.254.2.1
Lease Obtained. . . . . . . . . . : Thursday, September 14, 2006 11:15:37
Lease Expires . . . . . . . . . . : Saturday, October 14, 2006 11:15:37
What would look to me that the BA is the DHCP server.
Looking in Settings\Network Cards on the BA, I see the Network card "Remote-NDIS Host" is in use with the above IP address.
So, maybe there is (limited) DHCP server allready in the WM5 OS? I guess the OS gurus may know the answer about it.
There is a mini-dhcp server, it's listed in the docs. Yes, looks like the BA is doing it under ActiveSync like you say. I'll take a look tonight at the reg keys while I've got an active activesync session going. However, using activesync doesn't enable ICS on the phone I'd imagine, so perhaps they are separate systems. I was presuming they were part of the same thing in the same way that ICS works on 2000/XP.
The DHCP server isn't required, but it saves you having to deal with manually adding routes and DNS servers. By the way, the docs also make mention of a DNS proxy which we'll need to deal with eventially.
hmm... there's a small app (Internet sharring) taken from uni rom, but we need to apply uni driver also... I'll try to make a cab of it, hopefully it'll work. In my development time of aku3.2 I've manage to enable Internet Sharring feature with Uni drivers but sometimes the gprs hv problem. we'll see about this... give me time, hopes i can do something with it.
Great to see you around, helmi!
If we have this working, the WModem app can be ditched, and we will be one BIG step closer to a fully functional ROM...
/me crosses fingers
please try this cab... I cant test it since I was in AKU2.6 , Intshare for AKU3.0 and above...
Brazilian Joe said:
Great to see you around, helmi!
If we have this working, the WModem app can be ditched, and we will be one BIG step closer to a fully functional ROM...
/me crosses fingers
Click to expand...
Click to collapse
hmm... I've test with old wm3 driver for usb modem (USB Modem COM8), wmodem dont tell any error, and also at command is execute, but my computer recognized it as Unknown usb device...arrgh...
What does the cab do? Does it just set some reg keys or does it start a service? I suspect that was my problem earlier; updating the keys is not enough, you might need to make some service/application actually read them.
Unfortunately, most of my networking experience is in unix/linux, so I'm limited in how much I can help here. I know what I need to do, just not how. I know most of how Windows works WRT to configuring various network setup and so on, it's just with these pdas you are very limited in getting debug info out. Are there any good command-shells for the pda? If yes and it has access to the "route" command then we should be able to at least see if the phone thinks ICS is active.
fraser said:
What does the cab do? Does it just set some reg keys or does it start a service? I suspect that was my problem earlier; updating the keys is not enough, you might need to make some service/application actually read them.
Unfortunately, most of my networking experience is in unix/linux, so I'm limited in how much I can help here. I know what I need to do, just not how. I know most of how Windows works WRT to configuring various network setup and so on, it's just with these pdas you are very limited in getting debug info out. Are there any good command-shells for the pda? If yes and it has access to the "route" command then we should be able to at least see if the phone thinks ICS is active.
Click to expand...
Click to collapse
There is a command line powertoy downloadable from MS, but it was for WM2003SE, I don't know if it will work on WM5.
I want to do something for test but i dont have bluetooth nor GPRS activated at this moment) I was setting connection via bluetooth-gprs few months ago using standard windows tools.
Geez, pretty nice article - I was writing my own and found this so I wasted almost hour! :evil:
http://www.smartphonethoughts.com/forums/viewtopic.php?p=48474
Can someone try it and check registry entries above if something is changed? But I guess this is working different way
helmi_c said:
please try this cab... I cant test it since I was in AKU2.6 , Intshare for AKU3.0 and above...
Click to expand...
Click to collapse
Thank you, helmi_c, all works very well on your WM5 ROM with AKU3.2 (v.1.3.2 Beta)! Is is only needed to set one reg key (as mentioned is first post by Brazilian Joe):
[HKEY_LOCAL_MACHINE\Comm\Tcpip\Parms]
"IpEnableRouter"=dword:1
I check connections via USB and via Bluetooth PAN - all works ok!
To all who want ICS:
- Install IntShrUI.cab from helmi_c and set HKEY_LOCAL_MACHINE\Comm\Tcpip\Parms\IpEnableRouter to 1 or just use .cab, that i attach to this post - this is a .cab from helmi_c to which i add a changing IpEnableRouter to 1.
- Turn off BA, wait 20 sec, then reboot.
- For the first time after each reboot you need to run "Internet Sharing" 2 times (UI is shown only on second run).
- If the PC have some kind network adapters - disable them all (except Bluetooth Network - if you connect via BT), and also you may run "route delete *" from windows command line to clear route table. This will ensure, that windows will set correct IP address of default gateway (this IP address - is a IP address of BA) after you connect BA to PC.
- On the BA, in Internet Sharing program, select PC connection type and Network connection, and press "Connect".
- Then connect BA to the PC (to USB if "PC Connection" is "USB", or connect PC to BT Network Access of BA, if "PC Connection" is "Bluetooth PAN").
- If you connect to BA via BT PAN - ensure, that BT of your PC is configured to "Allow other devices to create a private network with this computer" and NOT to "Allow other devices to access the Internet/LAN via this computer" (this is from PC widcomm stack, that i have, if you use other stack - search similar options ). If you don't do this - then you got a error from your PC BT stack... something about "not possible to make LAN if both devices configured as bluetooth access points" or like this. Also, for me, the ICS over BT is not work until a set HKLM\Comm\BTPAN1\Parm\TcpIp\AutoCfg to 0 (the default value is 1). If for your the same - set AutoCfg to 0 too. After connecting PC to BA, BA show warning "DHCP server cannot be contacted...." but for me all works (may be because before i have successful connection via USB) ... this will need more investigation, i think ...
IntshrUI didn't start after a couple of days
I installed IntshrUI from this post and tried ICS from bluetooth on my notebook as well as on my desktop. All worked well on both the machines for the last couple of days but now ther's another problem.
Now the ICS software IntshrUI is not starting on my BA.
I checked in running processes and there are several processes by the same name intshrui each with 1kb size and they don't terminate also.
Please HELP AS I DON'T KNOW WHETHER IS THERE ANY PROBLEM WITH MY BA OR SOMETHING ELSE.
Tried re-installing the software after hard resetting my BA but same problem occurs.
I'm using WM5 from Aku 3.2 helmi c.
hmm
this app is not wrking. The app can't be open.. or did I miss something?
intshrui not working
as I explained earlier please can neone help me with this?
Same thing for himalaya ?
Apologies for posting this in the BA forum but couldn't find anything in the himalaya forums.
Tried installling the intshrui.cab on my himalaya but it didn't work. Is there a version available for the himalaya or some registry tweak that can do the trick?
Nat Expiration Reg Keys??
how should i edit my registry to change NAT MAPPINGS EXPIRATION TIME??

Tether- Internet Sharing over Wi-Fi with Kaiser/Tilt!!!

This makes your TILT/Kaiser into a wi fi router!
Hello I got this information from
XDA - I just changed some info to make it work for the TILT/Kaiser , also couldn’t get the screenshots in my post sorry, didn’t know how to..just check out the link and use the following date :
**** You have to change the registry value for the TILT, use TNETW12511, on the website above they give the values for different wm6 phones, for the tilt/kaiser use the value i gave and as follows...You can just read the steps on the website above but Use the value i have stated - TNETW12511
Do the following:
1) Open Settings->Internet Sharing. Enable IS for Bluetooth PAN. (Remember this is Internet connection sharing ( IntShrUI.exe which is found in /windows directory)
2) Change HKLM\Comm\ConnectionSharing\PrivateInterface to "TNETW12511" (it should currently be "BTPAN1" .
3) Open Settings-> Connections -> Wi-Fi. Select Network Adapters tab. Click IEEE 802.11b/g Compatible Wi-Fi.
4) Enter IP address 192.168.1.1 and subnet mask 255.255.255.0. Click OK.
5) Select Wireless tab. Add New.. to add the Network name for your ad-hoc network (I prefer "adhoc"
6) Set the client computer to use the same ad-hoc network***. Client will receive an IP address from the device (don't need to manually set the IP).
And it works!
*** Edit Just learned that in step one you can choose USB but you still have to change the reg edit to TNETW12511 manually or by the file attaches. Selecting usb saves battery by keeping bluetooth off and just uses wifi. But if you select usb you cannot connect your computer for activesync
I copied what was on the xda website below but the pics did now show, sorry.-
Another long-awaited breakthrough: dial-up Internet Sharing over Wi-Fi!
Anyone having read my tutorial on the new Internet Sharing utility in Windows Mobile 5 AKU3 and later versions (including, of course, WM6) knows that it’s not possible to use a Windows Mobile device as a GPRS / EDGE / UMTS / HSDPA etc. cellular modem via Wi-Fi, Bluetooth DUN or, with some exceptions, even infrared, “only” over BT PAN and USB. This means a lot of devices can’t connect to the Net if they don’t support either BT PAN (or USB with desktop Windows operating systems). While the BT DUN hack published some months ago certainly helped the situation (allowing for connections via the far more widely supported, “traditional” Bluetooth DUN), it still didn’t let for using the Windows Mobile Phone Edition (“Professional” in WM6 parlance) device as a modem with clients connecting via Wi-Fi.
XDA-Developers hacker fluxist has just published a tutorial on his latest finding, which, at last, allows for accessing the Net using a Windows Mobile device via Wi-Fi.
The results are as follows:
1. Start Programs / Internet Sharing. (Remember this is Internet connection sharing ( IntShrUI.exe which is found in /windows directory) Enable the sharing for Bluetooth PAN (NOT USB!) using Connect (left softkey). If you’re prompted for enabling Bluetooth visibility, close the dialog box as usual by pressing OK.
2. Start editing the Registry with a registry editor and change HKLM\Comm\ ConnectionSharing\ PrivateInterface (which is, by default, "BTPAN1" to the internal name of your Wi-Fi adapter. It’s "TNETW12511" with the TILT *** read below about attached .reg file
Note that I’ve made one registry import file available (see attached), should you want to be able to quickly change the Registry values, without the need for manually editing the Registry every time you start the Internet Sharing applet. To make your life easier, just put it in the file system of your Pocket PC and click it after starting and connecting Internet Sharing so that it’s automatically imported. Should you need a RegEdit 5-compliant Registry Editor for your handheld, I recommend Resco File Explorer .
3. Go to Settings / Connections / Wi-Fi and select the Network Adapters tab (it’s the default and only visible one when the Wi-Fi unit is disabled). Click the name of the Wi-Fi card (“IEEE 802.11b/g Compatible Wi-Fi” on the HTC Tilt. ) Enable “Use specific IP address” and enter the IP address 192.168.1.1 into the first field (“IP address”). When you click the second row (“Subnet mask”), it’ll auto-fill 255.255.255.0. Just keep it at that. This is shown in the following screenshot:
4. From now on, you go on as with adding a p2p network (see THIS for my earlier article if interested – reading it is not needed for completing this tutorial): click “Add new…” on the Wireless tab:
Enter a network name (it can be anything; in here, it’s “WRadhoc”) and make sure you check in “This is a device-to-device (ad-hoc) connection”:***
After clicking Next, you can set up whether you need encryption or not. If not, just set “Data encryption” to “Disabled” as can be seen in the following screenshot:
Note that you can use both WPA and WEP for encryption. I don’t discuss setting this up as only one client will be able to connect to your Windows Mobile device at a time – while it’s connected, there surely won’t be other clients connected to it. And, after you’ve ended your Net session, when you close Internet Sharing and/or disable Wi-Fi, no one will be able to connect any more either. That is, it's MUCH safer than traditional access points without any kind of encryption.
Finally, in the list of the available connections, tap-and-hold the just added network and select “Connect” from the context menu
*** Edit Just learned that in step one you can choose USB but you still have to change the reg edit to TNETW12511 manually or by the file attaches. Selecting usb saves battery by keeping bluetooth off and just uses wifi. But if you select usb you cannot connect your computer for activesync
Not to be a debbie downer, but to technically use tethering on say an AT&T contract you are supposed to have an additional service added on to your account, correct? If you do not you could potentially be charged per each kilobyte. Any idea if they can (or do) detect you are using your laptop/desktop and not the phone itself?
they have no possible way to tell weather you are using the right plan to teather.. yet....
i havent heard of anyone who got caught yet, at least not on the forum..
ATT does say that people do get caught though... lol.. i believe it to be a lie.
the only way they can tell is by physically looking at you bill and usage. Lucily att is to bueracratic to do that, but they could if they wanted to
stevenSZ said:
Not to be a debbie downer, but to technically use tethering on say an AT&T contract you are supposed to have an additional service added on to your account, correct? If you do not you could potentially be charged per each kilobyte. Any idea if they can (or do) detect you are using your laptop/desktop and not the phone itself?
Click to expand...
Click to collapse
@ StevenSZ: Go back to Hofo! If anyone has read there lately it seems like half the threads are the media plan police. And who said anyone on XDA would "steal" from ATT anyway, are you saying XDA people lack morals.
On the real topic: that is cool but how slow is it as that seems to be a complaint in that original thread. Anyway for me the Internet Sharing Wizard with USB or BT works great so I dont care about sharing GSM through Wifi.
You are my new best freind. Now if you could get this to work for the hermes.........
wpbear said:
@ StevenSZ: Go back to Hofo! If anyone has read there lately it seems like half the threads are the media plan police. And who said anyone on XDA would "steal" from ATT anyway, are you saying XDA people lack morals.
On the real topic: that is cool but how slow is it as that seems to be a complaint in that original thread. Anyway for me the Internet Sharing Wizard with USB or BT works great so I dont care about sharing GSM through Wifi.
Click to expand...
Click to collapse
No idea what Hofo is but you need to step away from the keyboard for a few minutes and relax. I've read through a lot of the threads and I have not seen much talk relating back to something that can be considered plan policing, so I definitely think your numbers are way off. I asked a question and didn't suggest anything in my post, but I will say that I am 100% positive that a percentage on here will do it without the appropriate plan.
Now is your last statement a question? They usually end with question marks. Anyway, I didn't mention stealing did I? I am trying to make sure that if there is detection that people might be aware they could be charge for the KB they used... it's doing people a favor (some people might not even realize tethering is additional.. you know?). Judging by the number of threads here with cracked software (that means illegal - is that moral?) I would certainly say 100% there are people that might fit your description. Anyway, I appreciate the other reply above that actually went towards helping/answering my question and not just wasting time. Thanks. ;-)
Got it working on my tilt this evening.. very nice! I do wish there was a way to add a WEP key along with it for security, i dont want someone stealing my bandwidth!
Also it appears the network adaptor shuts off the wireless connection when the device goes to sleep.. any way to stop this from happening??
You can add security, after you pick your network name click next then do Authentication: open Encryption:wep or whatever and type in a key. YES it does stop when the phone sleeps. I have no idea why but I also want to know how to get this to stop.
oozijk said:
You can add security, after you pick your network name click next then do Authenticationpen Encryption:wep or whatever and type in a key. YES it does stop when the phone sleeps. I have no idea why but I also want to know how to get this to stop.
Click to expand...
Click to collapse
I would highly recommend doing this too. While abuse is not very prevalent, it is a pretty big security hole to leave your laptop or PDA/phone-device in an open ad-hoc mode. The little inconvenience will be worth it. Also, try clear it out of your laptop when you are finished as Windows has a tendency to keep trying to broadcast itself as an ad-hoc network even when you are done.
Keep wifi from disconnecting
This will edit the registry as well as keep the connection alive! this should also fix your dropouts. I'm new here so I don't know how to upload anything so I can't upload the script but basically here are the instructions.
Download and install MortScript
here's a more direct link http://www.sto-helit.de/index.php?mo...=view&entry=65
http://www.pocketpcfreewares.com/en/index.php?soft=1448
(if the link doesn't work goto www.pocketpcfreeware.com and search for mortscript)
copy paste this script to notepad and save as KeepSharing.mscr (notice the extention this lets mortscript recognise as a script):
RegWriteString "HKLM", "\Comm\ConnectionSharing", "PrivateInterface", "TIACXWLN1"
While ( wndExists( "Internet Sharing" ))
If regKeyEqualsDWord "HKLM", "\Comm\InternetSharing\Status", "Enabled", 0
SendLeftSoft ( "Internet Sharing" )
EndIf
EndWhile
transfer to ppc phone.
steps to use it:
turn off wifi
click on internet sharing
(you can use either usb or bluetooth doesn't matter which)
click on connect
this will establish data connection
run the script by clicking on the script file
(this will edit the registry once then it sends connects by sending left softkey whenever it detects a disconnect)
now turn on wifi
(if this is not done last the connected clients won't connect properly to the internet)
end of steps enjoy! *by the way, if you copy any script directly to the start menu it gets treated as a program which you can map to a button or to an app launcher
SCRIPT IS ALSO ATTACHED with program
oozijk said:
This will edit the registry as well as keep the connection alive! this should also fix your dropouts. I'm new here so I don't know how to upload anything so I can't upload the script but basically here are the instructions.
Download and install MortScript
here's a more direct link http://www.sto-helit.de/index.php?mo...=view&entry=65
http://www.pocketpcfreewares.com/en/index.php?soft=1448
(if the link doesn't work goto www.pocketpcfreeware.com and search for mortscript)
copy paste this script to notepad and save as KeepSharing.mscr (notice the extention this lets mortscript recognise as a script):
RegWriteString "HKLM", "\Comm\ConnectionSharing", "PrivateInterface", "TIACXWLN1"
While ( wndExists( "Internet Sharing" ))
If regKeyEqualsDWord "HKLM", "\Comm\InternetSharing\Status", "Enabled", 0
SendLeftSoft ( "Internet Sharing" )
EndIf
EndWhile
transfer to ppc phone.
steps to use it:
turn off wifi
click on internet sharing
(you can use either usb or bluetooth doesn't matter which)
click on connect
this will establish data connection
run the script by clicking on the script file
(this will edit the registry once then it sends connects by sending left softkey whenever it detects a disconnect)
now turn on wifi
(if this is not done last the connected clients won't connect properly to the internet)
end of steps enjoy! *by the way, if you copy any script directly to the start menu it gets treated as a program which you can map to a button or to an app launcher
SCRIPT IS ALSO ATTACHED with program
Click to expand...
Click to collapse
Thanks I will check into this tomorrow as its a little late here... I will also look into the encryption settings as well.
I've followed the instructions verbatim, but my new adhoc network on my phone just shows "connecting" forever, and never actually connects. Any advice?
Thanks.
its going to say connecting until you connect to your phone from your computer....SO lets say you named ur adhoc network "tilt wifi", from your computer search for wireless networks and connect to "tilt wifi"..and it will now say connected on your phone and now your phone is a wireless router
New Script that starts ICS and does the wifi reg edit when you start it.
Hey everyone, this is a new script that will start ICS and do the reg edit automatically when you start it. Then just start wifi and connect to the network you make on your phone...This basically saves you one step as it starts ics and does a reg edit in one.
- ( you still have to keep this changed tho - Open Settings-> Connections -> Wi-Fi. Select Network Adapters tab. Click IEEE 802.11b/g Compatible Wi-Fi.
4) Enter IP address 192.168.1.1 and subnet mask 255.255.255.0. Click OK. )
so.. can somewone be cool and nice enough to make this script into a program?
We have a wifi program now for the TILT!!
TurboX2 said:
so.. can somewone be cool and nice enough to make this script into a program?
Click to expand...
Click to collapse
Now we have a program
Fantastic programme!
First post on this forum.
Just a few queries:
I can happily browse over wifi from my laptop and N95
But I can't manage to connect an iphone or ipod touch. It is possible that these devices do not allow browsing over an ad hoc connection-any way round this?
The connection drains the kaiser battery very quickly-I'll try adjusting the Kaisers power settings.
The USB connection did work for browsing but now does not. Even when the wifi programme is not running. When the Kaiser is short of batteries I have tried connecting via USB to charge the phone but this knocks off the wifi connection but still the USB networking connection does not work.
Otherwise nice piece of work. Thank you.
Please also make sure you post a link to your thread to the original thread so that all non-XDA-Dev users also find this thread (I've linked to the original thread from several of my articles also cross-posted to other boards and mags)
Wifi router, version 0.6
New version 0.6 attached
http://forum.xda-developers.com/showthread.php?t=341398
this works ...
This way to connect to wifi worked for me too.
However I would like to know what advantage you get in connecting to internet using this approach wrt connecting thorugh bluethooth or USB.

What would it take to use ham radio over AT&T Tilt

The original question can be anwswered differently depending on interpretation of question....
1. How can ur xda transmit/receive over ham freqs? (must perform modifications to device and get FCC-ok, but legally possible)
2. How can ur xda observe and post through web host-repeater to chatbox, and can hambands be listened to on website over xda?
My tilt would not have javascripting and java plugins running would it? It doesn't seem to be able to support the Netherlands site post#3. I tried with both PIE and opera mini with TCPMP and Streaming Media Player.
I think it would be easier if you just use HAM Radio over Internet...
couple things
1.)
power booster would be designed native to particular phone
designed for particular freq band
cradle or docking station for xda (charges with signal rx - antenna on top of car wired into cradle)
33cm band is old analog cell operating band. You might have interruptions sound like conversation(hi-freq noise w/multi-tones)
23cm band(1240-1300Mhz), 13cm 2350-2450Mhz(right in middle of celll phone authourization band - most of GSMs here)
GSM requires carrier-authorization (freq band) 900-928Mhz which is near cell phone range.
Microwaves may have skin heating effect. Questions of safety of being in close contact with xdas and cell phone towers known to cause cancer. Antennas in microwave range are extremely small. Could make collinear to give multiple gains. U could get pretty hi gain wi fi antenna in 900Mh~2 ghz range. Couplers(passive) could be used with antennas in cars
Many collinear high gain antennas would multiply 10000-20000x the power with a power amp. external antenna would give 20x-30x range. mounted atop vehicle or house would give far better line of sight both tx and rx. would easily recover loss from passive coupling on back side of radio. ctrl ops would have to provide very precise measurements on operation in freq and band. legal to do if authorized and operating in legal bands of FCC (here in usa...every country would have near equivalent comm regulators)
2.)
d-Star a protocol to internconnect cells into digital repeater systems. Ppl talk 100-150 miles apart with its usage. Transfer video, audio, or data. With packet radio u could transmit text thru pda entirely thru ham radio. It may go partially thru both ham and cell towers to hit say australia.
possible to use ham over ip software to find repaters' url and will be encapsulated as traffic.(ax.25 protocol used in amateur radio...internet affected by similar ix.25 protocol) GSM refers to type of modulation used to modulate signal. once it gets back to the inernet its born as packets of info ie voip graphic images ascii whatever (but no porn!)
links would be limited for instance if link transmitted at 300 baud it would take forever. but text for example ascii short and sweet would easily be transmitted in 12-15 modes psk 31, packet radio, paktor, amtor (amateur radio version of sitor), baudot. ascii is a recognized easily. all is encapsulated.
baudot is 5bit instead of 8bit. still used today in deaf phones with 5bit baudot code. makes it easy to use as a terminal into a ham radio. easy to talk to teletype operators over world. alot of times host will translate over internet with known repeater-ip address. connect to digipeater over ham(or cell?) and internet. Lots of mailbox like systems. almost like an email server.
FCC Answers legality
http://www.lamonica.com/legal.htm
Possible? ..little dated!
http://www.arrl.org/qst/2003/02/VoIP.pdf
Gateways
http://www.dxzone.com/catalog/Internet_and_Radio/Online_Receivers/ 54 different links!
forum specific to streaming media
http://icecast.imux.net/
Amateur Radio League of course!
http://www.arrl.org/
University of Twente, Neschede - The Netherlands
Site broadcasts three different meter wavelengths with chatbox.
http://websdr.ewi.utwente.nl:8901/
I just thought I'd say I'm a ham and I gave up on reading that drivel at about 3 lines in.
You could probably do speaker/mic to a radio and be an internet gateway that way, but all this other "cellular is near suchandsuch" stuff is silly, the Tilt itself would in no way ever be transmitting on ham frequencies.
Easier said..*wink*
Thank you for input, khaytsus. Cleared up first post(somewhat).
Would really like others to read more than 3 lines in...
Rayan, I have checked a couple of the links out. The tilt does not seam to support the java version or javascripting...will keep trying the others.
Ham radio through Kaiser/Tilt
The simplest solution would be EchoLink. With the AT&T Tilt having the PTT button, I would love to have a WM port of EchoLink tied to the PTT. If I knew how to program, I would work on a WM port of EchoLink. Any programmers up to the challenge?
Cq Cq Cq De Kd8dns.
Nice To See Some Hams Here.
kb0olf said:
The simplest solution would be EchoLink. With the AT&T Tilt having the PTT button, I would love to have a WM port of EchoLink tied to the PTT. If I knew how to program, I would work on a WM port of EchoLink. Any programmers up to the challenge?
Click to expand...
Click to collapse
Boy, I came in on this way late, and am resurrecting a dead thread...sorry about that.
Wish I were still doing programming, that would be a fun project, that's for sure. Got a couple of friends that are programmers, though, one with experience with PPC stuff...gives me some things to think about....
My thinking as far as VOIP around here was to simply use the wireless LAN in the house and something like Microsoft Portrait or Skype to pass the audio to my HF rig. My big problem is rig control since I use HRD for rig control and logging on a regular basis and I don't really want to change.
Anyone got any good ideas there?
As to some of the other stuff posted, I agree, the Tilt (or any handheld cell phone for that matter) certainly won't easily make it to the lower ham bands. Plus, you'd have a lot of work to do reprogramming it to make it to the upper bands. Is it possible? Maybe, but not worth the effort in my opinion. Provided all of this was done in the US, by US citizens, you wouldn't have to resubmit the device for FCC certification, as long as several conditions were met. First, you would have to be a licensed ham operator. Second, you couldn't sell it to anyone other than another ham operator for use at his station. And third, you'd have to verify that it fell within the spurious emissions guidelines that the FCC sets out for a device at that power level. I should remember what that is, but I've slept since I took the test.
When it comes to getting an antenna connected to the phone, if you're talking about the Tilt itself, it has an antenna connector behind the rubber cover near the camera lens. Most phones have the same type of connector somewhere on them. Not all, but most. That also tends to remove most of the stray RF from the device itself and allows you to route the RF to an amplifier instead of having to use passive devices and increasing efficiency. BUT, you're still talking about retuning a device that wasn't originally designed for those frequencies in the first place. Interesting idea, though. Using that thought, the amplifier could be relatively universal and wouldn't have to be designed for a specific device.
As to many of the links, while they're relevant to a degree, many of them are online receivers. It's legal to broadcast received signals online, but not legal to rebroadcast signals over the ham bands. There's where the control operator mentioned in the first link comes into play. That's the whole issue of legality. There's no problem with listening, though. If you can stream the signals, you can listen all you want.
OK. I've not only resurrected a dead thread, but I've stirred the pot quite a bit. I'm curious to see what floats to the top!
--de WA0ZOG
ham radio why not??
ok why not use hrd and psk 31 and you should beable to do all functions but voice over radio and computer. just a thought 73s wc3sam
it'd be really neat to see an Echolink compatible client, and fantastic to tie it to the PTT!
As it is, I leave my HT running at home sometimes and have it streaming through my Windows Media 9 encoder at 8kbs, and it sounds awesome, with no breakup, even over GPRS. The downside is that I can't talk back, but at least I can keep tabs on our emergency nets, and I SMS in my check-ins to another HAM buddy live on the net, so he lets them know I'm listening. Downside #2 is that I can't surf the towers. I have to go home and change the tuning manually. I don't have a radio with a fancy PC interface for control. Just a thumbwheel tuned clunker I picked up at a field day. It does the job though.
I hope we have a good samaritan programmer that might take this project up. My Dad and I would love this app!
73's
KD4ZQE

Help: GPS dependances: Internet cx for activation ?

Hello,
I have a small question,
taken a look to existing post without results about a customization of Windows to disable the mandatory Internet connexion process that allow activation og GPS chip.
By default FR Orange telecom operator force kaiser to establish an Internet connection to allow GPS chip activation (Heard from support it's linked to the software they sell for GPS that need to connect to Internet for billing, even if software is not present on the phone).
Each time you launch a GPS software (like tomtom for eg.), kaiser try to make a Internet connection and if succes activate the chip.
By flashing to US Rom this function was not seen anymore, but my last upgrade to FR rom made this function back and it is a howfull constraint (country lines crossing = over taxed internet connexion if you use your GPS for eg.).
I tried to update only radio to my previous US radio but it did not changed anything so I imagine that this is a Windows registery tweak, maybe?
Did anybody allready seen this subject or have any advise to help ?
Thanks a lots for your time,
Holister.

[Q] [WiFi] SoftAP - More than 8 devices

I'd like to extend the number of devices which can be connected to the mobile hotspot. 8 is not enough for me. I don't get why somebody made such a limit, because on "normal" PC linux there isn't such a limit. Espacialy, that the standard IEEE 802.11 has a limit of 2007 different association IDs. It can't be a hardware issue because the limit used to be 5 in the past, now it's 8, and hardware in my SGS is still the same.
Do you have any ideas, how can I extend the limit? I've search a lot over the net, but found nothing. It seems I'm the only one person in the world who doesn't want the limit? Or is it so simple to do, that nobody want to waste time and explain it? I discovered, that the limit is somewhere in the bcm4392 driver/firmware. Where can I find some custom drivers without such a limit?

Categories

Resources