sandeepmistry / arduino-BLEPeripheral

An Arduino library for creating custom BLE peripherals with Nordic Semiconductor's nRF8001 or nR51822.
MIT License
463 stars 180 forks source link

how to make HID work with both andriod and ios #201

Closed cheeta1 closed 6 years ago

cheeta1 commented 6 years ago

hi there, i want to use ble keyboard with andriod and ios both but the problem is that it only works with one. if i add following segment then it works with andriod

ifdef ANDROID_CENTRAL

bleHIDPeripheral.setReportIdOffset(1);

endif

if i remove it then it works with ios. please tell me how can i solve this problem?

thanks