lazzaratom
lazzaratom
Hi how can read data from HM-10 BLE device? This is my log: [INFO] : testBluetooth/1.0 (6.2.1.301ffa4) [INFO] : didUpdateState [INFO] : Powered On [INFO] : didDiscoverPeripheral [INFO] : HMSoft...
Hi FizixRichard have you solved?
Hi hansemannn what is the right code for read Characteristic notifications from BLE device? I have 1 service (FFE0) with 1 Characteristic (FFE1). Can you write sample code? Thanks in...
Hi wilson, this is my code (from app.js example): var BLE = require('ti.bluetooth'); var peripheralManager; var win = Ti.UI.createWindow({ backgroundColor : '#fff' }); var btn1 = Ti.UI.createButton({ title : 'Start...
and this is my output: -- Start application log ----------------------------------------------------- [INFO] : testBluetooth/1.0 (6.2.1.301ffa4) [INFO] : didUpdateState [INFO] : Powered On [INFO] : Scanning.... [INFO] : didDiscoverPeripheral [INFO] : HMSoft...
what is wrong?
....this is that my module send: 1999-12-01T10:52:48+10:00 1999-12-01T10:52:48+10:00 1999-12-01T10:52:48+10:00 1999-12-01T10:52:48+10:00 1999-12-01T10:52:48+10:00 1999-12-01T10:52:48+10:00 1999-12-01T10:52:48+10:00 1999-12-01T10:52:48+10:00 1999-12-01T10:52:48+10:00 1999-12-01T10:52:48+10:00 1999-12-01T10:52:48+10:00 1999-12-01T10:52:48+10:00 1999-12-01T10:52:48+10:00 1999-12-01T10:52:49+10:00 1999-12-01T10:52:49+10:00 1999-12-01T10:52:49+10:00 simple timestamp....
i have a simple project where my device (HM-10) send data to mobile (similar serial communication). I need to subscribe service and characteristic (FFE0-->FFE1) and print data. If i use...
This is the code: centralManager.addEventListener('didConnectPeripheral', function(e) { Ti.API.info('Connected to Periperal...'); connectedPeripheral = e.peripheral; connectedPeripheral.addEventListener('didDiscoverServices', function(e) { Ti.API.info('Service Discovery...'); peripheralManager = e.peripheral; Ti.API.info('peripheral has', peripheralManager.services.length, 'service(s)'); peripheralManager.services.forEach(function(service) { // Assign service...
the result is the same