Create NFC tag for AE enrollment

Anyone with a good link/guide on how to create a NFC tag that can be used for enrolling devices to android enterprise.

I a bought a NFC reader/writer: https://www.shopnfc.com/en/nfc-readers-writers/214-acr1281u-c2-nfc-uid-reader.html

and severla different NFC tags from 1k to 4K of data but no mather what i do i dont manage to write to them so that they work on the welcome wizard screen

6 years ago
Android
ANSWERS
MD
Matt Dermody Diamond Contributor
6 years ago

I've only ever successfully used NFC enrollment using the MobiControl Stage Programmer application which relies on a bump method of sorts between two devices. Have you identified what information is transmitted during that bump process? Maybe you could use that to figure out how to encode your tag. 

MI
Mikael, IDNET
6 years ago

I've only ever successfully used NFC enrollment using the MobiControl Stage Programmer application which relies on a bump method of sorts between two devices. Have you identified what information is transmitted during that bump process? Maybe you could use that to figure out how to encode your tag. 

I have now actually managed to create a NFC tag to be used for enrollment. The NFC reader I had coulden read the device i tested stage programmer on (witch i used before to do NFC bump with) but i managed to pull the information from the QR code stage programmer is creating and using a "data" with header "application/com.android.managedprovisioning"

my first try faild when entering wifi but after changing the order of how the rows was entered I now have a working NFC tag whre i can chnage wifi details and enrollment info for different customers.

the information dont fit on a classic 1k tag but i used a NTAG216

MD
Matt Dermody Diamond Contributor
6 years ago

That's awesome! Well done. 

AR
Adam Roberts
6 years ago

I’ve copied a working full script below as an example:

android.app.extra.PROVISIONING_LOCAL_TIME=1565250671868

android.app.extra.PROVISIONING_TIME_ZONE=Europe/London

android.app.extra.PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED=true

android.app.extra.PROVISIONING_WIFI_SECURITY_TYPE=WPA

android.app.extra.PROVISIONING_WIFI_PASSWORD=wifipassword

android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION=http\://soti.net/apk/ae2

android.app.extra.PROVISIONING_WIFI_SSID="wifiSSID"

android.app.extra.PROVISIONING_LOCALE=en_GB

android.app.extra.PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM=hn8mSNJMPcovWbnnWrb-uMpWZjNlNp-jyV_2A-Whumc\=

android.app.extra.PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME=net.soti.mobicontrol.androidwork/net.soti.mobicontrol.admin.DeviceAdminAdapter

android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE=enrollmentId\=ABCDEF12

I've written our NFC enrollment script to a NTAG216 NFC tag as data, with the content type as application/com.android.managedprovisioning