code: def get_properties(self, packet, bt_addr):
          
          if is_one_of(packet, [EddystoneTLMFrame, EddystoneURLFrame, \
                                EddystoneEncryptedTLMFrame, EddystoneEIDFrame]):
              # here we retrieve the namespace and instance which corresponds to the
              # eddystone beacon with this bt address
              return self.properties_from_mapping(bt_addr)
          else:
              return packet.properties
docs: Get properties of beacon depending on type.