Closed esp32x closed 6 years ago
Can you check the return value of owb_verify_rom()
? What does it return? The code should probably check this value to ensure no error occurred.
It returns 0.
If I change the serial_number it also returns 0.
@esp32x thanks for reporting this. I think I've fixed the problem in the esp32-owb component where only the first detected device was being considered for a known device. Please test with your set-up.
https://github.com/DavidAntliff/esp32-owb/commit/bc69da51bfa766d8023e82cd214ac61349960095
It works :+1:
Find devices:
0 : 6b000006d86d7428
1 : 35000006d8c37e28
2 : 45000006d6767528
3 : b4000006d6e70b28
Found 4 devices
Device A (35000006d8c37e28) is present
Device B (b4000006d6e70b28) is present
Temperature readings (degrees C): sample 1
0: 25.6 0 errors
1: 25.6 0 errors
2: 25.4 0 errors
3: 25.5 0 errors
Great, thank you for testing it out.
In this case the device with index 1 is listed and readable but not present.