1. 20 2月, 2023 1 次提交
    • T
      Fix for negative temp in Eddystone TLM; solving #7618 (#7791) · b8ea455f
      Tomáš Pilný 提交于
      * Changed data type of temperature
      
      * Changed data type in EddystoneTLM class and example
      
      * Revert "Changed data type in EddystoneTLM class and example"
      
      This reverts commit 1f3a9414ee13341f80bd6d51cdbd57254aadfe97.
      
      * Draft of Eddystone TLM example
      
      * Adds MACROs to convert beacon temperature 
      
      2 Macros
      EDDYSTONE_TEMP_U16_TO_FLOAT(tempU16)  - takes the TLM BigEndian 8.8 fixed point representation and returns its float value 
      EDDYSTONE_TEMP_FLOAT_TO_U16(tempFloat)  - takes a float (temperature) and returns its BigEndian 8.8 fixed point representation
      
      * Fixed temp
      
      * Changed to conform with PR comments
      
      * Fixed comment on closing bracket
      
      * Prints negative TEMP big endian as just 2 bytes
      
      * Extacts correct Eddyston Service Data
      
      * Fixes BLEEddystoneTLM::toString() negative temp
      
      * Fixes URL field length
      
      * Fixes Eddystone URL decoding
      
      * Fixes MSB for iBeacon UUID
      
      iBeacons use big endian BLE fields.
      
      * Fix to detect iBeacon that also has Service UUID
      
      This fix makes the BLE_iBeacon.ino to work correctly with the BLE_Beacon_Scanner.ino example
      
      ---------
      Co-authored-by: NRodrigo Garcia <rodrigo.garcia@espressif.com>
      b8ea455f
  2. 12 4月, 2019 1 次提交
    • M
      Set ESP-IDF to 3.2 (#2662) · 7b5cd47d
      Me No Dev 提交于
      * Set IDF to v3.2
      
      * Remove BLE submodule
      
      * Add BLE lib source
      
      * Update Camera example to support OV3660
      7b5cd47d