FFI Wrapper to talk to native AltBeacon and iBeacon codes.