gprs

Using GPRS and GSM Simulatneously

十年热恋 提交于 2019-12-02 16:00:54
问题 I am trying to use GPRS functionality of the GSM/GPRS modem for sending data to the remote server but i am unable to do so.I had posted a question on Arduino Forum but didn't get any reply.Here is the link for the question. Well my Main concern is i) I am using a GPRS/GSM Modem and i am not sure about the Power requirements of the Modem.At present i am using a 9V and 1 amp supply but the network LED on the modem is dignifying that Modem is not getting the network. So can this be because of

How to get location of android device by its android id

萝らか妹 提交于 2019-12-02 09:26:43
I am new in android and recently start learning about Android and I am trying to get location of any android device by its unique android id. By that I can track the approx or exact location either by GPS or network provider. In detail I mean to say that whenever i enter any Android id in my app i can get device location in my application. Thanks for your kind help. Finally I am able to do with this code: public class MyService extends Service implements LocationListener{ String GPS_FILTER = ""; Thread triggerService; LocationListener locationListener; LocationManager lm; private static final

Using GPRS and GSM Simulatneously

泄露秘密 提交于 2019-12-02 09:22:57
I am trying to use GPRS functionality of the GSM/GPRS modem for sending data to the remote server but i am unable to do so.I had posted a question on Arduino Forum but didn't get any reply. Here is the link for the question . Well my Main concern is i) I am using a GPRS/GSM Modem and i am not sure about the Power requirements of the Modem.At present i am using a 9V and 1 amp supply but the network LED on the modem is dignifying that Modem is not getting the network. So can this be because of the insufficient supply to the modem? I very much doubt it's a power thing. Although I have limited

移动通信实习报告

≡放荡痞女 提交于 2019-12-02 01:52:54
序言   本次实习的主要内容是移动通信的核心侧和无线侧两部分,实习时间是2017年6月12日至2017年6月30日。实习过程中核心侧部分主要认识华为WCDMA 3G移动核心侧设备MSoftX3000、UMG8900、HLR9820、SGSN9810、GGSN9811等设备的外观及结构,了解其型号、参数、性能指标和运行情况;认识移动核心侧设备的基本组成,认识WCDMA核心网网元设备及各个单板的认识,加深理解移动核心侧设备在整个通信网中的地位;无线侧部分认识华为WCDMA 3G移动通信无线侧设备DBS3900、BSC6810等系列设备的外观及结构,了解相关设备的型号、参数、性能指标和运行情况;认识华为DBS3900、BSC6810等设备内各单板的位置和作用,加深理解移动无线侧设备在整个通信网中的地位;以此来加强课程学习中对移动通信理论内容的理解,为今后的学习和工作打下基础。 移动通信核心侧 移动通信核心侧实习目的和要求 实习目的 了解WCDMA全网拓扑结构; 认识华为WCDMA 3G移动核心侧设备MSOFTX3000、UMG8900、HLR9810等设备的外观及结构; 认识核心侧设备的基本组成,了解WCDMA核心网网元设备以及各种单板; 掌握移动通信核心网的通信原理; 熟悉移动通信系列设备的构成、性能、作用及运行情况; 实习要求 要求能独立完成MSOFTX3000的数据配置

GPRS模块上发数据到数据库

ぐ巨炮叔叔 提交于 2019-11-30 22:03:10
1、Usb 转 RS232 串口线驱动安装:群华农天霸里面的文件 CH340 驱动 2、GPRS-DTU 配置:在 http://www.comway.com.cn/doc.asp 上下载资料   (1) 看 COMWAY GPRS DTU 配置软件 V4.01 使用说明,配置好连接的服务器地址,端口 3、将串口发送给 GPRS 模块的数据显示出来   (1) 购买一个服务器,购买一张上网卡   (2) 按照 2 的要求配置好 GPRS   (3) 给 GPRS 模块上电,在服务器上运行端口监听程序( Python , Java , c++ 都可以) 如下所示: import socket,select s = socket.socket() #host = socket.gethostname() host = '' print(host) port = 8000 //这里端口配置8000 s.bind((host,port)) s.listen(5) inputs = [s] while True: rs,ws,es = select.select(inputs,[],[]) for r in rs: if r is s: c,addr = s.accept() inputs.append(c) print(addr) else: try: data = r.recv(1024

QT笔记:通过GPRS获取网络时间

倖福魔咒の 提交于 2019-11-30 12:39:42
QT笔记:通过GPRS获取网络时间 1.ARM开发板通过向GPRS模块写指令获取网络时间: /*连接阿里云时间同步服务器,用以获取时间*/ while(!gprs_send_cmd("AT\n","OK",1,1000));//同步波特率 while(!gprs_send_cmd("AT+CGATT?\n","+CGATT: 1",1,1000)); //查看网络附着状态 while(!gprs_send_cmd("AT+SAPBR=3,1,CONTYPE,GPRS\n","OK",1,100));//开启场景 while(!gprs_send_cmd("AT+SAPBR=3,1,APN,CMNET\n","OK",1,500));//设置APN为移动 while(!gprs_send_cmd("AT+SAPBR=1,1\n","OK",1,200)); while(!gprs_send_cmd("AT+SAPBR=2,1\n","OK",1,600)); while(!gprs_send_cmd("AT+CNTP=ntp1.aliyun.com,32\n","OK",1,200));//阿里云时间同步服务器 while(!gprs_send_cmd("AT+CNTP\n","+CNTP: 1",1,2000)); while(!gprs_send_cmd("AT+CCLK?\n"

How to make an android peer to peer without using intermediate server? [closed]

▼魔方 西西 提交于 2019-11-30 03:43:18
I need to make an android peer to peer app that should work with any Internet connectivity and without using intermediate server. Can somebody plz give me any start up ideas. I haven't find any answer while googling. Any help would be appreciated. Regards, Pawan Adobe AIR, which can run on Android 2.2+ devices can use a (fledgling) technology called Adobe Cirrus (used to be Stratus) which makes p2p possible. If you would prefer to use Java and create your own p2p system, you might like to take a look at this project: peerdroid However, I don't have any experience using either of these on

Google Android - how to figure out if 3g and 2g is turned on

99封情书 提交于 2019-11-28 20:50:30
I'm developing a simple application for the Google Android to turn on and off the wifi or 3g or 2g. I see http://developer.android.com/reference/android/net/wifi/WifiManager.html#isWifiEnabled() that you can see if the wifi is enabled or disabled and also us http://developer.android.com/reference/android/net/wifi/WifiManager.html#setWifiEnabled(boolean) to turn on and off the wifi. I'm wondering if it's possible to do the same for 3G and for 2G/GPRS? I know it's possible because you can turn off 3G and left 2G on. 2G/3G To determine your network type use: TelephonyManager.getNetworkType();

How to check the network availability?

空扰寡人 提交于 2019-11-28 11:50:05
I have to connect my app with server using either wifi (if it is available), or gprs (if wifi is not available). Here is my code to check the connection availability public static final boolean isConnectionAvailable(Activity a) { ConnectivityManager cm = (ConnectivityManager)a.getSystemService(Context.CONNECTIVITY_SERVICE); State mobile = cm.getNetworkInfo(0).getState(); State wifi = cm.getNetworkInfo(1).getState(); if (wifi == NetworkInfo.State.CONNECTED || wifi == NetworkInfo.State.CONNECTING) { return true; } if (mobile == NetworkInfo.State.CONNECTED || mobile == NetworkInfo.State

How to provide option to select wi-fi or GPRS for network connectivity in android app

£可爱£侵袭症+ 提交于 2019-11-27 21:33:46
In my app i want to provide the user with the option to choose wi-fi / GPRS for network connectivity to the web server. May be answers to the following ques solve my prob ... 1. How to check which is the current default network connectivity option enabled. 2. How to enable wi-fi/GPRS on user selection or (disable the wi-fi if user chooses GPRS - if only this option will be required for GPRS to work) or is there some other way around to do this ? Try this: ConnectivityManager connManager = (ConnectivityManager) getSystemService(CONNECTIVITY_SERVICE); NetworkInfo mWifi = connManager