Commit graph

805 commits

Author SHA1 Message Date
Rohit Grover 84f434a994 Fix compiler warnings due to header includes.
Some header include paths have diverged between mbed OS and mbed-classic.
2015-10-23 14:34:25 +01:00
Rohit Grover 4c76373579 Merge pull request #79 from andresag01/develop
Introduced fix for defect IOTSFW-1058
2015-10-22 11:25:56 +01:00
Andres Amaya Garcia f8e3d2f44c Introduced fixes after review
Introduced fixes after review of previous commit with regards to JIRA defect
2015-10-22 11:05:00 +01:00
Andres Amaya Garcia 18dcc91382 Introduced fix for defect IOTSFW-1058
Introduced a fix for defect IOTSFW-1058 that caused the
BLE_EddystoneBeaconConfigService example in ARMmbed/ble-examples repo to fail.
Refer to JIRA defect for more details.
2015-10-21 15:02:37 +01:00
Bogdan Marinescu 0e54ba6c70 version v1.0.0 2015-10-19 16:17:06 +03:00
Bogdan Marinescu df8a41c80a Updated dependencies 2015-10-19 16:17:06 +03:00
Rohit Grover ad80d1c1ce Merge pull request #76 from pan-/master
Add st-ble-shield as a possible target dependency.
2015-10-12 09:32:33 +01:00
Vincent Coubard df088f57aa Add st-ble-shield as a possible target dependency. 2015-10-09 14:58:16 +01:00
xcrespo 13a9c192d7 New call to onDisconnection callback in LinkLossService 2015-10-05 10:38:08 +02:00
xcrespo da2b104e16 Added license header for EnvironmentalService 2015-10-05 10:38:08 +02:00
Xabi Crespo f0f42d110b Support for Environmental Service (temperature, pressure and humidity characteristics) 2015-10-05 10:38:08 +02:00
Rohit Grover d43b1d1a8b update LinkLoss service due to recent changes in APIs 2015-09-29 12:58:14 +01:00
Rohit Grover 8694f1ade2 Merge branch 'develop' 2015-09-29 09:38:51 +01:00
Rohit Grover 91239f6b7c Release 0.4.8

* Introduce an Instance() class method to BLE to allow access to the BLE
  singleton(s) using instanceID. Calling BLE::Instance() is preferable to
  constructing a BLE object directly because Instance() returns references to
  internally created singletons.

* We've added an initial prototype for a yotta-config based initialization for BLE transports.

  It is conceivable to have multiple BLE transports available to a system
  concurrently in which case Instance() can be passed an instanceID.
  There's also a BLE::NUM_INSTANCES--instanceID passed to Instance() should be
  less than NUM_INSTANCES for the returned BLE singleton to be useful.

  The config system now allows the target to specify multiple BLE instances.
  BLE::Instance() and BLE constructor rely upon a static array of initializers
  to create actual BLE transport instances. A description of these instances
  and initializers is supposed to be put in some .json file contributing to
  yotta's configuration (typically the target.json). Here's a sample:

  "config": {
    "ble_instances": {
      "count": 1,
      "0" : {
        "initializer" : "createBLEInstance"

  Refer to
  Note: The configuration system is currently experimental. Some of the
  behaviour described below may change in backwards-incompatible ways with
  minor updates to yotta.

  The use of this feature is optional. Initialization would continue to work
  like before as long as there is a default createBLEInstance() method

* We've updated our support for Google's Eddystone beacon by adding the EddystoneConfigService.

* Added onConnection() and onDisconnection() now append to a callback chain internally.
  Please note that this has also changed the callbackType for onDisconnection; resulting in a minor breaking change for API.
  All previous programs using onDisconnection() would need to adapt.

* Handle the case of a NULL transport pointer for BLE.

* We now disallow copy constructor and assignment operator for BLE.
2015-09-29 09:37:40 +01:00
Rohit Grover 7d5415ada2 Merge work for Eddystone Config Service into develop 2015-09-29 08:42:23 +01:00
Rohit Grover 5aa7895578 mostly white-sapce improvements 2015-09-29 08:41:18 +01:00
Austin Blackstone d389c42692 patch to ensure corred UUID being broadcast during Config. 2015-09-28 13:56:41 -05:00
Austin Blackstone 1811f21091 updated eddystone service and added config service. 2015-09-25 16:17:14 -05:00
Rohit Grover 7bbdbd0985 Merge pull request #72 from marcuschangarm/develop
Changed onConnection and onDisconnection to accept object/methods and…
2015-09-21 13:23:17 +01:00
Marcus Chang dd032631d7 Changed onConnection and onDisconnection to accept object/methods and merged them with the addTo-callchain. All calls to onConnection and onDisconnection will now be added to a call chain. 2015-09-17 11:38:14 +01:00
Rohit Grover 2c421951cb minor improvement to a comment header. 2015-09-08 10:35:13 +01:00
Rohit Grover c6dcbfc670 allow createBLEInstance to be overridable. 2015-09-08 10:33:57 +01:00
Rohit Grover 63f54814bd Merge pull request #71 from rgrover/develop
adding an initial prototype for a yotta-config based initialization f…
2015-09-08 10:19:52 +01:00
Rohit Grover cc3db8500c minor improvement to comment header for GattServer::onDataRead() 2015-09-08 10:11:39 +01:00
Rohit Grover 984266ee8a oops. typo. 2015-09-07 15:24:28 +01:00
Rohit Grover ce4821076f handle the case of a NULL transport pointer for BLE. 2015-09-07 14:55:02 +01:00
Rohit Grover ad8e92acd5 adding an initial prototype for a yotta-config based initialization for BLE transports 2015-09-07 14:55:02 +01:00
Rohit Grover a462757a6c disallow copy constructor and assignment operators for BLE. 2015-09-07 14:10:35 +01:00
Rohit Grover 4c2aac540d Merge branch 'master' into develop 2015-09-07 14:08:48 +01:00
Rohit Grover 715d0746bb adding LICENSE at the top level 2015-09-03 13:22:34 +01:00
Rohit Grover 7198945fb5 Adding LICENSE at the top level. 2015-09-02 11:04:21 +01:00
Rohit Grover 3f2f94ec1b update comment header for Gap::updateConnectionParams() 2015-09-01 12:52:31 +01:00
Rohit Grover 626c551477 minor improvement to comments for AuthCallbackParams. 2015-09-01 12:52:31 +01:00
Rohit Grover 3b01f2a250 Merge branch 'marcuschangarm-master' into develop 2015-09-01 12:51:08 +01:00
Marcus Chang 6f960cbecd Gap.h - Added onConnection callback chain simarly to the currently present onDisconnection callback chain. 2015-08-30 18:00:19 +01:00
Rohit Grover eb2130f7a6 Release 0.4.7

* Depend on an updated version of nRF51822 which provides event handling
  through the mbed OS scheduler. As a result, all mbed-OS BLE event handling
  now happens in thread mode.

* minor: use "mbed-os" to select the target dependency on mbed-drivers. This
  allows bbc-micro builds.
2015-08-13 11:20:21 +01:00
Rohit Grover 5bf17c0e7c version v0.4.7 2015-08-13 11:10:40 +01:00
Rohit Grover 8de531a7b5 depend on an updated version of nRF51822 which provides event handling through minar. 2015-08-13 11:08:32 +01:00
Rohit Grover 9d7a7568b8 Use mbed-os as a target dependency.
This will be provided by the target configs.
2015-08-13 11:03:28 +01:00
Rohit Grover 603dae3166 Release 0.4.6


* Add connection handle to GATT callback parameters. This paves the way for
  applications requiring multiple concurrent connections: read/write/HVX
  callbacks will be able to distinguish between peripherals by comparing per-
  device connection handles.

* Revert to an older, working version of eddystone. This is temporary, and
  will only help with demos. We will provide a mature Eddystone offering
2015-08-11 15:03:37 +01:00
Rohit Grover d5c5335fce version v0.4.6 2015-08-11 15:03:16 +01:00
Rohit Grover a15780a712 require 0.4.6 of nRF51 because of the implementation of connHandle field in callbacks. 2015-08-11 14:55:13 +01:00
Rohit Grover f5fb089d00 white space diffs. 2015-08-11 14:14:32 +01:00
Rohit Grover 8394e33e59 Add a connHandle field to most gattClient callbacks.
Merge branch 'jpbrucker-GattCB_conn_handle' into develop.
This should help applications with multiple concurrent connections.
2015-08-11 14:04:04 +01:00
Rohit Grover a59e1ee07b Merge branch 'GattCB_conn_handle' of into jpbrucker-GattCB_conn_handle 2015-08-11 14:02:51 +01:00
Rohit Grover eec3f3518f URIBeaconConfigService: move declarations of some local variables closer to their use. 2015-08-11 13:51:26 +01:00
Rohit Grover 1b265c4e3d minor cosmetic change to the comment header for GapAdvertisingParams. 2015-08-11 13:50:31 +01:00
Jean-Philippe Brucker 99c7253051 Add connection handle in Gatt callback parameters
This commit paves the way for multiple device implementation:
read/write/HVX callbacks will be able to distinguish between
peripherals by comparing per-device connection handles.
2015-08-11 11:37:08 +01:00
Rohit Grover 3f3ceebeba Merge branch 'BlackstoneEngineering-eddystoneUpdate' into develop 2015-08-11 07:41:20 +01:00
Rohit Grover 3e2ef66dc2 Merge branch 'eddystoneUpdate' of into BlackstoneEngineering-eddystoneUpdate 2015-08-11 07:41:07 +01:00