Can not ADB into airunit

I can not ADB into airunit. I power it on, plug into computer, and type adb shell and I get the following error

atlas:~$ adb shell
error: device offline

I solved this by adding this rule

SUBSYSTEM=="usb", ATTRS{idVendor}=="2717", ATTRS{idProduct}=="ff28", MODE="0660", GROUP="plugdev", SYMLINK+="herelink%n"

to the file sudo vim /etc/udev/rules.d/51-android.rules