問題タブ [lgbluetooth]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
674 参照

ios - CoreBluetooth 読み取り/書き込みデータ

BLE周辺デバイスと通信するためにiOSセントラルを使用しています。

LGBluetooth フレームワークの使用https://github.com/DavidSahakyan/LGBluetooth

メソッドは取得します

「1234567890」を出力します

(char *) [data bytes] を NSInteger に変換する必要があります。手に入れたら

私は2013527536を取得しますが、値は周辺側で1234567890です