Moved Chip Threshold Measurement to Firmware

Completely untested, will need to generate RPC calls, will have to use
only with corresponding dtb_expert