• Sorry for the confusion! I want to advertise this object in order to comply to the standard:

    0x180D: { // heart_rate
       0x2A37: { // heart_rate_measurement
          value : [0x06, 0],
       }
    }
    
  • I want to advertise this object in order to comply to the standard:

    which standard? GATT Heart Rate Service documented here
    https://www.bluetooth.com/specifications­/specs/heart-rate-profile-1-0/
    is different from just advertising the data. Just went briefly through HRP_V10.pdf and don't see that you should advertise it "to comply to the standard"

    You are mixing two relatively unrelated BLE features. Advertising is GAP. Services/characteristics is GATT. GATT works over connections, advertising does not.

About

Avatar for fanoush @fanoush started