Transfer data from android to mbed

I am using hexiwear and I am developing an app in android studio.
There is a way to send data from hexiwear to android.
I want to know how to send data from android to hexiwear.

I tried to use socket, but when I import and compile I get an error.

Hello,

I do not have this piece of hardware, but there seems to be only one possible connection - bluetooth. However, Mbed does not support it natively, I think.

Maybe you can try old example Hexi_BLE_Example - Hexiwear Bluetooth Low Energy Example. The device… | Mbed

Code - Hexiwear | Mbed

BR, Jan