You can find them almost anywhere for cheap. Here is one on Amazon. It reads codes and clears them.
https://www.amazon.com/dp/B0725Q6X7B..._9cP2CbPQCQ3F7
__________________
2017 BMW M240i xDrive - Mission Performance Stage 2 and transmission flash, CSF Intercooler, VRSF 4.5" downpipe, Dinan midpipe, BMW M Performance muffler, Agency Power Cold Air Intake. 11.58 @ 116MPH