Hardware and electronic assembly