Dann musst Du herausfinden, ob der BT-Stack das Profil für serielle
Kommunikation unterstützt, und ob es zulässig ist (im Rahmen der
Einschränkungen für im AppStore veröffentlichte Apps), darauf
zuzugreifen.
Wikipedia meint das hier:
1 | All iPhones support HFP and PBAP. Version 3.0 of the operating
|
2 | system added support for A2DP, limited AVRCP and PAN for
|
3 | iPhone 3G/3GS and iPod Touch 2nd/3rd generation only.
|
4 | Original iPhone (iPhone 2G) bluetooth chip can provide A2DP as
|
5 | well, but Apple decided not to enable it. However, A2DP can be
|
6 | enabled in a jailbroken iPhone 2G by a special utility.
|
HFP - hands free profile (Freisprechen)
PBAP - phone book access profile
A2DP - advanced audio distribution profile
AVRCP - audio video remote control profile
PAN - personal area networking profile
Was Du bräuchtest, wäre SPP.
Möglicherweise lässt sich mit PAN etwas erreichen, das aber erfordert
wohl etwas mehr Aufwand auf der "Sensor"-Seite.
Eine andere Möglichkeit bestünde in einem dedizierten
WLAN-zu-BT-Umsetzer, der einen Netzwerkzugriff auf die BT-Sensoren
ermöglicht.