How to bluetooth interact between 2 mobile phones

Hi All,

I just moved my game to cocos creator 2.4.2 and wondered if anyone made a connection between 2 mobile phones in Bluetooth and where I should look into it.


I think you have to write codes by yourself in natives platform that you need (android, ios). Then, you can use jsb to call to that codes.
jsb android:
jsb ios:

very helpful!