tag:blogger.com,1999:blog-2839820610767436198.post3607991519632379987..comments2023-05-08T21:58:15.782+09:00Comments on BRILLIANTSERVICE TECHNICAL BLOG: BluetoothSMARTデバイスをmbed で開発する(6)Anonymoushttp://www.blogger.com/profile/15727630193871936413noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-2839820610767436198.post-62191030039930654402016-04-27T12:46:25.524+09:002016-04-27T12:46:25.524+09:00I have a question of Android side. If more Charact...I have a question of Android side. If more Characteristic have, I call the NotificationGatt() more times. but remote device's discriptor is changed the first call NotificationGatt(). I don't know why?Jasmuhttps://www.blogger.com/profile/00460475916172249585noreply@blogger.comtag:blogger.com,1999:blog-2839820610767436198.post-68760158187278964792015-11-07T00:18:32.844+09:002015-11-07T00:18:32.844+09:00今更のツッコミですが・・・申し訳ないです・・・。orz
えーと、NotificationやIndi...今更のツッコミですが・・・申し訳ないです・・・。orz<br /><br />えーと、NotificationやIndication時は、onDataSentのCallbackを使用すればサンプルソース内で使用しているTickerは必要なくなりますね。<br /><br />https://docs.mbed.com/docs/ble-intros/en/latest/AdvSamples/HighData/<br />にある、Server to ClientのトコのBLEDevice::onDataSentに関して書かれている箇所がありますが、そのチョイ下に大体こんな感じで・・・・っていうのが載ってます。<br /><br />自分も先ほどやっとこさNotificationをやってみて、上記のドキュメントを「やっと」読みました・・・。orz<br /><br />onDataSent Callbackを使用すれば、コネクション・インターバルの速さでデータを通知することが出来るので、そちらの方が適切かも知れません。<br /><br />https://developer.mbed.org/users/mbed_tw_hoehoe/code/BLE_Nano_MPU9250/<br />こちらに私の拙いサンプルを更新してありますので・・・。ご参考になれば・・・。<br />ならないかも知れませんが・・・。orz<br /><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2839820610767436198.post-64804386213731901482015-06-02T09:35:31.881+09:002015-06-02T09:35:31.881+09:00ご指摘ありがとうございます。
この部分を気づかれるということは、実際にmbed コードをお試し頂けた...ご指摘ありがとうございます。<br />この部分を気づかれるということは、実際にmbed コードをお試し頂けたというですね、ありがとうございます。<br />こちらの公開フォルダ取り違え原因でしたので、先ほど修正を行いました。Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2839820610767436198.post-61966041886220521572015-06-01T19:50:41.911+09:002015-06-01T19:50:41.911+09:00mbedのNotificationとIndicationのソースコードのリンクが逆になってません?
...mbedのNotificationとIndicationのソースコードのリンクが逆になってません?<br />Anonymousnoreply@blogger.com