expose timeout constants Ref: https://github.com/esp8266/Arduino/pull/8216#issuecomment-950805208 add ~~host~~ device test Ref: https://github.com/esp8266/Arduino/pull/8216#issuecomment-955778706