RN4020 Based project

Hi, I am looking to interface a push button with RN4020 Bluetooth module and send the command to a mobile phone in an app, I have already implemented it on Arduino IDE, Can anyone who is experienced in working tell me how to use the same code on RN4020 using scripting or any other method of achieving the same result without using Arduino.