This article is a mirror article of machine translation, please click here to jump to the original article.

View: 402233|Reply: 158

[Source] .NET/C# Huawei NB-IoT Interface Debugging Tool [Source Code]

  [Copy link]
Posted on 4/24/2017 9:54:53 AM | | | |


.net/c# The Huawei IoT Connection Management Platform northbound interface tool
http://www.itsvse.com/thread-3639-1-1.html
(Source: Architect)
How to use the Huawei NB-IoT debugging tool
http://www.itsvse.com/thread-4111-1-1.html
(Source: Architect)

Above is the finished product download.

Practical application demonstration of NB-IoT solutions
Here are a few NB-IoT related applications to give you a deeper understanding of what they mean.

(1) Huawei/China Unicom's NB-IoT smart parking solution: The smart parking system launched based on Huawei's NB-IoT module will be able to realize functions such as reservation and sublease of parking spaces, and the low power consumption and high penetration ability make this solution more reliable. At present, the parking system has been put into trial use at Shanghai Disneyland.



(2) ZTE/China Mobile's intelligent manhole cover: This solution can realize timely warning when the manhole cover is opened or displaced by comprehensively supervising the status of the manhole cover. NB-IoT technology has the characteristics of low cost, wide coverage, low power, and large connection, which can effectively improve the coverage area of the intelligent manhole cover monitoring system, eliminate coverage dead spots, and reduce construction and maintenance costs.

(3) China Mobile/Ericsson/Intel environmental detection application: Intel's latest NB-IoT chip (XMM7115) is used, which can monitor the PM value, temperature, humidity, light brightness, etc. of the environment in real time.



NB-IoT Development and Challenges
First of all, let's talk about the advantages and value of NB-IoT solutions: 1. Wide and deep coverage: 20dB+ better than GPRS coverage; 2. Low power consumption: based on AA battery, the service life can be more than 10 years; 3. Low cost; 4. Large connection: 50k+ user capacity/200kHz cell.

With the above advantages, NB-IoT technology has attracted the favor of mainstream operators and equipment manufacturers around the world, and with the freezing of standards, NB-IoT will usher in commercial use in September this year. According to relevant reports, China Unicom plans to promote the commercial deployment of NB-IoT in key cities by the end of this year and early next year. In addition, the Ministry of Industry and Information Technology also held a narrowband IoT work promotion meeting in April, intending to build a large-scale field experiment based on the NB-IoT standard by the end of the year. According to relevant market research, by the end of this year, 50 mainstream operators around the world will support NB-IoT, which will cover 1/4 of IoT connections in the future, and M2M devices will reach 7 billion connections by 2020.

NB-IoT, as a new standard technology, is under competitive pressure from Sigfox and LoRa technologies (the industrial chain is relatively mature and the commercial application is earlier). However, Sigfox and LoRa are unauthorized frequency bands and are not favored by operators and equipment manufacturers. Although the NB-IoT market has broad prospects, there is also a price war behind the fire. NB-IoT costs are extremely low, and the cost will drop to $1 for large-scale applications, and currently it is still at $5 for a single connection module. The price of chips for Bluetooth, Thread, and ZigBee standards is about $2, and the price of chips that support only one of the standards is less than $1.


Source code download:

The hyperlink login is visible.
Tourists, if you want to see the hidden content of this post, pleaseReply

Score

Number of participants2MB+2 contribute+1 Collapse reason
later + 1 Very good
meihuozhhui + 1 + 1 Support the owner to post a good post, and I will also post a good post!.

See all ratings





Previous:The newcomer shared a New Year's Cool Run VPN he bought with everyone
Next:The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the ...
Posted on 11/15/2017 2:34:42 PM |
Xiao Zhazha Posted on 2017-11-14 15:02
The basic connection is turned off is a network problem, it is recommended to change the network to test it

My code is as follows
        public static void TestUrl()
        {
            string Url = "https://xxxx:8743/iocm/app/sec/v1.1.0/login";
            string CertPath = "outgoing. CertwithKey.pkcs12";
            string CertPwd = "IoM@1234";
            //string Cert2Path = "ca.jks";
            //string Cert2Pwd = "Huawei@123";
            string Content = "appId=xxxx&secret=xxxx";

            HttpResult result = new HttpResult();
            HttpWebRequest webReqst = (HttpWebRequest)WebRequest.Create(Url);
            X509Certificate2 cert = CreateCert(CertPath, CertPwd);
            webReqst.ClientCertificates.Add(cert);

            webReqst.Method = "POST";
            webReqst.ContentType = "application/x-www-form-urlencoded";
            webReqst.KeepAlive = true;
            try
            {
                if (!string. IsNullOrWhiteSpace(Content))
                {
                    byte[] data = Encoding.UTF8.GetBytes(Content);
                    webReqst.ContentLength = data. Length;
                    Stream stream = webReqst.GetRequestStream();
                    stream. Write(data, 0, data. Length);
                }
                WebResponse respon = webReqst.GetResponse();
                using (HttpWebResponse webResponse = (HttpWebResponse)webReqst.GetResponse())
                {
                    result. HttpStatusCode = webResponse.StatusCode;
                    StreamReader reader = new StreamReader(webResponse.GetResponseStream(), Encoding.UTF8);
                    result. Html = reader. ReadToEnd();
                    webResponse.Close();
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex. Message);
            }
        }
Posted on 11/15/2017 2:30:21 PM |
Xiao Zhazha Posted on 2017-11-14 15:02
The basic connection is turned off is a network problem, it is recommended to change the network to test it

I use the same computer, use the java program to test the authentication, but in your example, it is not possible, java is good to use two certificates, and the example you gave only uses outgoing. Is the certificate CertwithKey.pkcs12 because the second certificate is not used? Please point out the problem of the network
Posted on 6/17/2019 5:39:23 PM |
1185497683 Posted on 2017-11-15 14:34
My code is as follows
        public static void TestUrl()
        {

Hello, how do you define your function "CreateCert"? I replaced it with "new X509Certificate2(CertPath, CertPwd)", but it still reported the issue "The base connection is closed...". Can you tell me how you solved it?
Posted on 4/24/2017 3:17:05 PM |
Take a look                        
Posted on 5/10/2017 11:13:53 PM |
Thank you for your selfless dedication
Posted on 5/19/2017 8:12:05 AM |
Not many people pay attention?
Posted on 5/23/2017 7:11:05 PM |
Thank you for sharing
Posted on 5/24/2017 5:40:19 PM |
Ask for the source code, thank you.
Posted on 6/26/2017 9:48:34 AM |
Good things should be supported, shared, and supported by domestic products
Posted on 7/27/2017 2:30:15 PM |
Find the source code
Posted on 7/28/2017 2:25:58 PM |
I'm going to download
Posted on 7/28/2017 10:37:58 PM |
In the era of the Internet of Things, IoT will become more and more popular in the future
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com