Hi rmax, Yes, we do have a Unique ID for each individual sensor that is not documented in the datasheet. It is retrieved from 4 reserved registers. Below is a snippet for the BME680 based on our sensor API. You can try the same for the BME280 if you already have a few to verify with. #define BME680_REG_UNIQUE_ID UINT8_C(0x83)
uint8_t uid_regs[4];
bme680_get_regs(BME680_REG_UNIQUE_ID, uid_regs, 4, dev);
uint32_t unique_id = ((((uint32_t)uid_regs[3] + ((uint32_t)uid_regs[2] << 8)) & 0x7fff) << 16) +
(((uint32_t)uid_regs[1]) << 8) + (uint32_t)uid_regs[0];
... View more