Arm Mbed OS support forum

BLE Client-Server


I am trying to update a program, which implements a ble gatt client. In this program, the command startAdvertising was being used to make the device visible and start the advertising, but there is a warning which says that startAdvertising(advertising_handle_t, adv_duration_t, uint8_t) should be used instead. Can anyone tell me how to define the parameters for this function??
Or maybe, even better, because there some more warnings in my code, does anyone know any updated examples to implement a server-client connection (I am using the Nordic nRF52 Development Kit).

Thank you very much!!

Hi Gerasimos,

Not sure which program you are using, have you checked this repo, which provides a collection of BLE example applications based on mbed OS.