4g

How to fix Network is unreachable with django's send_mail?

╄→尐↘猪︶ㄣ 提交于 2019-12-11 10:55:09
问题 Failed to send mail with django's send_mail() over a 3g data connection as I tether from my phone. It takes a while and fails with a Network is unreachable error , Traceback (most recent call last): File "<console>", line 1, in <module> File "/root/.virtualenvs/local_env/local/lib/python2.7/site-packages/django/core/mail/__init__.py", line 62, in send_mail return mail.send() File "/root/.virtualenvs/local_env/local/lib/python2.7/site-packages/django/core/mail/message.py", line 283, in send

iOS UIBackgroundMode remote-notification doesn't work on 4G

天大地大妈咪最大 提交于 2019-12-10 03:00:51
问题 I'm testing push notifications with content-available=1, and they don't seem to be delivered to the app in the background unless on Wi-Fi. I have a simple log statement at the beginning of the push notification handler: - (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^) (UIBackgroundFetchResult))completionHandler { NSLog(@"Notification received: %@", userInfo); completionHandler(UIBackgroundFetchResultNewData

Is peer-to-peer communication over 3G/4G possible for smart phones?

爷,独闯天下 提交于 2019-12-09 06:59:59
问题 I'm trying to write an app that transfers data from one android device to another - but the devices are most likely located in different parts of the city, state, or country. (The straight forward way would be to have a central server (or any type of server), but i'm trying to avoid using one). The data I'm trying to pass is text, pictures, or a combination of both. The solution I've found so far is to communicate with specially formatted text or picture messages; but that seems far from

A STUN and TURN server that work under 3G/4G Network

*爱你&永不变心* 提交于 2019-12-08 02:54:08
问题 It is very interesting that I can actually make a mVoIP service from the scratch. I finally could make a call using OpenSIPs source through SIP protocol. I used external STUN server that helps me to find users' private IP address behind NAT firewalls. However, the free external STUN server cannot find user's IP address to make a call when a smartphone is on 3G or 4G network. As a programmer, I won't give up to make a mVoIP service. However, I need a help at this time from you guys. Is there a

A STUN and TURN server that work under 3G/4G Network

若如初见. 提交于 2019-12-06 15:39:41
It is very interesting that I can actually make a mVoIP service from the scratch. I finally could make a call using OpenSIPs source through SIP protocol. I used external STUN server that helps me to find users' private IP address behind NAT firewalls. However, the free external STUN server cannot find user's IP address to make a call when a smartphone is on 3G or 4G network. As a programmer, I won't give up to make a mVoIP service. However, I need a help at this time from you guys. Is there a good way to solve this problem? Thank you. There can be two problems here: -you can't find the correct

4G工业路由器传输层解析

坚强是说给别人听的谎言 提交于 2019-12-05 15:33:42
  4G工业路由器的作用是用于工业领域,作为物联网设备的传输终端,作用是链接因特网中各个局域网、广域网,使之能够相互通信。支持串口DTU、有线/无线双重备份功能,同时支持4G/WIFI等多种组网;当前计讯4G工业路由器已经广泛应用于各行各业,各种不同档次的产品已成为实现各种骨干网内部连接、骨干网间互联和骨干网与互联网互联互通业务的主力军。相比与普通路由器,计讯4G工业路由器有着更强大的功能,更加稳定的性能,更多的连接数量。可以帮助使用者在工业领域完成现场远程监控,并将多路大数据、图片、视频数等数据进行传输。   4G工业路由器是用于连接多个逻辑上分开的网络,所谓逻辑网络是代表一个单独的网络或者一个子网。当数据从一个子网传输到另一个子网时,可通过4G工业路由器的路由功能来完成。因此,4G工业路由器具有判断网络地址和选择IP路径的功能,它能在多网络互联环境中,建立灵活的连接,可用完全不同的数据分组和介质访问方法连接各种子网,只接受源站或其他路由器的信息,属网络层的一种互联设备。它不关心各子网使用的硬件设备,但要求运行与网络层协议相一致的软件。   4G工业路由器是互联网的主要结点设备。4G工业路由器通过路由决定数据的转发。转发策略称为路由选择(routing),这也是4G工业路由器名称的由来(router,转发者)。作为不同网络之间互相连接的枢纽,路由器系统构成了基于TCP/IP

从1G到5G,移动通信发展之路

假如想象 提交于 2019-12-05 11:50:57
2G取代1G是历史的必然,诺基亚是2G时代的领航者。 3G 是个“半吊子”系统, 2G手机只能打电话、发短信,上网很困难。3G的通信标准将信息的传输率提高了一个数量级,这是一个飞跃,它使得移动互联网得以实现,从此手机打电话的功能降到了次要的位置,而数据通信,也就是上网,成为主要功能。 但是,从1G到3G都存在一个大问题,那就是上网用的移动通信的网络和原来打电话用的通信网络虽然能够一定程度地融合,但本质上还是彼此独立的。 今天的人回头来看这件事可能会觉得荒唐,但如果我们了解当时移动通信和以AT&T(美国电话电报公司)为代表的传统电信公司是多么水火不容,就不难理解这一点了。 水火不相容使得独立的移动网络无法受益于网络技术的快速进步。2G和3G时代用手机打一个电话实际上经过的物理路径很长。 3G的系统是半吊子系统,虽然标示称网速很高,但是实际网速并不快。 不过,4G很快就出现了。 4G 变快是结果,不是原因 4G有什么革命性的进步呢?有人说是网速变快。但这是结果,不是原因。4G一方面使用了扁平的网络结构,减少了端到端通信时信息转发的次数,同时增加了基站之间光纤的带宽。 更重要的是,它同时利用了互联网和电信网络的技术进步,这两种技术的融合才使得4G的速度比3G快很多。但还不是完全统一,这是个重要的事实。 虽然4G时代从理论上讲移动通信的网速可以变得很快,但如果很多人同时上网,它不仅不够快

iOS UIBackgroundMode remote-notification doesn't work on 4G

試著忘記壹切 提交于 2019-12-05 02:09:54
I'm testing push notifications with content-available=1, and they don't seem to be delivered to the app in the background unless on Wi-Fi. I have a simple log statement at the beginning of the push notification handler: - (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^) (UIBackgroundFetchResult))completionHandler { NSLog(@"Notification received: %@", userInfo); completionHandler(UIBackgroundFetchResultNewData); } Here is my test: Run the app, then press the home button to put the app in the background. Send a

Get device signal strength

本秂侑毒 提交于 2019-12-03 21:13:04
I am trying to get the signal strength in dBm for the carrier, wifi, 3g, and 4g. I am currently using this code to get the carrier's and wifi from the status bar and I would like to know if there is another way or a better way? Also how could I get it for 3g and 4g? UIApplication *app = [UIApplication sharedApplication]; NSArray *subviews = [[[app valueForKey:@"statusBar"] valueForKey:@"foregroundView"] subviews]; NSString *dataNetworkItemView = nil; NSString *wifiNetworkItemView = nil; for (id subview in subviews) { if([subview isKindOfClass:[NSClassFromString(@

5G是不是伪需求?

不想你离开。 提交于 2019-12-03 08:01:43
我们先来讨论一个问题,那就是,5G到底是不是伪需求? 2019年6月的时候,CSDN(中国专业IT社区)问出这样一个问题,“国内(和世界上很多国家)4G部署的成本还没收回,现在又要部署5G,您认为这是否是在不计成本?很多人说4G就够用了,您如何看待这种看法?” 这个问题可能很多人在心里都问过自己,当我们并没有感受到4G不够用时,5G是否是伪需求?我们接下来就用需求这把钥匙,来回答这个问题。听完这一讲,我希望能帮助你提高判断一个技术是否是伪需求的水平。 认为5G是伪需求的一个重要论据是,到目前为止,5G只是网速更快,而4G其实可以满足我们今天所有的对网速的需求,包括上传图片和视频,以及收看高清视频等等。至于在线支付,所需的网速连上传视频的千分之一都不到。 这种看法确实有道理,因为几乎所有的媒体对5G好处的报道都集中在网速上,比如一分钟能下载一个高清电影,等等。那么,5G真的仅仅是网速更快吗?我们平时并不觉得慢的4G,在什么情况下才会有痛点呢? 公平地讲,4G明显的痛点还真不多,不过我们偶尔还会遇到。 如果要同时无线上网的设备数量增加一到两个数量级(也就是10~100倍),4G的带宽和并发能力就不够了。 从理论上讲,4G每平方公里只能支持10万个设备。如果万物互联(IoT)普遍发展,这种多设备同时上网的情况,4G是难以满足的。而万物互联是未来的必然,具体原因,我会在下一讲告诉你。