Latest 0.9.2
Homepage https://github.com/daisukenagata/BLEView
License MIT
Platforms ios 10.2
Authors

CI Status
Version
License
Platform

初回起動で同じアプリケーションを持った端末と通信接続できます。
文字列を入力して、改行を押すと接続した端末に入力した文字列が音声で流れます。
文字を入力すると電波の強度を表します。端末が離れると、強度が弱くなることに値が増加します。
空文字を入力すると再度電波強度を取得します。画面をタップすると、電波強度のみ取得します。(iphone6s以上のバージョンのみです。)
上スワイプで、接続端末を選択できます。
iphone端末専用で、グラフを端末毎に電波強度を描画表示できます。
例えばipad用の電波強度グラフ、iphone用電波強度グラフで確認ができます。
電波強度を変更したい場合は上スワイプで端末選択画面に遷移して、端末を選択、文字入力すると電波強度が変化します。

参考記事

http://dbank0208.com/TransformationStructure.html

You can communicate with a terminal that has the same application at the first launch.
When entering a character string and pressing a line feed, the character string entered to the connected terminal flows by voice.
When you enter a letter, it represents the strength of the radio waves. When the terminal leaves, the value increases to weakening intensity.
When you enter empty characters, you will get the radio field intensity again. When you tap the screen, you will only get the radio field intensity. (It is only iphone 6s version or higher.)
With the up swipe, you can select the connected terminal.
It is dedicated to iphone terminal, it can draw and display the radio wave intensity for each terminal on graph.
For example, you can check with radio field intensity graph for ipad, radio field intensity graph for iphone.
If you want to change the radio field strength, select the terminal according to the terminal selection screen by adding it, input characters and change the radio field strength.

現在時刻とピッカーの入力した日付が合えば5秒間づつ通信の接続を繰り返します。

If the current time matches the date entered by the picker, it will repeat the communication connection every 5 seconds.

国別日付設定はこのクラスメソッドで実施しています。通知を停止する場合は、文字列を入力か空文字を入力してください。
Country-specific date settings are implemented in this class method. To stop the notification, enter a character string or enter the empty character.

class func stringFromDate(date: NSDate, format: String) -> String {
        let formatter: DateFormatter = DateFormatter()
        formatter.locale = NSLocale(localeIdentifier: "ja_JP") as Locale!
        formatter.dateStyle = DateFormatter.Style.full
        formatter.timeStyle = DateFormatter.Style.short
        formatter.dateFormat = format
        return formatter.string(from: date as Date)
    }

Design documents

Example

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

Requirements

Installation

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

pod "BLEView"

Author

DaisukeNagata [email protected]

License

If you want to use, please give me a star.
BLEView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "BLEView",
    "version": "0.9.2",
    "summary": "It is a BLE communication librarySetting",
    "description": "TODO: It is a BLE communication library. Two devices are required.",
    "homepage": "https://github.com/daisukenagata/BLEView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "DaisukeNagata": "[email protected]"
    },
    "source": {
        "git": "https://github.com/daisukenagata/BLEView.git",
        "tag": "0.9.2"
    },
    "platforms": {
        "ios": "10.2"
    },
    "source_files": "BLEView/Classes/**/*"
}

Pin It on Pinterest

Share This