Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: arduino/ArduinoCore-arc32
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: aPruner/corelibs-arduino101
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 12 commits
  • 130 files changed
  • 8 contributors

Commits on Aug 31, 2016

  1. Add BLE central function, debug interface and refactor peripheral

    -Add debug interface on Serial1
    -Update BLE stack and need update BLE's FW
    -Reconstruct the BLE peripheral base on V3
    -Implement the BLE Central Role base on V3
    -Implement some sketches for new BLE library
    -Add central read/write example
    -Add set advertising parameter interface
    -Add API to allow set up advertising after setup
    -Add interface to set the device name
    
    File description
    Porting from V3
     system/libarc32_arduino101/common/atomic.h
     system/libarc32_arduino101/common/misc/byteorder.h
     system/libarc32_arduino101/drivers/atomic_native.c
     system/libarc32_arduino101/drivers/bluetooth/att.h
     system/libarc32_arduino101/drivers/bluetooth/bluetooth.h
     system/libarc32_arduino101/drivers/bluetooth/conn.h
     system/libarc32_arduino101/drivers/bluetooth/conn_internal.h
     system/libarc32_arduino101/drivers/bluetooth/gatt.h
     system/libarc32_arduino101/drivers/bluetooth/hci.h
     system/libarc32_arduino101/drivers/bluetooth/uuid.h
     system/libarc32_arduino101/drivers/rpc/rpc.h
     system/libarc32_arduino101/drivers/rpc/rpc_deserialize.c
     system/libarc32_arduino101/drivers/rpc/rpc_functions_to_ble_core.h
     system/libarc32_arduino101/drivers/rpc/rpc_functions_to_quark.h
     system/libarc32_arduino101/drivers/rpc/rpc_serialize.c
     system/libarc32_arduino101/framework/include/util/misc.h
     system/libarc32_arduino101/framework/src/os/panic.c
     system/libarc32_arduino101/framework/src/services/ble/conn.c
     system/libarc32_arduino101/framework/src/services/ble/conn_internal.h
     system/libarc32_arduino101/framework/src/services/ble/dtm_tcmd.c
     system/libarc32_arduino101/framework/src/services/ble/gap.c
     system/libarc32_arduino101/framework/src/services/ble/gatt.c
     system/libarc32_arduino101/framework/src/services/ble/hci_core.h
     system/libarc32_arduino101/framework/src/services/ble/l2cap.c
     system/libarc32_arduino101/framework/src/services/ble/l2cap_internal.h
     system/libarc32_arduino101/framework/src/services/ble/smp.h
     system/libarc32_arduino101/framework/src/services/ble/smp_null.c
     system/libarc32_arduino101/framework/src/services/ble/uuid.c
     system/libarc32_arduino101/framework/src/services/ble_service/ble_service.c
     system/libarc32_arduino101/framework/src/services/ble_service/ble_service_api.c
     system/libarc32_arduino101/framework/src/services/ble_service/ble_service_int.h
     system/libarc32_arduino101/framework/src/services/ble_service/ble_service_internal.h
     system/libarc32_arduino101/framework/src/services/ble_service/ble_service_utils.c
     system/libarc32_arduino101/framework/src/services/ble_service/gap_internal.h
     system/libarc32_arduino101/framework/src/services/ble_service/gatt_internal.h
     system/libarc32_arduino101/framework/src/services/ble_service/nble_driver.c
    sgbihu committed Aug 31, 2016
    Configuration menu
    Copy the full SHA
    2ccef69 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2016

  1. Jira Tickets and Bug fix

    1. Jira 541 Peripheral Start fails on X Number of Attributes
        -Change the interface and add return value
    
    2. Fix BLE Peripheral is not advertising
        -Add a delay after register the profile.
    
    3. Modify some comments based on code review
    
    4. Jira 544 BLE peripheral disconnect and end functions
        -The state not aligned and make disconnect failed. Update when connect and disconnect event received
    
    5. Delete the duplicated code that base class has implemented
    
    6. Fix Jira 665 BLECentral Preview -- compile issue when instantiating BLE descriptor
        -Fix the build error.
        Note:
          i  . The current code only support one descriptor on characteristic.
          ii . The central discover logic need more twist.
          iii. Now is so long and can't process CCCD and another characteristic.
          iv . The library will support one other descriptor except CCCD.
    
    7. Improve the discover logic and support another descriptor
        i.  Improve the discover logic
        ii. Support another the descriptor and CCCD at same time.
    
    8. Modify the comments and delete the unused API
    
    9. Fix Jira 670 A compile error occurs with two BLE methods with the same name
        i.  Add method uuid_cstr in BLEAttribute class.
        ii. Remove the duplicate file.
    
    10. Fix Jira 672 BLE documentation in code needs to specify units
        i.   Change the scan and connection interval's unit to ms.
        ii.  Unify the advertising interval unit as millisecond
        iii. Delete some unused code.
    
    11. Fix Jria 671 Support update connection interval in central/peripheral
         i. Central can update the connection interval.
         ii. Unify the interval unit to ms at user API.
    
    12. Adjust the example comments and functions
         i.  Fix Jira 675 - BLE callbacks should use passed arguments instead of global variables
         ii. Adjust the code struture to align with Arduino's requirement
    
    13. Fix Jira 680 LED and LED Central sketches need some work
         -Add a delay to make sure profile register process success.
         -The UART send too fast may makes the profile registration failed.
    
    14. Fix Jira 673 BLE Api should pass arguments that are typedef
    
    15. Fix Jira 671 Support update connection interval in central/peripheral
         i. Add peripheral update the connection interval feature.
         ii. Update the library.
    
    16. Fix Jira  687 Edit the keyword.txt of CurieBLE to reflect Library changes
    
    17. Make example function ready. But need to resolve Jira 675
    
    18. Fix Jira 676 Review Edit Update BLE User Manual with China Flex
    
    19. Fix Jira 685 BLE Peripheral sketches shall state which associated Central sketch to use
    
    20. Fix Jira 588 - BLE Corrupted Long Write
         i. Modify the BLECharacteristic to implement the Long write feature.
    
    21. Fix Jira 683 Typecasting and Pointers should be avoided in sketch
         i.   Add write in Characteristic template
         ii.  Add method in BLE Role class to avoid typecaste
         iii. Modify the advertise address parameter and related example sketches
    
    22. Fix Jira 704 Type Characteristic should be documented
    23. Fix Jira 684 Documentation about the central/peripheral
    sgbihu committed Sep 9, 2016
    Configuration menu
    Copy the full SHA
    acfec8d View commit details
    Browse the repository at this point in the history
  2. Create BLE Example sketches

    1. Fix Jira 664 demonstrates changing the ADV data
    2. Fix Jira 671 Support update connection interval in central/peripheral
    sgbihu committed Sep 9, 2016
    Configuration menu
    Copy the full SHA
    727e42a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0be139d View commit details
    Browse the repository at this point in the history
  4. Rebuilt libarc32drv

    calvinatintel committed Sep 9, 2016
    Configuration menu
    Copy the full SHA
    1beffde View commit details
    Browse the repository at this point in the history
  5. Update expected BLE version for V3

    Signed-off-by: Brian Baltz <brian.a.baltz@intel.com>
    Brian Baltz committed Sep 9, 2016
    Configuration menu
    Copy the full SHA
    99b4c9d View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2016

  1. JIRA-685, Peripheral sketches shall state associated Central sketch.

    unknown authored and unknown committed Sep 12, 2016
    Configuration menu
    Copy the full SHA
    5203f82 View commit details
    Browse the repository at this point in the history
  2. stdlib_noniso.cpp: fix dtostrf() handling of integral portion

    Checking only for > 10 here (rather than >= 10) means that numbers with a
    leading '10' in the integral portion generate incorrect strings.
    eriknyquist authored and sys_maker committed Sep 12, 2016
    Configuration menu
    Copy the full SHA
    e76e953 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2016

  1. Fix for USB virtual serial port in sketches of CurieI2S library

    Since Arduino/Genuino 101 uses USB native port, wait for the Serial port
    to open before executing the next lines of code to not lose serial data
    already sent to the Serial monitor
    
    Signed-off-by: Biagio Montaruli <biagio.hkr@gmail.com>
    biagiom authored and sys_maker committed Sep 15, 2016
    Configuration menu
    Copy the full SHA
    1f0a5be View commit details
    Browse the repository at this point in the history
  2. Fix for USB virtual serial port in sketches of CurieIMU library

    Since Arduino/Genuino 101 uses USB native port, wait for the Serial port
    to open before executing the sketch to not lose serial data already sent
    to the Serial monitor
    
    Signed-off-by: Biagio Montaruli <biagio.hkr@gmail.com>
    biagiom authored and sys_maker committed Sep 15, 2016
    Configuration menu
    Copy the full SHA
    f15a9e7 View commit details
    Browse the repository at this point in the history
  3. Make String::move of an invalidated String result in an invalidated S…

    …tring
    sandeepmistry authored and sys_maker committed Sep 15, 2016
    Configuration menu
    Copy the full SHA
    d062557 View commit details
    Browse the repository at this point in the history
  4. WString: add toDouble (#293)

    sandeepmistry authored and eriknyquist committed Sep 15, 2016
    Configuration menu
    Copy the full SHA
    e7f97b0 View commit details
    Browse the repository at this point in the history
Loading