This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to put the acceleration sensor data transmitted to the mobile phone via bluetooth?

Thank you very much for your answer! Now I have another question,I'd like to convert the acceleration sensor (MMA8451) acquistion of data via bluetooth to the phone,I don't know what to do,can you answer for me?

Parents
  • For transfering your accelration data to mobile via bluetooth, take a look on ble_app_uart example under S110 experimental for nrf51822 chipset. Port your application to this template, and transfer your accelration data to mobile.

    On mobile, there should be uart service up and running as per nordic uart_app android app. you can change the android app and customize according to your way as desired.

    Other way is you have to work around s110 api(custom service) and gatt stuff to send data via bluetooh to mobile(should be corresponding service with matching UUID for rx and tx) and mobile should also handle it.

Reply
  • For transfering your accelration data to mobile via bluetooth, take a look on ble_app_uart example under S110 experimental for nrf51822 chipset. Port your application to this template, and transfer your accelration data to mobile.

    On mobile, there should be uart service up and running as per nordic uart_app android app. you can change the android app and customize according to your way as desired.

    Other way is you have to work around s110 api(custom service) and gatt stuff to send data via bluetooh to mobile(should be corresponding service with matching UUID for rx and tx) and mobile should also handle it.

Children
No Data
Related