I m trying to modify code of simple_peripheral and simple_central so that when there is any IO operation on simple_peripheral, a data to be sent to central device and based on the data it will take some action. IO interface i could add but i m struck in implementing how data to be sent from peripheral?
Do i need to use GATT_WriteCharValue to send data from simple_peripheral? if so, how to get the write handler?
Need to prove some POC at the earliest to take it further.
Please share any info on how to send data from simple_peripheral to simple_central application? or if any modified code available please do share for reference.
Thanks