added setdset function for greenpacket CPE