Fixed compression code assignment bug. Added stub for bluetooth discovery service.