I want to call a static function from another C file. But it always show \"function\" used but never defined.
\"function\" used but never defined
In ble.c
You get this message because you have declared the function to be static. So the implementation is only visible inside your .c file. Try removing the static from both your .h and .c, this should allow your function to be seen.