Skip to content

0.7.0

Compare
Choose a tag to compare
@hathach hathach released this 22 Aug 07:13
· 2180 commits to master since this release

Core

  • Added printf with float format aka %f
  • Added Servo library port
  • Added Firmata library with BLEUART (AKA Nordic UART Service) support
    • New example via BLEUART at Peripheral\StandardFirmataBLE
  • Enhanced Adafruit_FIFO: added overwriteIfFull(), begin(). Changed constructor signature.
  • Added Serial.setPins() to remap Serial RX and TX pin location. Must call before Serial.begin()!
  • Added SoftwareSerial support

Bluefruit

  • Renamed Bluefruit.peerAddr() to Bluefruit.getPeerAddr()
  • Added connection handle to the connect and disconnect callback prototypes
  • Change signature of Bluefruit.getName()
  • Add printInfo() for configuration summary
  • Change Bond Data layout to include paired Device Name. CCCD setting is also saved to the same file --> one file for each bond.

BLEGap

  • Added getAddr() and setAddr()

BLE Service

  • Added BLEClientUart& reference pointer to BLEClientUart RX callback
  • Added new BLEClientCtsclass for client side Current Time Service
  • Added bufferTXD() to BLEUart service to handle consecutive small write()calls
  • Added EddyStoneUrl support
    • New example Peripheral\eddystone_url
  • New hid example demonstrate how to implement an keyboard Peripheral\hid_keyscan

BLEAdvertising

  • Separated BLEAdvertisingData and BLEAdvertising
  • Added setStopCallback() support to declare a callback when advertising stops
  • Added the option to advertise for a specific time period. There are multiple
    timeouts: initial fast advertising mode, slow advertising mode, and an optional
    delay to stop advertising entirely. Values can be set in multiples of timeout
    ticks (0.625ms per unit) or in ms (approximate since it gets converted to 0.625ms
    units). The optional timeout to stop advertising entire is set via the
    .start(timeout) parameter.
  • Blue LED will blink 2x faster in fast mode compared to slow mode.
  • Default advertising timeout in slow mode = 30 seconds. Default adv interval in
    fast mode = 20 ms, slow mode = 152.5 ms
  • Expanded addUuid(), addService() to take a list of UUID
  • Added new example advance_adv

BLEGAP (To support multiple connections, etc.)

  • Added getRole() to distinguish between peripheral/central

BLECentral

  • Move scanner & report parser into new BLEScanner class
  • New example showing how to scan for multiple peripherals with a specific
    advertising signature (examples/Projects/rssi_proximity).
  • Added a new Dual Roles example DualRoles\dual_bleuart