Building the patch v9 doesn't work for me on b2g...

In file included from
../../../../../gecko-dev/dom/bluetooth/bluetooth2/BluetoothHfpManagerBase.h:10:0,
                 from
../../../../../gecko-dev/dom/system/gonk/AudioManager.cpp:38,
                 from Unified_cpp_dom_system_gonk0.cpp:11:
../../../../../gecko-dev/dom/bluetooth/bluetooth2/BluetoothProfileManagerBase.h:
In member function 'MozExternalRefCountType
mozilla::dom::bluetooth::BluetoothProfileResultHandler::AddRef()':
../../../../../gecko-dev/dom/bluetooth/bluetooth2/BluetoothProfileManagerBase.h:34:50:
error: static assertion failed: Reference-counted class
BluetoothProfileResultHandler should not have a public destructor. Try to
make this class's destructor non-public. If that is really not possible,
you can whitelist this class by providing a HasDangerousPublicDestructor
specialization for it.
   NS_INLINE_DECL_THREADSAFE_REFCOUNTING(BluetoothProfileResultHandler);

On Tue, Apr 21, 2015 at 12:17 PM, Jan Jongboom <[email protected]>
wrote:

> Ah excellent. I was looking for a bug related to this but couldn't find
> it. Great to see that LeScan is getting there. Probably can use that.
> Easier than implementing my own in Fennec.
>
> On Tue, Apr 21, 2015 at 12:00 PM, Jocelyn Liu <[email protected]> wrote:
>
>> Hi Jan,
>>
>> On Tue, Apr 21, 2015 at 4:18 PM, <[email protected]> wrote:
>>
>>> I would like to have Bluetooth beacon support in (at least) Firefox for
>>> Android. In the past week I have been hacking on beacons and I believe
>>> they're gonna be key to connecting the physical world with mobile phones.
>>>
>>> Any discussion in W3C around this yet?
>>>
>>
>> There is an ongoing draft of BLE client API proposed in W3C Web Bluetooth
>> Community Group,
>> and Beacon is out of scope due to privacy risk according to the current
>> spec.
>> Please see section 2.1.6 in
>>
>> https://webbluetoothcg.github.io/web-bluetooth/use-cases.html#usecases_section
>>
>>
>>>
>>> I guess the first iteration of the API could look something like:
>>>
>>> interface BeaconScanner : EventTarget {
>>>   void startScanning();
>>>   void stopScanning();
>>>
>>>   attribute EventHandler onbeaconfound;
>>> }
>>>
>>> interface Beacon {
>>>   readonly attribute DOMString uuid;
>>>   readonly attribute long major;
>>>   readonly attribtue long minor;
>>>   readonly attribute short rssi;
>>> }
>>>
>>> Support is there for Android 4.3+ and for OS/X (at least from what I can
>>> test).
>>>
>>
>> FYI, bluetooth team is also working on BLE client API for Firefox OS,
>> which will expose advertisement data.
>>
>> It's similar to,
>> interface BluetoothAdapter {
>>   Promise<BluetoothDiscoveryHandle> startLeScan();
>>   Promise<void>                                     stopLeScan();
>> }
>>
>> interface BluetoothDiscoveryHandle : EventTarget {
>>   attribute EventHandler ondevicefound;
>> }
>>
>> interface BluetoothLeDeviceEvent : Event {
>>   readonly attribute BluetoothDevice device;
>>   readonly attribute short rssi;
>>   readonly attribute ArrayBuffer scanRecord;
>> }
>>
>> Full documentation is in
>> https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2.
>> LeScan: https://bugzilla.mozilla.org/show_bug.cgi?id=1063444
>>
>>
>>> _______________________________________________
>>> dev-webapi mailing list
>>> [email protected]
>>> https://lists.mozilla.org/listinfo/dev-webapi
>>>
>>
>>
>
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to