adding api to add read and write methods to characteristic profile