SMG Wireless Gateway API is implemented based on HTTP. It includes three functions: receiving request, feeding back request and request authentication
The Synway SMG Wireless Gateway API Manual documents HTTP-based API interfaces for interacting with the gateway. Authentication is required for every request using the account and password specified for API on the gateway, and parameter headers are case insensitive.
It covers acquiring device information such as port status, SIM status, base station connection status, and wireless parameters. The manual also describes SMS operations, USSD messaging, and switching SIM cards.
Yes. Authentication is required for all requests, using the account and password specified for API on the gateway.
The API returns values such as 0 for Idle, 1 for Off-hook, 2 for Ringing, 3 for Talking, and 11 for Unavailable.
Post to http://GateWayIP/API/TaskHandle with the parameter format {“event”:“evnetinfo”,”task”:”task info”}.