I am working on the project which involves receiving data by XBee module as coordinator from 3rd party device as end device. Specification ZigBee 2006 is used. Encryption is enabled on the APS layer only.
How can I configure XBee module to enforce using only APS layer encryption (not NWK)?
That would be dependent upon where the encryption is being done. If it is being done outside of the radios in your application, then yes you would still receive it. Otherwise you may not.
What is the proper configuration for this purpose? How can I enable only APS layer encryption without NWK layer encryption?
Because I tried to use EE = 0x01, EO = 0x08 and KY = “some key” and transmitted packets become encrypted on both layers.
Sorry that would be an option bit of 20 instead of 0x80. Just understand that you will most likely still have some sort of network level encryption as well.