jerryscript-project / iotjs

Platform for Internet of Things with JavaScript http://www.iotjs.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What's the status of BLE(Bluetooth Low Energy) Support?

ziransun opened this issue · comments

Hi,

Is it okay to let me know the status of BLE? What OSs and boards does it support? And any instruction on setting up?

Thanks!

Ziran

@ziransun Currently BLE is tested on rpi only. But I believe it will work on linux based system with a little effort. For tizenrt/artik053 and nuttx/stm32f4, we don't support BLE yet since we don't have BLE native support for that platforms.

@glistening Thanks very much for your reply. Just to confirm - Did you mean BLE tested on rpi for both Central and peripheral modules? And is it okay to point any instructions on building BLE support for rpi?

@ziransun We support BLE peripheral only, and we ported bleno into iotjs.

@ziransun

  1. make a new profile for BLE enabled.
$ cp profiles/default.profile profiles/ble.profile
$ echo "ENABLE_MODULE_BLE" >> profiles/ble.profile
  1. build iotjs
./tools/build.py --target-arch=arm --target-board=rpi2 --profile=profiles/ble.profile