Right now I have managed to create a BlueTooth advertisement using the code below:
bthci.reset(function(err) print(err or "Ok!") end) bthci.adv.setp