I have posted complete instructions about how to use Bluetooth to control Gpios. I first configured Bluetooth for SPP and the magic happened. All links are as follows:
I have updated the code a little bit. I’ll update my github. Thanks!