Skip to content

Latest commit

 

History

History
69 lines (39 loc) · 1.67 KB

File metadata and controls

69 lines (39 loc) · 1.67 KB

FGRoute

Version License Platform

FGRoute is written on C and Objective C (includes Swift support), it helps developers to get rid of dealing with WiFi interfaces.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

iOS 8 and later.

Installation

FGRoute is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "FGRoute"

Usage

With FGRoute you can easily get your ip address, Route, ssid etc.

Full method documentation for Swift

FGRoute.isWifiConnected() // Bolean value to check internet connection

FGRoute.getGatewayIP() //route ip address

FGRoute.getSSID() // Connected wifi name

FGRoute.getBSSID() // Connected wifi BSSID

FGRoute.getSSIDDATA() // Connected wifi SSIDDATA

FGRoute.getIPAddress() // Your local ip address in network

Full method documentation for ObjC

[FGRoute isWifiConnected]; // Bolean value to check internet connection

[FGRoute getGatewayIP]; //route ip address

[FGRoute getSSID]; // Connected wifi name

[FGRoute getBSSID]; // Connected wifi BSSID

[FGRoute getSSIDDATA]; // Connected wifi SSIDDATA

[FGRoute getIPAddress]; // Your local ip address in network

Author

Arthur Sahakyan

License

FGRoute is available under the MIT license. See the LICENSE file for more info.