don / cordova-plugin-ble-peripheral

Apache Cordova plugin for implementing BLE (Bluetooth Low Energy) peripherals.
Other
31 stars 31 forks source link

Central & Peripheral dual-role #1

Closed awellig closed 7 years ago

awellig commented 8 years ago

I need to be able to support a dual GAP role scenarios, i.e. the device can be both a Central and a Peripheral. For that reason I included both cordova plugins: "cordova-plugin-ble-peripheral" and "cordova-plugin-ble-central". Unfortunately, the Phonegap build process results in a duplicate symbol error:

_duplicate symbol dataToArrayBuffer in: /project/build/Microfence.build/Release-iphoneos/Microfence.build/Objects-normal/armv7/BLEPeripheralPlugin.o /project/build/Microfence.build/Release-iphoneos/Microfence.build/Objects-normal/armv7/CBPeripheral+Extensions.o

Any chance to change the naming conventions, or do enhance the ble-central library with advertising capabilities?

don commented 7 years ago

Fixed by #3