hi,
in cc2541 sensor tag the left button(s1) connected P0.0 is for advertising start and stop.
after connection establishment when we pressed this button the connection is going to be lost and again it starts advertising.
i want to make changes such that after connection establishment when we press and release this switch it should notify something to master.
please help me where i have to make changes.