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

How to embed an URL in the bluetooth packet?

Hey,

I have a requirement to launch google play store/ installed app in an Android/ IOS mobile upon pairing of the nrf51822 with a mobile.

So can anyone help me out in letting me know:

  1. What are the things do be done in the bluetooth device (nrf51822, configuration/ settings)?
  2. What kind of bluetooth packet needs to be sent to launch play store if my app is not installed?

Basically I want to understand how to embed URL's in a bluetooth packet.

I am working with SDK 6 and S110 7.1.0

Thank you!

Parents
  • Have you looked into creating a URIBeacon? This is similar to what you are trying to accomplish although I'm not sure about having it launch the play store app. It transmits a URI in its advertisement data and your app can translate that and launch the URI. The Nordic Master Control Panel app for android devices, available on the play store, supports the URIBeacon spec and might help you accomplish this task. There is example code on Google's github page for the that should get you started.

    github.com/.../nRF51

    Hope this helps!

Reply
  • Have you looked into creating a URIBeacon? This is similar to what you are trying to accomplish although I'm not sure about having it launch the play store app. It transmits a URI in its advertisement data and your app can translate that and launch the URI. The Nordic Master Control Panel app for android devices, available on the play store, supports the URIBeacon spec and might help you accomplish this task. There is example code on Google's github page for the that should get you started.

    github.com/.../nRF51

    Hope this helps!

Children
Related