How to use Bluetooth in cocos2d-x

I am writing a game want to use bluetooth to Battle. It supports android and ios. anyone knows?
thx.

I’m too looking for bluetooth with cocos2d. Still looking…

However, I can assure you that you can’t mix iOS and Android Bluetooth’s. Apple blocks that, even if Bluetooth protocols allow it.

You can, however, use bluetooth for Android-Android or iOS-iOS.

@orlando2bjr Thank you very much!