minor refactor, fixed to unssafe part with an ugly workaround and divided transmit_ble_adv into two functions
minor refactor, fixed to unssafe part with an ugly workaround and divided transmit_ble_adv into two functions

tock/libtock-c,tock/libtock-c,tock/libtock-c