InfiniTime/src/libs/mynewt-nimble/apps
Jean-François Milants d90b7274fa Update to nimble 1.3 master branch commit 82153e744833821e20e9a8b0d61c38b2b0dbcfe1
WARNING : heartbeat task is disabled!
2021-02-02 22:09:00 +01:00
..
advertiser Add Nimble in libs directory 2020-04-26 10:25:59 +02:00
blecent Add Nimble in libs directory 2020-04-26 10:25:59 +02:00
blecsc Add Nimble in libs directory 2020-04-26 10:25:59 +02:00
blehci Add Nimble in libs directory 2020-04-26 10:25:59 +02:00
blehr Add Nimble in libs directory 2020-04-26 10:25:59 +02:00
blemesh Update to nimble 1.3 master branch commit 82153e744833821e20e9a8b0d61c38b2b0dbcfe1 2021-02-02 22:09:00 +01:00
blemesh_light Update to nimble 1.3 master branch commit 82153e744833821e20e9a8b0d61c38b2b0dbcfe1 2021-02-02 22:09:00 +01:00
blemesh_models_example_1 Update to nimble 1.3 master branch commit 82153e744833821e20e9a8b0d61c38b2b0dbcfe1 2021-02-02 22:09:00 +01:00
blemesh_models_example_2 Update to nimble 1.3 master branch commit 82153e744833821e20e9a8b0d61c38b2b0dbcfe1 2021-02-02 22:09:00 +01:00
blemesh_shell Update to nimble 1.3 master branch commit 82153e744833821e20e9a8b0d61c38b2b0dbcfe1 2021-02-02 22:09:00 +01:00
bleprph Add Nimble in libs directory 2020-04-26 10:25:59 +02:00
blestress Update to nimble 1.3 master branch commit 82153e744833821e20e9a8b0d61c38b2b0dbcfe1 2021-02-02 22:09:00 +01:00
btshell Update to nimble 1.3 master branch commit 82153e744833821e20e9a8b0d61c38b2b0dbcfe1 2021-02-02 22:09:00 +01:00
bttester Update to nimble 1.3 master branch commit 82153e744833821e20e9a8b0d61c38b2b0dbcfe1 2021-02-02 22:09:00 +01:00
central Update to nimble 1.3 master branch commit 82153e744833821e20e9a8b0d61c38b2b0dbcfe1 2021-02-02 22:09:00 +01:00
ext_advertiser Add Nimble in libs directory 2020-04-26 10:25:59 +02:00
mesh_badge Update to nimble 1.3 master branch commit 82153e744833821e20e9a8b0d61c38b2b0dbcfe1 2021-02-02 22:09:00 +01:00
peripheral Add Nimble in libs directory 2020-04-26 10:25:59 +02:00
scanner Add Nimble in libs directory 2020-04-26 10:25:59 +02:00
README.md Update to nimble 1.3 master branch commit 82153e744833821e20e9a8b0d61c38b2b0dbcfe1 2021-02-02 22:09:00 +01:00

Sample applications

advertiser

This is the simplest example of advertising. Application sets NRPA, configures advertisement parameters: general discoverable and not connectable and fills advertisement fields. Transmited data contains only flags, tx power level and device name, which fits in 31B limit of single package. With this data set, device advertises for 10 seconds, terminates advertisement and repeats process again infinitely.

scanner

This application shows how to perform simple scan. Device performs discovery procedure, during which receives advertising reports (if any devices are advertising nearby). These reports are being parsed and results are printed to serial port. Applicaton starts new discovery every second.

peripheral

Peripheral application is based on advertiser, but has added capability of connecting with other devices. As peripheral, device doesn't initiate any connection by itself; instead, advertises infinitely and accepts any connection request it receives. Because we cannot use any 16 or 32 bit UUIDs, as these are reserved by Bluetooth SIG, we are forced to use 128-bit one. Including such long UUID in advertising data consumes large part of available payload, so this data is split in advertising data and response data.

central

This application works in pair with peripheral. It's based on scanner application - the difference is, that if there was detected device with UUID fitting to the one predefined in central application, connection is initiated.