mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Bug 1228519 - Fix RequestReadNotification for GATT Server API. r=brsun
This commit is contained in:
parent
a84e009ffd
commit
963cd9f23f
@ -3687,7 +3687,7 @@ BluetoothGattManager::RequestReadNotification(
|
|||||||
AppendNamedValue(properties, "AttrHandle", aAttributeHandle);
|
AppendNamedValue(properties, "AttrHandle", aAttributeHandle);
|
||||||
AppendNamedValue(properties, "Address", bdAddrStr);
|
AppendNamedValue(properties, "Address", bdAddrStr);
|
||||||
AppendNamedValue(properties, "NeedResponse", true);
|
AppendNamedValue(properties, "NeedResponse", true);
|
||||||
AppendNamedValue(properties, "Value", new nsTArray<uint8_t>());
|
AppendNamedValue(properties, "Value", nsTArray<uint8_t>());
|
||||||
|
|
||||||
bs->DistributeSignal(NS_LITERAL_STRING("ReadRequested"),
|
bs->DistributeSignal(NS_LITERAL_STRING("ReadRequested"),
|
||||||
server->mAppUuid,
|
server->mAppUuid,
|
||||||
|
Loading…
Reference in New Issue
Block a user