An Spark.io library for creating custom BLE peripherals