I would like to create a program that was a mix of ble_app_multilink_central and peripheral_temperature. The program would work as follows: when the button1 of central is pressed, will receive the temperature of the peripherals.
some tips to elaborate the program?
what functions would I have to use to send the temperature information from the peripheral to the central?
thank you in advance and forgive the inconvenience
you can send notifications sd_ble_gatts_hvx . You need to look at the peripheral examples to see how this is used.