Add osn_e sample code.