Is there a API call for checking if the connection to the base station is encrypted with A/1 or A/3 or if there is no encryption (A/0). And is the base band open source? I was looking for an answer on the develper website but couldn't find a yes you can - or no you can't. Why does nobody care about that issue?
Related
I've got a ppc-6601 (harrier) from Sprint and I'm trying to develop a program to use the location information - hopefully gps coords. Any idea on how to get that info? The program will basically be a location connector - converting phone location info to nmea sentences so any mapping program out there will be able to use the location info. The big question is, how do I get that info from the phone?
Is this a HTC product?
I once looked a (if I remember correctly) Swiss product that was able to show th current location based on the cell-info from the gsm radio.
The trouble seems to be that you need a map calibrated with gsm cell-info.
Remember: you wount get a more detailled specification of the location than approx. 200 metres.
I believe it's built by HTC, but branded by Audiovox. Sprint uses cdma, so the usual gsm location stuff isn't gonna work. Sprint uses the qualcomm/snaptrack technology - gpsOne. Sprint/Qualcomm got a java api out there for MIDP 2.0 phones, but I'm not sure if it'll work w/ ppc phones. This api gives you alot of info - including gps coords. http://www.shaftek.org/blog/archives/000139.html
So any ideas?
The carrier must have a location server online, currently Sprint and Verizon's LBS servers are not ready for point-to-point relay of LBS data.
An Australian based company has managed to extract this info from windows ce devices. From their web site (www.locatrix.com) it also seems as though this kind of service is supported on all mobile phones.
Pretty cool I thought.
HickHack said:
An Australian based company has managed to extract this info from windows ce devices. From their web site (www.locatrix.com) it also seems as though this kind of service is supported on all mobile phones.
Pretty cool I thought.
Click to expand...
Click to collapse
Uh, no. That program relies on tracerouting your IP address, and, if available, using their proprietary LBS API that if you want to route into GPSOne, you get to do on your own.
No, it doesn't use traceroute. I've got an i-Mate device here on Vodafone determining location to within 100m. The external API is for other/desktop applications (such as CRM, field management, mapping etc) that may wish to display the device's location.
Friends of mine have also tried their clients for Blackberry and Symbian OS with similiar results...
HickHack said:
No, it doesn't use traceroute. I've got an i-Mate device here on Vodafone determining location to within 100m. The external API is for other/desktop applications (such as CRM, field management, mapping etc) that may wish to display the device's location.
Friends of mine have also tried their clients for Blackberry and Symbian OS with similiar results...
Click to expand...
Click to collapse
Well, on the GSM side it has more options (I was referring to the Harrier and CDMA), such as locating the location of the tower and using signal fade information to make a best-guess estimate. Depending on where you live, and how close towers are spaced, it can get pretty close.
Does anyone have any info or know if support will be added in CM7?
It supports it on the wifi interface, and it supports 6to4 tunneling which can be used over the 3g/4g interface (configured with route2). However, as far as I can tell, IPV6 is does not have native support on the WAN interface on Android at all. And 6to4 tunneling is not an option since TMO's PAT will break it.
TMO is running an IPV6 beta program, but at this point the only phones that can be used with it are some Symbian phones and Maemo.
And before anyone asks why, it's for:
- Testing
- Development
- Security assessment
Yeah, I also wanted to be in that beta. No word on any roms that can do that but I heard the next Nexus S had Samsung code to do it.
I haven't tried it yet, but I wonder if you could create a bridge interface and add the radio interface to the bridge group. IPV6 should be supported on the bridge. No idea if it will let you add the radio interface to the bridge group though.
Has anyone tried sniffing the radio interface to see if they are sending IPV6 router advertisements to everyone, or only the people that signed up for the beta? I think it would be a pain in the butt to make it selective unless they are using your IMEI or IMSI to dump you on a completely separate VLAN.
signal15 said:
Does anyone have any info or know if support will be added in CM7?
It supports it on the wifi interface, and it supports 6to4 tunneling which can be used over the 3g/4g interface (configured with route2). However, as far as I can tell, IPV6 is does not have native support on the WAN interface on Android at all. And 6to4 tunneling is not an option since TMO's PAT will break it.
TMO is running an IPV6 beta program, but at this point the only phones that can be used with it are some Symbian phones and Maemo.
And before anyone asks why, it's for:
- Testing
- Development
- Security assessment
Click to expand...
Click to collapse
That TMO IPv6 beta now supports a few Androids, including the ICS Nexus S and Galaxy Nexus for UMTS.
I do have a request to guys with interop-unlocked phones (of course if it's possible to browse \Windows): could you please check handset's assemblies for the windows.devices.bluetooth?
Thanks!
Actually it is not only possible to browse Windows, but also read any file there. Even with developer unlock.
Yes, you are right - I completelly forgot about GoodDayToDie's web server...
[Update] I found the dll with BLE & BT 4.0 support! It calls BLUETOOTHAPIS.DLL, I've attached exports. BLE (Bluetooth Low Energy) API functions begins from BluetoothGATT* , well described here http://msdn.microsoft.com/en-us/library/windows/hardware/hh450825(v=vs.85).aspx
Is there a API call for checking if the connection to the base station is encrypted with A/1 or A/3 or if there is no encryption (A/0). And is the base band open source? I was looking for an answer - but couldn't find a yes you can - or no you can't. Why does nobody care about that issue?
He3556 said:
Is there a API call for checking if the connection to the base station is encrypted with A/1 or A/3 or if there is no encryption (A/0). And is the base band open source? I was looking for an answer - but couldn't find a yes you can - or no you can't. Why does nobody care about that issue?
Click to expand...
Click to collapse
baseband is not open.
I have successfully ported Quectel M95 GSM modem with android 4.0.4 and I can receive and send sms, make calls all phone functionality but to turn on radio I am doing this change in RIL.java file
if (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false)
I changed this condition to true
if (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == true)
so that my radio hardware may turn on and it works for me but I know its not a proper way , my question is why isNetworkSupported() function ever returns false even I have now ported gsm modem and my second question is how I can enable phone functionality so that my tablet will configure as phone so that this
if (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false)
returns true.
Quick response will be highly appreciated.
If I'm understanding this correctly - you're trying to get an external USB modem working on a Wifi-only tablet, to make it behave as a device with a mobile radio?
Interesting. A lot of the mobile radio stuff is intentionally left out of builds for wifi devices to save space/build time/reduce number of running services. You might need to take a look at the device tree for a mobile-enabled tablet for hints.
It's only recently that having wifi-only/mobile-capable variants of a device were possible (I believe this is the case with Nexus 9 builds) - you might want to look at this and possibly the recently unified castor+castor_windy trees in Sony AOSP (Omni does not support these devices, but they can be found in sonyxperiadev github)
Entropy512 said:
If I'm understanding this correctly - you're trying to get an external USB modem working on a Wifi-only tablet, to make it behave as a device with a mobile radio?
Interesting. A lot of the mobile radio stuff is intentionally left out of builds for wifi devices to save space/build time/reduce number of running services. You might need to take a look at the device tree for a mobile-enabled tablet for hints.
It's only recently that having wifi-only/mobile-capable variants of a device were possible (I believe this is the case with Nexus 9 builds) - you might want to look at this and possibly the recently unified castor+castor_windy trees in Sony AOSP (Omni does not support these devices, but they can be found in sonyxperiadev github)
Click to expand...
Click to collapse
Thanks for your response.
Yes you understand it correctly but only difference is that I am using UART of my modem.
I didn't understand that where is the device tree for mobile-enabled tablet..?
Is there any simple way where I just change some flag to get whole mobile functionality? like by changing TYPE_MOBILE etc;
Thanks
Regards,
Adeel
adeelkhan09 said:
Thanks for your response.
Yes you understand it correctly but only difference is that I am using UART of my modem.
I didn't understand that where is the device tree for mobile-enabled tablet..?
Is there any simple way where I just change some flag to get whole mobile functionality? like by changing TYPE_MOBILE etc;
Thanks
Regards,
Adeel
Click to expand...
Click to collapse
I used debug logs inside isnetworksupported function and now I came to know that in x210_ics_rtm_v13/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/core/java/android/net/IConnectivityManager.java isnetworksupported functions is returning me false following is a part of this code
public boolean isNetworkSupported(int networkType) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
Log.d("FLOW","mservice.isNetworkSupported " + _data); // added
android.os.Parcel _reply = android.os.Parcel.obtain();
Log.d("FLOW","mservice.isNetworkSupported " + _reply); // added
boolean _result;
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(networkType);
mRemote.transact(Stub.TRANSACTION_isNetworkSupported, _data, _reply, 0);
_reply.readException();
_result = (0!=_reply.readInt());
}
finally {
_reply.recycle();
_data.recycle();
}
Log.d("FLOW","mservice.isNetworkSupported " + _result); // added
return _result;
}
in the above last log I got false value of _result , so If you tell me that how this function gets parcel values and how it is connected with parcels then it would be very helpful for me.
Waiting for your response.
Thanks
adeelkhan09 said:
Thanks for your response.
Yes you understand it correctly but only difference is that I am using UART of my modem.
I didn't understand that where is the device tree for mobile-enabled tablet..?
Is there any simple way where I just change some flag to get whole mobile functionality? like by changing TYPE_MOBILE etc;
Thanks
Regards,
Adeel
Click to expand...
Click to collapse
It's exactly what I said it was - look at the device trees for other tablets with mobile radios (LTE or GSM) for examples. flounder (Nexus 9) is an example of one that I believe supports both LTE and wifi-only in a single build. In fact it's the only one I know of. Nearly all other devices need a special build for LTE vs wifi-only - see device-sony-castor vs. device-sony-castor_windy in sonyxperiadev's github.
Entropy512 said:
It's exactly what I said it was - look at the device trees for other tablets with mobile radios (LTE or GSM) for examples. flounder (Nexus 9) is an example of one that I believe supports both LTE and wifi-only in a single build. In fact it's the only one I know of. Nearly all other devices need a special build for LTE vs wifi-only - see device-sony-castor vs. device-sony-castor_windy in sonyxperiadev's github.
Click to expand...
Click to collapse
Today I followed android_device_sony_castor/ device tree and make some changes on my system.prop, boardconfig.mk and device.mk files according to caster but unfortunately I am not successful then i try to follow device tree of android_device_moto_everest and made some changes accordingly but didn't get success
adeelkhan09 said:
I have successfully ported Quectel M95 GSM modem with android 4.0.4 and I can receive and send sms, make calls all phone functionality but to turn on radio I am doing this change in RIL.java file
if (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false)
I changed this condition to true
if (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == true)
so that my radio hardware may turn on and it works for me but I know its not a proper way , my question is why isNetworkSupported() function ever returns false even I have now ported gsm modem and my second question is how I can enable phone functionality so that my tablet will configure as phone so that this
if (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false)
returns true.
Quick response will be highly appreciated.
Click to expand...
Click to collapse
i need your help i also using lineage 16 in grand prime and i get message receiving problem please help me to find out RIL i also want to fix it tell me how to port RIL from other rom please help me tell me file name help me