ios - Uniquely identify MFI Licensed accessory using EAAccessory -


i have mfi licensed accessory, connecting using eaaccessory manager. not able uniquely identify accessory.

eaaccessory class provides connectionid per documentation.

the connection id accessory persists duration of current connection. if accessory disconnected , reconnected, new connection id assigned.

apple website link documentation

i want can persist , use make decision (in case multiple devices of same type connected).

something if last time connection successful, use device or try other device. read somewhere hardware should provide info in property serialnumber

but not possible currently, on other platforms using mac address uniquely identify. apple doesn't expose mac address per official documentation. , don't want risk app getting rejected using

nsstring *macaddress = [accessory valueforkey:@"macaddress"];

which has been suggested in many stackoverflow questions.

please correct me if assumption of app getting rejected wrong.

device classic bluetooth device.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -