payload encoded on 19 bytes as a consequence the required memory for storing the payload required for one year operation on average twice a day of zigbee on off light switch can be reduced to 35040 bytes instead of 48180 bytes with conventional zigbee frames the pointer value for the 730 encrypted payloads can be stored on 10 bits of memory 12 in another advantageous embodiment of a method according to the invention the zigbee end device 1 stores only a unique part of the frame counter value per encrypted payload whereas the common part is just stored once and appended when the packet is constructed for sending this allows for further reducing the amount of memory required in the example above only 730 encrypted payloads need to be stored for one year of operation at an average frequency of 2 times a day all numbers up to 730 can be binary encoded on just 10 bits instead of 32 bits thus in total saving additional over 2000 bytes in another advantageous embodiment of a method according to the invention the device 1 is a zigbee batteryless device and the device 2 is zigbee batteryless proxy device communicating using the wireless protocol specification as defined by the batteryless zigbee feature in.