You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mynewt.apache.org by Christopher Collins <cc...@apache.org> on 2016/11/12 03:11:42 UTC

1.0.0-b1 BLE testing

Hello all,

I did some BLE testing for the upcoming release (test plan is here:
https://cwiki.apache.org/confluence/display/MYNEWT/Apache+Mynewt+Test+Plan).
Everything seems to be good.  There were a few issues that were
identified and fixed during testing; the below results correspond to
what is currently in the release branch (1_0_0_b1_dev).

In the below listings, the units under test and peer devices are
indicated on the far left of each result line.

Thanks,
Chris

-----------

bleprph
    * Units under test:
          nRF51dk   1
          nRF52dk   2

    * Peer devices:
          iphone    i
          osx       o
          galaxy    g

    Steps:
        [Peer devices: iPhone/LightBlue, OSX/LightBlue, Galaxy/BleDebugger]
        * Central connects and disconnects several times; ensure:
1 og|2iog       bleprph does not crash 
1 og|2iog       bleprph immediately resumes advertising after disconnect
    |2n         Central initiates secure-connections just-works pairing

1 og|2iog Central initiates legacy just-works pairing
1 og|2iog Central restores encrypted connection via bonding

-----------

bletiny
    * Units under test:
        nRF51dk     1
        nRF52dk     2

    * Peer devices:
        iphone      i
        osx         o
        galaxy      g
        mynewt      m

Steps
    bletiny as peripheral
1   |2          Peripheral performs undirected advertising
1   |2iog       Central pairs with peripheral
1   |2iog       Central restores encrypted connection via bonding
1iog|2iog       Central reads characteristic
1iog|2iog       Central writes characteristic
1iog|2iog       Central enables indications
1iog|2iog       Peripheral sends indication when characteristic changes
1iog|2iog       Two centrals connect to peripheral

    bletiny as central
1im |2im        General connection establishment procedure
1im |2im        Service discovery
1   |2im        Central pairs with peripheral
1   |2im        Central restores encrypted connection via bonding
1im |2im        Central reads characteristic
1im |2im        Central writes characteristic
1im |2im        Central enables indications
1im |2im        Central connects to two peripheral

-----------

blehci
    * Units under test
        nRF51dk     1
        nRF52dk     2

    * Peer devices:
        BlueZ-Linux b

Steps
1b  |2b         Connect to a third-party device (either master or slave).
1b  |2b         Send some data (e.g., service discovery).
1b  |2b         Ensure connection stays up.