How to test the Omi Dev Kit 2
Command | Action |
---|---|
0 | Read specified file |
1 | Clear all bytes in specified file |
2 | Clear ALL files in directory |
3 | Stop transmission of specified file |
Code | Meaning |
---|---|
0 | Command successful - means the command was successfully carried out. |
100 | End of read transmission - This is the last byte that gets sent at the end of a read transmission. Use this to determine the end of a file transmission. |
200 | Delete process finished |
3 | Invalid file size. This gets returned if you request a file that does not exist. Note that file 0 never exists, the files always start at 1. |
4 | File size is 0 |
6 | Invalid command. The command sent is not one of the commands listed above |
discover_devices.py
get_info_list.py
get_audio_file.py
my_file.txt
in current directorydecode_audio.py
delete_audio_file.py
Connection | Light | Action |
---|---|---|
No Bluetooth | 🔴 Red | Writing to SD card. If you do not have a bluetooth connection, then the device will start reading to the sdcard. In this case the light should be red. |
Bluetooth | 🔵 Blue | Stops writing to SD card. When you connect to the app and the app connects your bluetooth device, the light should turn blue and writes to the sdcard should stop. |
If you are also connected to the internet then a green banner appears when you first connect that states how much time it will take to download all your files. You should be presented with this screen….. Note that this can also be a test to see if the sdcard is writing properly. Green banner == good to go | ![]() |
---|---|
Click the green banner to go to the sd card screen. If you dont catch the banner in time then you can go to Settings-> device settings-> storage, where you will be presented with the same screen (shown below) | ![]() |
If you have a version 1 device, then NO green banner denoting storage should pop up, ever. Attempting to click the Sd Card import button in device settings with a v1 device should result in this screen: | ![]() |
d. This is what the screen should look like when you either click the green banner or click the sd card import button with a v2 device (ignore the sound bar) For a new file, the percentage should be 0.0%, with a nonzero, positive time in the line “about xx seconds remaining.” | ![]() |
E. If you press the button, the bar should start filling up. After a bit the bar should look like this: | ![]() |