
23
UBC-220 User Manual
Chapter 2
H
/W Installation
#3glink
Send AT commands...
#send (AT^M)
send (ATDT*99#^M)
expect (CONNECT)
AT^M^M
OK^M
ATDT*99#^M^M
CONNECT
-- got it
………
The command used to test WIFI module is as follows, the supported module P/N is
EWM-W142F01E.
#ifconfig wlan0 up
#iwlist wlan0 scanning
#wpa_passphrase “Wifi name” password > /tmp/wpa.conf
#wpa_supplicant -BDwext -iwlan0 -c/tmp/wpa.conf
#dhclient wlan0
2.5.6
LED Test
This test is to light up/turn off the configurable LED(LED2). These codes can be
taken as the reference code for a SW AP.
cd /sys/class/gpio/
echo 1 > export
cd /sys/class/gpio/gpio1
LED on
echo 0 > value
LED off
echo 1 > value
2.5.7
OpenGL Test
Please follow below instructions to test OpenGL on UBC-220 platform:
1.
Change path to /opt/viv_samples/vdk
#cd /opt/viv_samples/vdk
#ls tutorial*
tutorial1 tutorial2_es20 tutorial4
tutorial5_es20
tutorial1_es20 tutorial3 tutorial4_es20 tutorial6
tutorial2 tutorial3_es20 tutorial5 tutorial7
2.
Run tutorial7 for OpenGL ES 1.1
Using Vertex Buffer Objects (VBO) can substantially increase performance by reduc-
ing the bandwidth required to transmit geometry data. Information such vertex, nor-
mal vector, color, and so on is sent once to locate device video memory and then
bound and used as needed, rather than being read from system memory every time.
This example illustrates how to create and use vertex buffer objects.
#./tutorial7
Summary of Contents for UBC-220
Page 6: ...UBC 220 User Manual vi...
Page 12: ...UBC 220 User Manual 4...
Page 36: ...UBC 220 User Manual 28...
Page 52: ...UBC 220 User Manual 44...