Base station positioning interface instructions

Source: Internet
Author: User

Base station API description

Mobile Unicom base station positioning

Parameter description:

Name

Type

Required?

Description

MCC

INT (decimal)

Yes

MCC country code: China Code; 460

MNC

INT (decimal)

Yes

MNC network type 0 Mobile 1 Unicom (Telecom Sid)

Cell_id

INT (decimal)

Yes

Base station ID (bid for China Telecom)

LAC

INT (decimal)

Yes

LAC (Telecom NID)

Key

String

Yes

APP key

Type

Int

No

Return coordinate type default value 0 (Google coordinates), 1 (Baidu coordinates), 2 (GPS coordinates)

Return Code Description:

Return code

Description

1

Key Value missing

7

Incorrect request parameter format

2

Key not authorized

3

Key expired

4

No return value

5

The access limit is reached or the remaining number of times is used up

6

Invalid IP Address

0

Successful response

Return example:

{"Location ":

{"Address ":

{"Region": "Jiangsu Province ",

"County": "wuzhong district ",

"Street": "weiting Town ",

"Street_number": "Lotus square ",

"City": "Suzhou City ",

"Country": "China"

},

"Addressdescription": "east of Portland Street, Lotus square, weiting town, Portland Street, wuzhong district, Suzhou City, Jiangsu Province ",

"Longpolling": 120.7259200, "latitude": 31.2968700, "accuracy": "1000"

},

"Access_token": NULL,

"Errcode": 0

}

Telecom base station positioning

Parameter description:

Name

Type

Required?

Description

MCC

INT (decimal)

Yes

MCC country code: China Code; 460

MNC

INT (decimal)

Yes

MNC network type 0 Mobile 1 Unicom (Telecom Sid)

Cell_id

INT (decimal)

Yes

Base station ID (bid for China Telecom)

LAC

INT (decimal)

Yes

LAC (Telecom NID)

Key

String

Yes

APP key

Type

Int

No

Return coordinate type default value 0 (Google coordinates), 1 (Baidu coordinates), 2 (GPS coordinates)

Return Code Description:

Return code

Description

1

Key Value missing

2

Key not authorized

3

Key expired

4

No return value

5

Access limit reached

0

Successful response

Return example:

{"Location ":

{"Address ":

{"Region": "Jiangsu Province ",

"County": "wuzhong district ",

"Street": "weiting Town ",

"Street_number": "Lotus square ",

"City": "Suzhou City ",

"Country": "China"

},

"Addressdescription": "east of Portland Street, Lotus square, weiting town, Portland Street, wuzhong district, Suzhou City, Jiangsu Province ",

"Longpolling": 120.7259200, "latitude": 31.2968700, "accuracy": "1000"

},

"Access_token": NULL,

"Errcode": 0

}

 

Http://www.haoservice.com/docs/1 (mobile Unicom base station positioning)

 

Base station positioning interface instructions

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.