This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

A CoupleQuestions

As you all probably know, I'm new to this and somewhat confused.  I have a couple questions.

1) For starters, I want to be able to alter the SimpleBLEPeripheral slightly so that I can interact with the keyfob's accelerometer.  I want to be able to enable notifications so that when the accelerometer senses movement the keyfob sends a message to the client.  Does this mean I simply have to create a new GATT profile with notify permissions?  Or is there a lot more work to be done?

2) I know BLE is mostly event-based, but is there any way to achieve continuous data transfer?  Once again, I'm interested in interaction with the accelerometer, though this would probably be more advanced than my previous example.

Thanks!

  • I would check the sticky at the top pf the forum. There is a link to keyfobdemo application on our wiki  - which includes source for an accelerometer, battery, and link loss demo. 

    -Greg

  • Thanks!  The keyfobdemo worked great.  Is there a resource that provides more specific information on the accelerometer profile than the wiki page for the keyfobdemo?  The wiki page mentioned that the threshold value is "five" but it did not say if there were units attached to that or what exactly the value provided by the device means.

    Thanks.