Navigation

    obniz Developer's Community Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Inventor 7t
    I
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Inventor 7t

    @Inventor 7t

    0
    Reputation
    1
    Posts
    16
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Inventor 7t Follow

    Best posts made by Inventor 7t

    This user hasn't posted anything yet.

    Latest posts made by Inventor 7t

    • RE: Polar OH1 と connect後、Notifyの受信が無く、接続から15秒に disconnectします。

      Polar OH1はサポートしておりませんので、確実なことは言えませんが、
      一般的なBLEの話で考えると、writeしてnotifyを受け取る仕組みなのかなと予想しています。

      registerNotifyWaitはnotifyを受け取る準備をする関数になりまして、notifyを受け取る関数ではない、というところで動いていないのかなと思います。

      つまり、もしかして下記の順番でプログラムを書いていないでしょうか。
      ①getService/getCharacteristic
      ②write
      ③registerNotifyWait

      こちらの順番だと、③でnotifyを受け取る準備が完了るする前にデバイスからnotifyが来てしまい、受け取れないことが考えられます。

      ①getService/getCharacteristic
      ②registerNotifyWait
      ③write

      の順番を試していただけないでしょうか。

      posted in Question and Troubles
      I
      Inventor 7t