* [CustomDevice] add custom device api * update * update * test=document_fix * update * update * add examples