Hello,
Is it possible to send as central (and data server) one notification to all connected peripherals at once? Or is it necessary to send notification to every peripheral separately?
The thing is that Central has a service and characteristic with notification and Peripherals handle this characteristic. If something changed on Central it sends notification to all peripherals.
I use pc-ble-driver v0.5 with nRF51 dongle as central and write an application in C to handle multiple peripherals.
I am able to send notification to every peripheral separately using
sd_ble_gatts_hvx(p_dev->conn_handle, &hvx_params);
But if I try to use BLE_CONN_HANDLE_ALL like follows
sd_ble_gatts_hvx(BLE_CONN_HANDLE_ALL, &hvx_params);
I get error 0x3002 (BLE_ERROR_INVALID_CONN_HANDLE)
Mike