The embedded software for a bluetooth key-finder device