Discover 4g signal strength meter, include the articles, news, trends, analysis and practical advice about 4g signal strength meter on alibabacloud.com
Android system transplantation and debugging -------) how to modify the number of 4G signal strength grids displayed on Android phones
Before modifying the displayed signal strength, let's take a look at what is dB and what is dBm?
1. dBDB is a value that represents relative
I got a lot of information, but I didn't find it. Get 4G signal Strength application code
There's no way, I can only write it myself.
First you need to know what the AT command is. This can refer to the following connection:
Https://www.cnblogs.com/yuweifeng/p/5587473.html
If the 4G device is running normally at the T
gsmsignalstrength = Signalstrength.getgsmsignalstrength ();
Gets the network type int networktype = Getnetworktype (mainactivity.this); Switch (networktype) {case NETWORKTYPE_WIFI:mTextView.setText ("Current network is WIFI, signal strength is:" + gsmsignalstrength);
NETWORKTYPE_2G:mTextView.setText ("The current network is 2G mobile network, signal
antennas with wireless base stations nearby, you can try to bring your mobile phone as close as possible to the antenna panel, so the value will grow bigger and bigger,
So it may be very close to 0 (0 cannot be reached, here the 0This does not mean that the phone has no signal .)
When selecting the engineering mode in the signal strength
25%
A single room or a 10-meter-radius open environment.
Conventional
50%
One room, one bedroom, one wall apart
Enhance
100%
Common home environment, two wall-separated environments
Note: This table
TP Router wr890n Adjust the wireless signal strength first step, enter the Settings page
Login Router Management interface, click Application Management, access to the Application Center, the following figure
Find the signal to adjust, click to enter, as follows
TP Router wr890n Adjust the wireless
table to adjust the wireless power according to the actual use environment:
Strength Type
Strength value
Applicable environment
Enhanced (High)
100%
Common home environment, two wall-separated environments
Steps:1. Run first, porterrshow view port status, then ' Statsclear ' and ' slotstatsclear '2. View: Porterrshow, look at the port.3. Collection of Supportshow, Supportsave4. View Sfpshow-all can see the second-to-last line of 23 Rx power status, if larger is normalSfpshow-all:=============Port 0:=============Identifier:3 SFPConnector:7 LCtransceiver:540c402000000000 200,400,800_mb/s m5,m6 SW inter_distEncoding:1 8B10BBaud rate:85 (Units Megabaud)Length 9u:0 (units km)Length 9u:0 (Units-meters)L
Although the various APIs that directly get signal strength are blocked. But there is another kind of black magic that can be acquired. That's traversing the uistatusbar.- (void) getsignalstrength{uiapplication*app =[UIApplication sharedapplication]; Nsarray*subviews = [[[App Valueforkey:@"StatusBar"] Valueforkey:@"Foregroundview"] subviews]; NSString*datanetworkitemview =Nil; for(IDSubviewinchsubviews) {
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.