Skip to content

is-qian/omi2_evt

Repository files navigation

OMI EVT test commands

This document describes the commands that can be used to test the OMI EVT board.

Initialization

This project uses Zephyr as the OS and nRF Connect SDK for BLE support.Before using the commands below, make sure you have vscode and nRF Connect SDK installed. You can follow the nRF Connect SDK Getting Started guide to install it.

Commands

BLE

Command Description
ble on Turn ON BLE and advertising as OMI shell
ble off Turn OFF BLE

Charger

Command Description
charger get Get battery voltage

Flash

Command Description
flash id Read flash chip JEDEC ID
flash erase $ADDR Erase flash page for the given $ADDR
flash read $ADDR $N Read $N bytes from address $ADDR
flash write $ADDR $VAL Write $VAL (hex encoded, e.g. aabbccdd) to $ADDR

Sensors

Command Description
imu get Obtain IMU readings (acc/gyro)

Microphone

Command Description
mic capture [sec] Capture microphone data for the given number of seconds (default: 1)

LED

Command Description
led on $num Turn ON LED (0-3)
led off $num Turn OFF LED (0-3)

Button

Command Description
button check Check button state

Motor

Command Description
motor on Turn ON motor
motor off Turn OFF motor

sdcard

Command Description
sdcard mount Mount SD card filesystem
sdcard unmount Unmount SD card filesystem
sdcard ls $path List files in $path on the SD card
sdcard read $path Read from file at $path
sdcard write $path $data Write to file at $path with data $data

System off

Command Description
System off Turn OFF the device

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors