I am using SimpleBLEPeripheral as a reference code for understanding the Stack. I am able to create my own characteristic by modifying simpleGattProfile.c file. Now I want to change the Tx power level of the node using this characteristic. (HCI command would be appropriate for that) but I am not getting where to edit and how to set the event in Osal layer so that when I write new characteristic value (one byte value let's say 1 for -23DBm power and 2 for -6DBm power) the TX power will change. Please guide me. Any kind of help would be useful.
Thanks