Commit Graph

778 Commits

Author SHA1 Message Date
Rohit Grover 57654dba72 version v2.0.5 2015-11-16 14:48:53 +00:00
Rohit Grover e2555c7dd5 Merge branch 'iriark01-master' into develop 2015-11-16 14:38:46 +00:00
Rohit Grover 4ca38f969f Merge branch 'master' of https://github.com/iriark01/ble into iriark01-master 2015-11-16 14:38:27 +00:00
Rohit Grover 562aa49e13 delete an incorrect comment from the documentation in Gap.h 2015-11-16 13:48:47 +00:00
Irit Arkin 45589c11d2 New version
Based on the main repo's master version, with edits to the API.
2015-11-16 13:47:38 +00:00
Irit Arkin 249c58db58 New version
Based on the main repo's master version, with edits to the API.
2015-11-16 13:47:05 +00:00
Irit Arkin 8c28732408 New version
Based on the main repo's master version, with edits to the API.
2015-11-16 13:46:37 +00:00
Irit Arkin e4a6b63fcb New version
Based on the main repo's master version, with edits to the API.
2015-11-16 13:46:07 +00:00
Irit Arkin f5b850fb55 New version
Based on the main repo's master version, with edits to the API.
2015-11-16 13:45:37 +00:00
Rohit Grover e31c2ef54e delete an obsolete Note from the documentation in Gap.h 2015-11-16 13:44:29 +00:00
Irit Arkin 3b89792adb New version
Based on the main repo's master version, with edits to the API.
2015-11-16 13:26:44 +00:00
Irit Arkin a1abee2769 New version
Based on the main repo's master version, with edits to the API.
2015-11-16 13:26:09 +00:00
Irit Arkin 9008a70792 New version
Based on the main repo's master version, with edits to the API.
2015-11-16 13:25:39 +00:00
Irit Arkin 737d0e845a New version
Based on the main repo's master version, with edits to the API.
2015-11-16 13:25:02 +00:00
Irit Arkin ac28368019 New version
Based on the main repo's master version, with edits to the API.
2015-11-16 09:54:50 +00:00
Irit Arkin 842a970bb3 New version
Based on the main repo's master version, with edits to the API.
2015-11-16 09:54:13 +00:00
Irit Arkin dfb4bacd07 New version
Based on the main repo's master version, with edits to the API.
2015-11-16 09:53:40 +00:00
Irit Arkin cb039a4336 New version
Based on the main repo's master version, with edits to the API.
2015-11-16 09:51:46 +00:00
Irit Arkin f0b7da3b4b New version
Based on the main repo's master version, with edits to the API.
2015-11-16 08:47:44 +00:00
Irit Arkin c39f5f7fd4 New version
Based on the main repo's master version, with edits to the API.
2015-11-16 08:46:13 +00:00
Irit Arkin 042c89746c New version
Based on the main repo's master version, with edits to the API.
2015-11-16 08:45:48 +00:00
Irit Arkin 32f2acb55b New version
Based on the main repo's master version, with edits to the API.
2015-11-16 08:45:10 +00:00
Irit Arkin dba18f9deb New version
Based on the main repo's master version, with edits to the API.
2015-11-16 08:44:46 +00:00
Irit Arkin 648f9fc5b0 New version
Based on the main repo's master version, with edits to the API.
2015-11-16 08:44:17 +00:00
Irit Arkin f026284cb3 New version
Based on the main repo's master version, with edits to the API.
2015-11-16 08:43:56 +00:00
Irit Arkin 216f73bc51 New version
Based on the main repo's master version, with edits to the API.
2015-11-16 08:42:17 +00:00
Rohit Grover 34c8447a63 version v2.0.4 2015-11-13 08:20:21 +00:00
Rohit Grover df4d29177e Merge branch 'iriark01-patch-1' into develop 2015-11-13 08:11:14 +00:00
Irit Arkin e3f18f6a37 Edits
Typos etc.
2015-11-12 15:39:09 +00:00
Rohit Grover 6ce2094ea8 Merge branch 'develop' 2015-11-03 13:19:43 +00:00
Rohit Grover 73559d3bef version v2.0.3 2015-11-03 13:18:50 +00:00
Rohit Grover c6130f4877 fix missing return from BLE::init() 2015-11-03 13:18:33 +00:00
Rohit Grover 2d0cbf0bbb Release 2.0.2
=============

* BLE::init() should also be able to take a <object,member> tuple.
2015-11-03 12:36:45 +00:00
Rohit Grover 2d6aade713 version v2.0.2 2015-11-03 12:33:35 +00:00
Rohit Grover 8d38842d3d Merge pull request #97 from rgrover/develop
BLE::init() should also be able to take an <object, member> tuple for its callback
2015-11-03 12:33:11 +00:00
Rohit Grover 43e7e93db9 add a comment header for initImplementation 2015-11-03 12:31:49 +00:00
Rohit Grover 8fab6bf863 remove extra qualification 'BLE::' on member 'initImplementation' 2015-11-03 12:29:08 +00:00
Rohit Grover 1f30b48a15 fix the build error resulting from missing template instantiation in the case <object,member> tuple was used for BLE::init() 2015-11-03 11:56:46 +00:00
Rohit Grover aa7e4b2da7 BLE::init() should also be able to take a <object,member> tuple. 2015-11-03 10:55:31 +00:00
Rohit Grover 3cd2c31e10 white space diffs. 2015-11-03 10:55:31 +00:00
Rohit Grover 2a11965b5a Merge branch 'develop'. Minor improvement to EddystoneBeacon. 2015-11-02 17:48:39 +00:00
Rohit Grover 9d92facf33 version v2.0.1 2015-11-02 17:47:55 +00:00
Rohit Grover 1119459b64 Merge pull request #94 from andresag01/develop
Fix beaconPeriod and defaults for voltage/temp
2015-11-02 17:47:06 +00:00
Andres Amaya Garcia 4fe124f203 Use correct not-implemented value for Voltage/Temp 2015-11-02 16:36:18 +00:00
Andres Amaya Garcia 058243f372 Fixed period settings for adv packets
Fixed the period settings for beacon advertisement packets. Changes through
the config service now take effect and defaults can be set through code.
2015-11-02 11:54:29 +00:00
Rohit Grover 9c001d2772 Merge branch 'develop' 2015-11-02 09:00:20 +00:00
Rohit Grover 2f92904fbe Release 2.0.0
=============

* Major change to the APIs around stack initialization. BLE::init() is now
  meant to only trigger the initialization of the underlying BLE stack. init()
  now takes a completion callback as an optional parameter; this callback gets
  invoked when initialization completes.

    - There's a new type: BLE::InitializationCompleteCallback_t

    - There's a new API: BLEInstanceBase::hasInitialized() which transports
      need to implement.

    - If no init-completion callback is setup, the application can still
      determine the status of initialization using BLE::hasInitialized().

    !This update may require in a minor change to existing apps!

    mbed-classic demos would look something like:

    ```
    main() {
        BLE::Instance().init();
        while (!BLE::Instance().hasInitialized()) {
            /* spin wait */
        }

        /* rest of the initialization ending in the waitForEvent loop */

    }
    ```

    whereas mbedOS demos would look like:

    ```
    void bleInitComplete(BLE &ble, ble_error_t error)
    {
        WsfTrace("bleInitComplete");

        if (error != BLE_ERROR_NONE) {
            WsfTrace("initailization failed with error: %u", error);
            return;
        }

        if (ble.getInstanceID() == BLE::DEFAULT_INSTANCE) {
            /* use the BLE instance */
        }
    }

    extern "C" void app_start(int argc, char *argv[])
    {
        BLE::Instance().init(bleInitComplete);
    }
    ```

    The Nordic stack initializes right-away, and so existing demos based on Nordic should continue to work.

* There's a new API: BLE::getInstanceID(), which simply returns the ID of an
  instance.

* Reduce the memory footprint consumed by a FunctionPointerWithContext to 20
  bytes (originally, it was 32 bytes !). Also enforce alignment constraints
  of the embedded pointer to member function. This should help with the size
  of a GattCharacteristic.

* Add EnvironmentalService.h under services/.

* There have been minor improvements to EddystoneService and EddystoneConfigService.

* We've added a CONTRIBUTING.md to help guide user contributions.
2015-11-02 08:52:41 +00:00
Rohit Grover 9eec2467f2 Merge pull #75 into develop 2015-10-30 09:43:29 +00:00
Rohit Grover be09e51698 use types like ReadOnlyGattCharacteristic<TemperatureType_t> 2015-10-30 09:42:56 +00:00
Rohit Grover bdc1ca08cd introduce types for temperature/humidity/pressure. 2015-10-30 09:41:28 +00:00