crownstone / bluenet-example-android

An android project providing a simple example of how to use the blunet library for android
1 stars 0 forks source link

No pwm characteristic found #1

Closed jeroenknoester closed 8 years ago

jeroenknoester commented 8 years ago

Wanneer ik de crownstone selecteer toast het "No PWM characteristic found on this device". Daarna gaat de applicatie naar zijn beginscherm. img_8067

img_8068 Hoe kan ik deze fout verhelpen?

eggerdo commented 8 years ago

Hey, we are currently in a big update, so you probably got the new version of the android library and example project. To fix that, please checkout the following tags

  1. bluenet-lib-android cd <bluenet-lib-android path> git checkout -b v0.2.1
  2. bluenet-example-android cd <bluenet-example-android path> git checkout -b v0.0.1

Then first select Build > Clean Project in the Android Studio and try to run it again.

jeroenknoester commented 8 years ago

Hi, we ran the commands but still got the same problem.

eggerdo commented 8 years ago

Ok then I need some more info from you to debug your problem:

  1. Download the NRF Master Control Panel. Then using that app, scan for devices and connect to your device. Make a screenshot of the discovered services and paste it here.
  2. In Android Studio, open the Android Monitor (with you phone connected to the computer) run the example app, try to connect, and copy paste everything between D/nl.dobots.bluenet.ble.core.BleCore: Discovering services ... and D/nl.dobots.bluenet.ble.extended.BleExt: ... discovery done in a file and attach it here.

If you prefer you can also send it to dominik@almende.org instead of putting it here.

eggerdo commented 8 years ago

Oh well, the tag of the library was wrongly set too, please repeat again the following steps, before you follow my second post:

cd <bluenet-lib-android path> git checkout master git branch -D v0.2.1 git checkout -b v0.2.1