Are there any API or interfacing documents available for the BT stack in case we want to write our own firmware?

Answer

If you decide to write your own application or firmware, you must register with Nordic to receive their tools and SDK. All on-going support, in that case, would also need to come from Nordic. Once Laird’s smartBASIC image is erased, we are no longer able to provide support for the module.