Android Bluetooth SPP with Galaxy S3

前端 未结 2 1820
感动是毒
感动是毒 2021-01-16 09:18

I\'m trying to establish a bluetooth connexion between a Samsung Galaxy S3 running with Android 4.0.3 and a RN 42 Bluetooth Chip, here is the model :

I used lot\'s

2条回答
  •  借酒劲吻你
    2021-01-16 09:36

    Your code seems correct, but as Radu said, the new Bluetooth behaviour si not that good. I did have quite some troubles myself (with Android 4.1+) and finally used BlueTerm as basis for my app, since it is opensource and is working (at least for the connexion part).

    You can find its sources here :
    http://pymasde.es/blueterm/

    I hope it can help you !
    D

提交回复
热议问题