I've uploaded a repository for the Texas Instrument SensorTag CC2650. I updated the open source TI repository, which can be found here.
Due to licensing restrictions (I do not know which ones) Texas Instruments was no longer able to keep the open source code in sync with the SensorTag application in Google Play. That means, the new version in Google Play has more features than this one. But this is open source, and can be modified and extended! I am planning to collect the sensor data and publish on a Google Cloud IoT PubSub topic.
The new code can be found here:
Code: https://goo.gl/ZcUkA2 UPDATE: 16.06.2018: The application is also working on Android 8.1 (see here).
Hardware & Software
I added the following main modifications:
- In the file
MainActivity.java
the following function and callback were modified for compatibility:private boolean scanLeDevice(boolean enable)
private ScanCallback mLeScanCallback = new ScanCallback()
boolean checkDeviceFilter(String deviceAddr)
- In the file
strings.xml
:<string-array name="device_filter"><item>B0:B4:48:</item></string-array>
The MAC address
B0:B4:48:
corresponds to Texas Instruments vendor.- In the file
We use cookies to improve our services. Read more about how we use cookies and how you can refuse them.
Sal Torre 05.30.2018
My SensorTag shows up as 68:69:0B:04:35:87. What do I need to change the device_filter to, to get the app to see my SensorTag? Thanks.