Version: Smart Feature Phone 3.0
BluetoothGattServer.sendResponse
Description#
The method sends a response of a read or write request to a remote LE device.
Syntax#
Parameters#
addressThe address of remote LE device to notify.statusThe status of the request to reply. 0 for successful reply, otherwise, please see Bluetooth Core Specification vol 3, part F, 3.4.1.1 for defined error status codes.requestIdThe ID of the request to reply.
Return value#
A Promise to indicate whether the operation is resolved or rejected.