Grant bluetooth permission for process run from daemon service on Mac 11

I have a program running as daemon service. this program uses bluetooth to communicate with hardware devices.
It works well on Mac 10.15 but can not scan bluetooth devices on Mac 11. As I understand, from Mac 11, user need to grant access for application that want to use bluetooth.
But I tried many ways but our program still can not work with bluetooth.

You may need to grant the application access to bluetooth under which your service runs (runtime). This can be done via System Preferences > Security & Privacy > Privacy > Bluetooth.

I had a similar issue for a daemon that runs via node js. I ended up granting permission to /usr/local/bin/node and that fixed my issue.

Grant bluetooth permission for process run from daemon service on Mac 11
 
 
Q