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

Validating configuration of "Location and navigation service"

Hello all,

Thanks to the wonderfull nrf connect android app, I've been able to setup a BLE peripheral to broadcast the standardised service for "Location and navigation":

https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.service.location_and_navigation.xml

In a heartbeat service, the app nicely parses the incoming data when the "parse know characteristics" checkbox is marked. However, this is not the case for the location and navigation service. Is this due to a misconfiguration on my part or a lack of parsing on the side of the app?

And if it is a lack of parsing methods on the side of the app, is there any way that I can get the configuration I've made validated before going into production?

Thank,

Mathias

Parents
  • Hi 

    We don't have special functions in our mobile apps to support the LNS service, that is correct. You can only see the raw data. 

    The official way to test your service implementation is to use Bluetooth Developer Studio, which can be used together with a PTS dongle on the PC to verify that your services follow the specification. 

    If you only want to do a simple verification with a phone app you could try to use some third party app with LNS support, such as this one. This wouldn't guarantee 100% that your service follows the specification, but it is a good indication. 

    Did you use the ble_lns.c implementation in the SDK as a basis for your project, or did you implement everything from the ground up?

    Best regards
    Torbjørn

Reply
  • Hi 

    We don't have special functions in our mobile apps to support the LNS service, that is correct. You can only see the raw data. 

    The official way to test your service implementation is to use Bluetooth Developer Studio, which can be used together with a PTS dongle on the PC to verify that your services follow the specification. 

    If you only want to do a simple verification with a phone app you could try to use some third party app with LNS support, such as this one. This wouldn't guarantee 100% that your service follows the specification, but it is a good indication. 

    Did you use the ble_lns.c implementation in the SDK as a basis for your project, or did you implement everything from the ground up?

    Best regards
    Torbjørn

Children
Related