Friday, 25 January 2008
The NXT has bluetooth for communication with other devices such as other NXTs and mobile phones.With a phone currently we mainly use a phone to control the robot, but what if we want to control the phone with the NXT??
Well first we need to know the AT command ( This only works with Sony Ericsson as far as I know ). Then we read the extension for the type of command we are giving and follow that after AT with a plus. e.g. AT+CKPD means a command which will control a button on the keypad.
I will only show you the AT+CKPD command as I will bore you otherwise.
AT+CKPD
Is that it? No, we need to tell the phone which button to press so we need to do sort of an equation; AT+CKPD="???" we need the speech marks to tell the phone that that is a single command.
Here are a few examples;
AT+CKPD=":C" = Camera
AT+CKPD="*" = Hash key
AT+CKPD="8" = 8
There is a free download which requires you to type the letters in the picture with all the AT commands at :
http://developer.sonyericsson.com/getDocument.do?docId=65054
Here are many examples to go between the speech marks.
# 35 Hash (number sign)
* 42 Star (*)
0... 9 Number keys
<> Right arrow
C/c Clear display (C/CLR)
D/d Volume down
L/l Phone lock (LOCK)
P/p Power (PWR)
U/u Volume up
V/v Down arrow
[ Soft key 1
] Soft key 2
^ Up arrow
:G Go music button.
:J Joystick button pressed
:C Camera button
:O Operator button.
:R Return button
:M video call
:F camera focus (camera key half press)
:( flip closed
:) flip opened
:{ camera lens cover closed
:} camera lens cover opened
:[ Jack knife closed
:] Jack knife closed
:D multi task button (shortcut to desktop)
:L flash lamp button
:P "Push to talk" button
:S media player button
:= fire (gamepad)
:<> down right (gamepad
:1 Game A (gamepad)
:2 Game B (gamepad)
:3 Game C (gamepad)
:4 Game D (gamepad)
:A Game Internal A.
:B Game Internal B.
:\ Slide closed.
:/ Slide opened.
:X Jog Dial up.
:Y Jog Dial down.
:Z Jog Dial press.
--
NXTMonger